Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Crazy question

For general discussion related FlowStone

Re: Crazy question

Postby kortezzzz » Mon Aug 01, 2016 3:40 pm

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 888 times
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Crazy question

Postby RJHollins » Mon Aug 01, 2016 5:24 pm

Nice kortezzzz !
8-)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Postby BobF » Mon Aug 01, 2016 7:10 pm

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.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Crazy question

Postby adamszabo » Mon Aug 01, 2016 10:25 pm

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 861 times
adamszabo
 
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Crazy question

Postby RJHollins » Tue Aug 02, 2016 7:34 am

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-)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Postby kortezzzz » Tue Aug 02, 2016 3:54 pm

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?
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Crazy question

Postby RJHollins » Tue Aug 02, 2016 6:09 pm

I thought I was 'probably the worst coder' :shock:
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Crazy question

Postby BobF » Tue Aug 02, 2016 6:53 pm

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.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 76 guests