HelloAjm.JrubyMaxJMSL!

View: New views
1 Messages — Rating Filter:   Alert me  

HelloAjm.JrubyMaxJMSL!

by music.columbia.edu - jmsl mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just for fun:

import com.softsynth.jmsl.JMSL
import com.softsynth.jmsl.MusicJob


class HelloMaxJMSL < com.softsynth.jmsl.MusicJob
   def repeat(playTime)
     puts "JMSL MusicJob repeating at " + playTime.to_s
     return playTime
   end
end

def bang
   puts "Hello JMSL and Max"
   job = HelloMaxJMSL.new
   job.setRepeats(100)
   job.setRepeatPause(0.5)
   job.launch(JMSL.now)
end

Best, C

_______________________________________________
jmsl mailing list
jmsl@...
http://music.columbia.edu/mailman/listinfo/jmsl