[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] guitar synth controlled by midi
gee thanks Andrew, this really sounds great with deck the halls
playing through it.
A few minor things. When using this synth the postln; intermittently
prints out a long sequence of numbers? Also any idea why the following
code would 139 the Server.local
(
x = Synth("guitar");
// action;
MIDIIn.noteOn = {arg src,chan,note,vel;
x.set(\freq,note.midicps);
x.set(\amp, (vel/127).sqrt);
};
MIDIIn.noteOff = { arg src,chan,num,vel;
x.set(\amp, 0.0);
};
);
and with your example how can I free the system resources
// cleanup
x.free;
_______________________________________________
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/