3 ms·
I think Mirah (previously named Duby) really has some potential. For the curious, I mixed JRuby + Duby to create (realtime) audio processing (VST) plugins. ht
by thibaut_barrere 16y ago
I think Mirah (previously named Duby) really has some potential.
For the curious, I mixed JRuby + Duby to create (realtime) audio processing (VST) plugins.
https://github.com/thbar/opaz-plugdk/blob/master/plugins/DubyFreeComp/DubyFreeComp.rb https://github.com/thbar/opaz-plugdk/blob/master/plugins/Dub...
https://github.com/thbar/opaz-plugdk/blob/master/plugins/DubyFreeComp/DubyFreeCompTools.duby https://github.com/thbar/opaz-plugdk/blob/master/plugins/Dub...
In this example JRuby provides the "declarativeness" and ease of use of Ruby, while Duby makes the "heavy computation".
Duby in this case is just as fast as Java used on floats (it's actually translated into Java).
Of course, to get to write VST plugins with this, you already have a C++ <=> Java wrapper (jVSTWrapper), then a Java <=> JRuby wrapper I wrote.
https://github.com/thbar/opaz-plugdk/blob/master/src/JRubyVSTPluginProxy.java https://github.com/thbar/opaz-plugdk/blob/master/src/JRubyVS...