[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Another NRT question....



Hi Aaron,

You can simply use Score to write the binary OSC file out for you:

Score.write(g, "help-oscFile.osc");

Then, run the command line yourself from your other program, or use something like Pipe from within SC to send the command line to render the file. Check out the Pipe helpfile for an example.

Hope that helps

Josh


On Dec 19, 2007, at 9:37 PM, Aaron McLeran wrote:

Hello!  Thanks to Josh for answering the last question I had so quickly.

So I got the Non-Real-Time stuff working pretty well now.  Got it hooked up with OSC so I can trigger NRT rendering from a different program, etc. 

However, now I need to get my NRT stuff to actually send a message when it is done rendering...  I am using:

Score.recordNRT(g, "help-oscFile.osc", "filename.aiff", options: o);

However, after looking at the implementation, it just generates a unix command and what is posted to the screen is the stdout.  However, I can't figure out how to get a "done action" from the recordNRT method.

Any ideas??

Thanks!!!

Aaron

_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users

******************************************

/* Joshua D. Parmenter

http://www.realizedsound.net/josh/


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono

*/