Crazy question

For general discussion related FlowStone
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Crazy question

Post by BobF »

Hello gang,

If I wanted to control the gain of a amp (normal 0 to 1) via midi note data, how would I go about it. For example say you played middle C, make that put out a value of .5 to the amp and so on. This is just an example, NOT saying I would always want middle C to put out .5, but would rally like it to be adjustable across the keyboard. Hope this makes sense.

That's it! Thanks, BobF.....
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Post by RJHollins »

Maybe look at the VCA primitive.
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Crazy question

Post by BobF »

Hi RJ,

Thanks for the feedback, but I have tried that and it does NOT work.

Do you have a working example?

Later then, BobF.....
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Post by RJHollins »

This is one idea I used for a project.
VCA control.jpg
VCA control.jpg (61.9 KiB) Viewed 26390 times


Here's the example schematic:
VCA control.fsm
(121.55 KiB) Downloaded 1087 times
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Crazy question

Post by BobF »

Hi again RJHOLLINS,

Thank is exactly what I used. Can you show me where and how the midi data controls this!

Thanks once again, BobF.....
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Post by RJHollins »

Hi BobF,

I'm not exactly sure what you need to do ... my guess ...

You want to use MIDI data to set an audio volume. If so ...

Audio data into the knob [if you want to use it], is scaled from 0-1

MIDI data is 0-127

There are some 'scaling' modules that will correlate one range of values to a different range. That is, values from 0-127 will be re-scaled into 0-1 values.

These scalers might be on the FS forum. I know we found them on the old SM forum.

If this is what you want to do ... If you need the 'scalers', let me know and I can post here for you.

This assumes I understand your question :roll:
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Crazy question

Post by adamszabo »

I think Bob wants what is called Keyboard Tracking or Key Tracking or Key Follower. Have a search with those keywords and you will find lots of info :D
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Crazy question

Post by BobF »

Hi once again RJHOLLINS,

Yes you are correct, scaling is what I believe I need. If you have something, sure I would like to see it.

Really appreciate your help here.

----------------------------------------------------------------

Hi adamszabo,

THANKS ALSO, I will do a search.

Later then, BobF.....
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Post by RJHollins »

Hi BoBF

Here are a few 'scaling' modules from my toolbox. These are User contributions that I collected.

8-)
Scaling [various].fsm
(24.27 KiB) Downloaded 1066 times
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Crazy question

Post by BobF »

Thanks RJHOLLINS,

I will look at these soon.

Tare care, BobF.....
Post Reply