Article: using JRuby/Java to prototype VST plugins

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi,

I just wrote an article explaining how I use JRuby to prototype VST effects and instruments (we came up with some kind of framework on top of jVSTwRapper):

http://blog.logeek.fr/2009/11/17/how-to ... y-and-java

Here's a starter (again!):

Code: Select all

class RubyGain < OpazPlug
  plugin "RubyGain", "Opaz", "LoGeek" 
  can_do "1in1out", "plugAsChannelInsert", "plugAsSend" 
  unique_id "RGaN" 

  param :gain, "Gain", 1.0, "dB" 

  def process(inputs, outputs, sampleFrames)
    inBuffer, outBuffer = inputs[0], outputs[0]
    for i in (0..sampleFrames-1)
      outBuffer[i] = inBuffer[i] * gain
    end
  end
end
(please comment on the blog, easier for me to track things there - and hope you'll like it!)

Thibaut
--
http://www.learnivore.com

Post

Interesting, thanks for taking the time to document your experiments - I was thinking along similiar lines but using groovy.
Cheers
Dave

Post

Very nice article

I believe that pretty much the same can be achieved with Jython (aka Java python)

jvstwarapper is certainly amazing.

Post Reply

Return to “DSP and Plugin Development”