crucialfelix / crucial-library

SuperCollider music programming library.
17 stars 4 forks source link

Instr asSynthDef name calculation bug #3

Closed crucialfelix closed 11 years ago

crucialfelix commented 12 years ago

( Instr(\Pulse,{ arg freq=440.0,width=0.5,mul=0.1; Pulse.ar( freq, width, mul ) });

)

Patch( \Pulse, [ 200, 0.2, 0.1 ]).play; // play correctly at 200Hz

Patch( \Pulse, [ 700, 0.2, 0.1 ]).play; // play again at 200Hz ??

// re-execute Instr block

Patch( \Pulse, [ 700, 0.2, 0.1 ]).play; // now play correctly at 700Hz

Both have the same name, should be different:

SynthDef:Pulse#J

SynthDef:Pulse#J