Hi Josh, Do you mean the SynthDef:load as defined within the Supernova code? ..... I cant find it.
There's a copy of the Supercollider source code within Supernova ... but I dont know if this contains modified SuperCollider code... Etienne On Tue, Aug 31, 2010 at 1:30 PM, Josh Parmenter <[email protected]> wrote: > Not sure how Tim has this set up, but in regular SC there is a sendMsg to an > instance of Server, not to the Server class itself (which this error points > to). > > Can you post the class definition of SynthDef:load ? Should look something > like: > > load { arg server, completionMsg, dir(synthDefDir); > server = server ? Server.default; > if(metadata.trueAt(\shouldNotSend)) { > this.loadReconstructed(server, completionMsg); > } { > // should remember what dir synthDef was written to > dir = dir ? synthDefDir; > this.writeDefFile(dir); > server.sendMsg("/d_load", dir ++ name ++ ".scsyndef", > completionMsg) > }; > } > > Best, > > Josh > > On Aug 30, 2010, at 8:12 PM, e deleflie wrote: > >> Hi there, >> >> I'm having trouble loading up my synths into Supernova. I havn't quite >> understood the relationship between SuperNova and SuperCollider ... do >> I need to re-load all of my SynthDefs again? >> >> Anyway, when I try to do a SynthDef(....).load(Server.local) I get: >> >> Server >> ERROR: Message 'sendMsg' not understood. >> RECEIVER: >> class Server (1458D6E0) { >> instance variables [19] >> name : Symbol 'Server' >> nextclass : class ServerBoot (0x142c71b0) >> superclass : Symbol 'Model' >> subclasses : instance of Array (0x146179a0, size=1, set=1) >> methods : instance of Array (0x145c4980, size=133, set=8) >> instVarNames : instance of SymbolArray (0x1458dbd0, size=45, set=5) >> classVarNames : instance of SymbolArray (0x1458df30, size=7, set=2) >> iprototype : instance of Array (0x1458dd00, size=45, set=6) >> cprototype : instance of Array (0x1458df80, size=7, set=3) >> constNames : nil >> constValues : nil >> instanceFormat : Integer 0 >> instanceFlags : Integer 0 >> classIndex : Integer 5 >> classFlags : Integer 0 >> maxSubclassIndex : Integer 6 >> filenameSymbol : Symbol >> '/Applications/SuperCollider3/common/build/SCClassLibrary/Common/Control/Server.sc' >> charPos : Integer 3512 >> classVarIndex : Integer 325 >> } >> >> Etienne >> _______________________________________________ >> nova-dev mailing list >> [email protected] >> http://klingt.org/cgi-bin/mailman/listinfo/nova-dev >> http://tim.klingt.org/nova > > ****************************************** > /* 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 > */ > > _______________________________________________ nova-dev mailing list [email protected] http://klingt.org/cgi-bin/mailman/listinfo/nova-dev http://tim.klingt.org/nova
