[PD] Controlling amplitude with readsf~
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. Thanks! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Controlling amplitude with readsf~
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 signature.asc Description: OpenPGP digital signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Controlling amplitude with readsf~
Oh nevermind, I think I got it! Thanks :) On 22 April 2014 11:50, Claire O'Connor oconn...@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 zmoel...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Controlling amplitude with readsf~
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 zmoel...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Controlling amplitude with readsf~
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 oconn...@tcd.ie wrote: Oh nevermind, I think I got it! Thanks :) On 22 April 2014 11:50, Claire O'Connor oconn...@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 zmoel...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Controlling amplitude with readsf~
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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Controlling amplitude with readsf~
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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Controlling amplitude with readsf~
Hi One option, if you want an automated fade out at the end of your file would be to use two readsf~ objects loading/reading the same file but delayed by the duration of the desired fade. The first reader would send a bang when it's finished reading the file and that bang coud be used to trigger the second reader's fade out. Of course, only the second of these readers would be connected to dac~ Hope I'm making myself clear (!) David http://www.flickr.com/photos/schafferdavid/ https://soundcloud.com/schafferdavid Date: Tue, 22 Apr 2014 13:49:29 +0200 From: colet.patr...@free.fr To: pd-list@iem.at Subject: Re: [PD] Controlling amplitude with readsf~ 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@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list