Send out frequency and amplitude via OSC?
Michael-Jon Mizra
Info

Hi folks! Does anyone know about getting frequencies and amplitudes send out of SC via OSC? My test code: ( SynthDef(\cello, { arg out=1,amp = 0.4,ampVal,freq=220,hasFreq,high=4000,low=40,gate=1; var osc1,osc2,lfo,env,sig; osc1 = SinOsc.ar(freq); osc2 = Saw.ar(freq); lfo = 0.1SinOsc.kr(7.5); sig = (osc1+osc2)0.2; env = EnvGen.ar(Env.asr(0.06, 1, 0.3), gate, doneAction: 2); sig = (sigenv)!2; #freq,hasFreq = Pitch.kr(sig,high,low,high); freq.poll; ampVal = Amplitude.ar(sig); ampVal...

Connections