[PD] Controlling amplitude with readsf~

Colet Patrice colet.patrice at free.fr
Tue Apr 22 13:49:29 CEST 2014


fade in and out is quite easy to do with a toggle, a [pack f 1000] for 
setting the line time, and [line~] to do the ramp on the [*~]  that is 
multiplying [readfs~] signal, but for automatic fadeout there is a need 
to know the length of the sound file obviously.

Le 22/04/2014 13:33, Simon Wise a écrit :
> On 22/04/14 21:12, Claire O'Connor wrote:
>> I am still having a bit of trouble. I am using another line object to 
>> ramp
>> up the number box to fade in my .wav file but when I go to ramp it back
>> down, it jumps straight to zero. I have also tried to 'reset' the line
>> object but that involves sending a message '0' which makes the 
>> amplitude of
>> the .wav file jump down again. Any ideas as to how this issue might be
>> resolved? I have a line of .wav files that I want to fade in and fade 
>> out
>> as they each play.
>
> sending a single number [0( will jump straight to that value,
> a pair will ramp so [0 2000( goes from current value to 0 in 2 seconds
> then [1 3000( goes to 1 in 3 seconds ... play around with the help patch.
>
>
> Simon
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list