Re: Assistance needed for ruby/mono/midi
Posted:
Tue Sep 10, 2019 11:22 am
by tulamide
I'm afraid you didn't think this through.
Blue operates at sample rate. Ruby at 100 Hz.
For Ruby to be able to recognize one single sample out of 44100 per second, it would need to access a buffer. Unfortunately, Ruby can only access the audio out buffer (called "frames" in Ruby), which of course contains everything, not just that one trigger sample.
Any other method will lose information (like the triggered mono to float prim, etc) and therefore might not catch the trigger sample.