Menu

#2 Playing Synthdefs causes an Error

open
nobody
Linux (1)
9
2008-10-26
2008-10-26
No

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;
}
}

Discussion


Log in to post a comment.

MongoDB Logo MongoDB