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.

Thanks!


On 22 April 2014 11:52, Claire O'Connor <oconnc26@tcd.ie> wrote:
Oh nevermind, I think I got it! Thanks :)


On 22 April 2014 11:50, Claire O'Connor <oconnc26@tcd.ie> wrote:
Hi IOhannes, thanks for replying! I'm not sure I really understand your explanation of a patch that I would use though, is there any way you could make it clearer or attach a .pd file? Sorry, I'm just not great at all this!

Thank you again!


On 22 April 2014 11:43, IOhannes m zmölnig <zmoelnig@iem.at> wrote:
On 04/22/2014 12:31 PM, Claire O'Connor wrote:
> Hey everyone,
>
> Just wondering if anyone knows how to control amplitude with 'readsf~'? I
> want to use 'line~' to ramp it down but am unsure as to how it would all
> connect up.

[*~]

multiplying an audio signal (like the output of [readsf~]) will
"amplify" the signal.
using [line~] to ramp it is very important if you care for smooth gain
changes (most people do; and many people don't know that they can use
[line~] for this - you are obviously among the blessed that do know)

a classical "gain section" in your patch would look like:

[nbx\
|
[dbtorms]
|
[pack 0 50]
|
[line~]            input signal
|                   |
[*~                 ]
|
output signal


gfmrdsa
IOhannes


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list