Crazy question

For general discussion related FlowStone
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Crazy question

Post by kortezzzz »

Hi Bob,

Did you mean something like this? I'v used ruby hashes to easily generate the amp voltage :)
Attachments
(midi notes to amp example).fsm
(24.84 KiB) Downloaded 948 times
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Post by RJHollins »

Nice kortezzzz !
8-)
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Crazy question

Post by BobF »

Hello kortezzzz,

This is perfect! Think you very much for going through the trouble to create this.
It is just what I was looking for. Now the fun part begins, implementing it into my project.

Again much appreciated!

Later then, BobF.....
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Crazy question

Post by adamszabo »

I think this is more like he wanted: press and hold the lowest keyboard note with your mouse and drag it up the scale, and you can see the knob moving up accordingly.
Attachments
keyboard tracking.fsm
(150.25 KiB) Downloaded 922 times
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Post by RJHollins »

kortezzzz wrote:Hi Bob,

Did you mean something like this? I'v used ruby hashes to easily generate the amp voltage :)

Hi kortezzzz ...

I'm trying to better understand some of the detail in this ruby hash section.

Would you explain this :

36 => 1,
37 => 2,
38 => 3,

particularly the => sign. I see them as EQUAL TO or GREATER THAN. But then, its confusing as to why you would do it that way.

Again ... I'm still a RUBY-NUBEE ... and HASHES are still mysterious.

Thanks for any additional insights you may share. 8-)
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Crazy question

Post by kortezzzz »

Hey guys,

Happy to see you satisfied :)

@RJHollins,

Silly me, I've completely forgot to credit Trog for this lovely piece of ruby code he wrote for me few years a go, so thank you Trog, wherever you are! 8-)

I don't literally understand this ruby code as well, since I'm probably the worst coder you'll ever ask :oops:
Bob's question has just reminded me about this and I've used it straight from my toolbox, as is (only changed the easy part of equation parameters so they would fit the request).

Maybe one of the gurus would shed some light?
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Post by RJHollins »

I thought I was 'probably the worst coder' :shock:
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Crazy question

Post by BobF »

Hi all,

Not to diminish kortezzzz's device any but the "keyboard tracker" by adamszabo looks even better. Thanks for sharing (adamszabo / trog).
Thanks everyone who contributed here. It's really great to get feedback from you all. I put up so many fsm's and ask for comments and never get even one on most of them.

Take care guys!
See ya next time around, BobF.....
Post Reply