Closed crucialfelix closed 11 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
( 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