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
null
3 posts
• Page 1 of 1
Re: Assistance needed for ruby/mono/midi
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.
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.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 73 guests