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

RUBY MIDI fun

For general discussion related FlowStone

RUBY MIDI fun

Postby primate » Thu Mar 19, 2015 1:11 pm

HI
So I finally decided that I should take ruby by the horns, dive in and try and figure out how to do things that i take for granted in green, with an especial emphasis on MIDI.

Here are some of my misadventures in ruby / midi / nrpn over the course of a couple of days. The more interesting components are;

*Notes playing and chord playing identifier. will identify fifths, majors and minors, would be easy to expand with more definitions
*a basic midi clock that outputs sysex start stop and clock data.
*ruby midi splitters using a couple of different methods to access the data
*ruby midi nrpn knobs with data presets for msb and lsb
*autochord, will turn any note into the root of a major or minor chord in ruby

There are a few other bits and bobs. none of these things are groundbreaking (very n00by ruby), most of these things are bastardised versions of things that generous forum regulars have shared.

ruby curios and monstrosities.fsm
(190.57 KiB) Downloaded 1278 times


if anyone has any suggestions about how to improve these ideas, questions about how they work or would like to have a go at working on some midi oriented ruby fun then let me know. (I'd especially like to work on the MIDI clock with someone, to add ppq to ramps etc..)

despite at first being overwhelmed by the apparent complexity of ruby, I'm staring to appreciate its simplicity a bit now, doing things in a few lines that would be taxing in green. I'm sure that the code that I've come up with could be simplified a lot, but it has been quite satisfying to make some progress. :D
primate
 
Posts: 22
Joined: Thu Dec 19, 2013 10:42 pm

Return to General

Who is online

Users browsing this forum: Google [Bot] and 46 guests