Welcome to %s forums

BrainModular Users Forum

Login Register

Controlling the volume of the MixerOut module using OSC

I need help on a Patch
Post Reply
ahonoe
Member
Posts: 161
Location: Toronto
Contact:

Unread post by ahonoe » 22 Jan 2013, 23:26

Hi All,

I'm trying to set the volume level of the MixerOut module via Lemur for iPad (OSC). Lemur outputs values between 0 and 1 however this does not properly control the volume level of the MixerOut object. I gather the Lemur values need to be scaled using some kind of function. Can anyone point me in the direction of how to do this?

Thanks and regards,

Scott
Regards,

Scott

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 22 Jan 2013, 23:45

there is 3 sub-patches in modules/data/data manipulation that can help you
for example, if the lemur sends 0 to 1 values use the Change scale( in 0..1 ) and set the min and max out of this sub-patch to -90 and 12

ahonoe
Member
Posts: 161
Location: Toronto
Contact:

Unread post by ahonoe » 23 Jan 2013, 01:24

Thanks Nay. I'll give this a try.

I tried the Coeff2db module and it seemed to work ok. I did need to adjust my the upper range of the Lemur output from 1 to 3.98. Is there any problem doing it this way?

Regards,

Scott
Regards,

Scott

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 23 Jan 2013, 07:59

no, you're right, it's a good solution too.
As often, there's several solution possible and i didn't know you can change the range on your side ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 58 guests