[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Score issue (FAILURE s_new SynthDef not found)
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: [sc-users] Score issue (FAILURE s_new SynthDef not found)
- From: e deleflie <edeleflie@xxxxxxxxx>
- Date: Wed, 4 Mar 2009 15:25:55 +1100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=KtcG2evx1icDKVTaoYdWufmrxRT9G4cOOzkMBbl+tA4=; b=CpINkJTHIc+HNuNsvR4bXqKy3KBCPUt/uaKo54pykwpc3ghikBolB9mSBrMXJvIU8A of2uly63UNhGwZJWbgk0+KLpMs8IrDTjFs1rjtOQpM+l2EPrqTWD5yBZgP5nrzHOPIKO Cc+OoywM/1lRaB2VSLwUwbu3H4weSM1403sP8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=VvjVwPJA+mZMPC1KJ6X+SQfHJjwlsDmNsFL/EQ2+WiFMkABwuF9If0/lvE7dRpI2YB HE3Xz5XWeLzTwKVuS6ZieOkFspWu0JSK/8e9qiTxl0d7KXR3bSk/zv+QsfQnctvwFoQ2 UloAohpTPf68u+0NDjGA6xalFfDfqtwu/rBOc=
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
All,
I've read other posts about 'FAILURE s_new SynthDef not found' but
cant seem to crack the nut. The first part of the below code works,
the second part (using Score) does not. Cant work out why
Supercollider thinks that the synthDef does not exist ... (its
definitely there according to SynthDescLib.global.read;
SynthDescLib.global.browse;)
I'm on 3.3alpha on OSX.
// this works fine
s.sendSynthDef(\ambisonic_grain);
s.sendMsg(\s_new, \ambisonic_grain, s.nextNodeID, 1, 1,\w, w, \x, x,
\y, y, \z, z,\triggerEvery, 4, \lengthToTriggerFactor, 12,
\randomPositionSpread, 24, \randomDurationSpread, 0 );
// this doesn't work
(
var f, g;
TempoClock.default.tempo = 1;
g = [
[0.0, [ \s_new, \ambisonic_grain, s.nextNodeID, 1, 1, \w, w, \x, x,
\y, y, \z, z,\triggerEvery, 4, \lengthToTriggerFactor, 12,
\randomPositionSpread, 24, \randomDurationSpread, 0]],
[2.0, [\c_set, 0, 0]] // finish
];
f = File("score-test","w");
f.write(g.asCompileString);
f.close;
)
h = Score.newFromFile("score-test");
h.play(s);
Etienne
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/