Page 1 of 1

Monitoring Amplitude/Gain/Volume Stream from Plugin~ object

Posted: Mon Jul 02, 2012 12:16 am
by MarkvW
I'm trying to figure out how to read volume values coming out of a plugin~ object.

I've found live.gain, but that object seems to register values even when my microphone is disconnected from my audio device (and the numbers are negative).

The levelmeter~ object's needle doesn't move, but it also outputs only negative numbers, even if the microphone is disconnected from the audio device.

All I want to do is stream values so that I can trigger an action when the volume goes from silent (or near silent) upward or goes back down to silent (or near silent).

I am a total noob. Any help would be appreciated.

Re: Monitoring Amplitude/Gain/Volume Stream from Plugin~ object

Posted: Mon Jul 02, 2012 6:49 am
by madlab
number~?

Re: Monitoring Amplitude/Gain/Volume Stream from Plugin~ object

Posted: Tue Jul 03, 2012 3:50 am
by MarkvW
madlab wrote:number~?
Thanks! What's the difference between number~ and peakamp~?

Re: Monitoring Amplitude/Gain/Volume Stream from Plugin~ object

Posted: Tue Jul 03, 2012 7:46 am
by pid
very little. but use peakamp~ not number~ - do not use UI objects for these tasks.

however, if you want to do this effectively you need a proper envelope follower made up of a few of these tools. there is an excellent one included with the max for live examples that you could open up and learn from.

Re: Monitoring Amplitude/Gain/Volume Stream from Plugin~ object

Posted: Tue Jul 17, 2012 5:27 pm
by MarkvW
pid wrote:very little. but use peakamp~ not number~ - do not use UI objects for these tasks.

however, if you want to do this effectively you need a proper envelope follower made up of a few of these tools. there is an excellent one included with the max for live examples that you could open up and learn from.
I got my device to work. Now for the envelope follower and the fader to make it work the way I want to.

Thanks!