Playing Synthdefs causes an Error
Status: Alpha
Brought to you by:
dkleinrath
When creating and playing a Synthdef an error is thrown (confirmed on Ubuntu Gusty).
SynthDef(\test2, {Out.ar(0, SinOsc.ar(440,0,1))}).load(s);
a=Synth(\test2);
results in:
Synth("test2" : 1000)
FAILURE Command not found
It seems that this error is thrown in the following method:
// file SC_CoreAudio.cpp:
int PerformOSCMessage(World *inWorld, int inSize, char *inData, ReplyAddress *inReply)
{
[...]
if (!cmdObj) {
CallSendFailureCommand(inWorld, inData, "Command not found", inReply);
scprintf("FAILURE %s Command not found\n", inData);
return kSCErr_NoSuchCommand;
}
}