Ruby MIDI note on/off?<solved>

For general discussion related FlowStone
Post Reply
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Ruby MIDI note on/off?<solved>

Post by nix »

Hey,
I got my hands just a little bit dirty with Ruby just now.
I was wondering if anyone could help me getting this to work->
MIDI_OI.png
MIDI_OI.png (33.96 KiB) Viewed 17974 times

I have re-upped the working one below
It's just a simple note on/off
All success

I got this to work.
Here it is->
MIDI_OI_Ruby.fsm
(431 Bytes) Downloaded 1122 times
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Ruby MIDI note on/off?<solved>

Post by billv »

nix wrote:hands just a little bit dirty with Ruby

Great to hear Nix. We can learn this Ruby beast together.
Maybe your next step could be to try output the counter tick from ruby at the same time,
so you can ditch the "Split" module. Create another output as well and output the 128/144 numbers as well.
Just a thought. :)
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Ruby MIDI note on/off?<solved>

Post by nix »

Thanks for the idea of where to go with this.
My application is having an internal stream sequencer in my synth.
The problem I have is when I change wavetables the sound cuts out,
like I have a stray clear audio in there somewhere.
I thought maybe in Ruby as MIDI source,
it would keep the poly stream open, but no dice hey.
I'll keep trying.
And yeah, much thanks for building the host on play with Ruby.
You taught me how to declare the notes.
Hmm, I hope you find the MIDI satisfying,
the GUI stuff is cool,
but MIDI and stream sampling are what I'm finding coolest.
We'll soon be controlling everything with this hehe
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Ruby MIDI note on/off?<solved>

Post by billv »

nix wrote:I got this to work.

I've been using it a lot.Works great.
Cheers mate.
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Ruby MIDI note on/off?<solved>

Post by nix »

Welcome 8D!
It gave me a little thrill when it started working,
using ==
instead of =
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Ruby MIDI note on/off?<solved>

Post by billv »

nix wrote:using ==

Yeh, I learn't that from your post.
Try this mate
http://www.tutorialspoint.com/ruby/ruby_overview.htm
Post Reply