[PD] Writing -dB or VU level to a TXT File

Pall Thayer palli at pallit.lhi.is
Sat Apr 4 01:13:23 CEST 2009


Have you tried [write C:/tmp/textfile.txt] ?

I haven't run PD on Windows in years, so I'm not sure and have no way  
of testing.

On 3.4.2009, at 23:05, Benalt, Adam D (NBC Universal, MSNBC) wrote:

> Yeah, that's what I thought at first.
> But, when I try to enter a back-slash '\' I get an error in the print
> window that says "keycode 92: dropped"
> Also the help file shows the slashed the way I wrote them, I just  
> copied
> what was in there.
>
> Thanks again.
>
>
> Adam D. Benalt
> Production Technology Director
> 212-664-1142 desk
> 646-306-4751 blackberry
>  MSNBC
>
> -----Original Message-----
> From: Pall Thayer [mailto:palli at pallit.lhi.is]
> Sent: Friday, April 03, 2009 7:02 PM
> To: Benalt, Adam D (NBC Universal, MSNBC)
> Cc: pd-list at iem.at
> Subject: Re: [PD] Writing -dB or VU level to a TXT File
>
> I would think that on Windows you have to do something like [write C:
> \tmp\textfile.txt] but I'm not positive. Anyway, the problem I see is
> the path to the file. /tmp/textfile.txt means nothing to Windows.
>
> best r.
> Pall
>
> On 3.4.2009, at 22:54, Benalt, Adam D (NBC Universal, MSNBC) wrote:
>
>> Thanks Pall --
>> I appreciate your responses.
>>
>> Yes, I am on windows.
>> And, yes, I am trying to get PD to do this.
>> So far it looks like the right tool for the job, but I just  
>> downloaded
>
>> it today on the advice of a friend.
>> Together we've cobbled together the attached .pd file.
>> If you start the Metro (clicking the [1]) the atom number box  
>> gives me
>
>> the level from the line input (in this case a microphone.) But I  
>> can't
>
>> get the write to txt box to hook up properly, or to write to a file.
>>
>>
>> Adam D. Benalt
>> Production Technology Director
>> 212-664-1142 desk
>> 646-306-4751 blackberry
>>  MSNBC
>>
>> -----Original Message-----
>> From: Pall Thayer [mailto:palli at pallit.lhi.is]
>> Sent: Friday, April 03, 2009 6:49 PM
>> To: Benalt, Adam D (NBC Universal, MSNBC)
>> Cc: pd-list at iem.at
>> Subject: Re: [PD] Writing -dB or VU level to a TXT File
>>
>> Oh, I just noticed you're on Windows and uh... as far as I can tell
>> you're not even talking about PD.
>>
>>
>> On 3.4.2009, at 19:52, Benalt, Adam D (NBC Universal, MSNBC) wrote:
>>
>>> Hey All --
>>> I'd appreciate any advice that you could offer on this.
>>>
>>> Ultimately, what I'd want to do is just access the Line-In audio  
>>> data
>
>>> (I'm assuming it's somewhere in the Windows API?) and then write  
>>> that
>
>>> data (maybe constantly updated to a TXT file?) so I can access the
>>> TXT
>>
>>> file from another program.
>>>
>>> Basically, how to get numerical data (writing into a txt file)
>>> representing the levels on a sound card?
>>>
>>> Please e-mail responses to:  adam.benalt at msnbc.com
>>>
>>> Adam D. Benalt
>>> Production Technology Director
>>> 212-664-1142 desk
>>> <att3a7c4.PNG>
>>>
>>>  <att3a7c4.PNG>_______________________________________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>>> listinfo/pd-list
>>
>>
>>
>>
>> --
>> Pall Thayer
>> palli at pallit.lhi.is
>> http://www.this.is/pallit
>>
>>
>>
>> <METER TEST2.pd>
>
>
>
>
> --
> Pall Thayer
> palli at pallit.lhi.is
> http://www.this.is/pallit
>
>
>




--
Pall Thayer
palli at pallit.lhi.is
http://www.this.is/pallit







More information about the Pd-list mailing list