Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: modulo
name
code content
// Modulo // ukiyo-neko systems // // un modulador simple, tiene tres perillas, la frecuencia base, la frecuencia de modulacion y la apmlitud de modulacion.. ( SynthDef(\modulo,{arg carrfreq=440, modfreq=1, moddepth=0.01; //make sure there are control arguments to affect! Out.ar(0, SinOsc.ar(carrfreq + (moddepth*SinOsc.ar(modfreq)),0,0.25)!2) }).add; ) s.scope; ( var w, carrfreqslider, modfreqslider, moddepthslider, synth; w=Window("frequency modulation", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); a = Synth(\modulo); carrfreqslider= EZSlider(w, 300@50, "carrfreq", ControlSpec(20, 1500, 'linear', 10, 440), {|ez| a.set(\carrfreq, ez.value)}); w.view.decorator.nextLine; modfreqslider= EZSlider(w, 300@50, "modfreq", ControlSpec(1, 2000, 'linear', 1, 1), {|ez| a.set(\modfreq, ez.value)}); w.view.decorator.nextLine; moddepthslider= EZSlider(w, 300@50, "moddepth", ControlSpec(0.01, 5000, 'linear', 0.01, 0.01), {|ez| a.set(\moddepth, ez.value)}); w.front; )
code description
use markdown for formating
category tags
comma separated, i.g. "wild, siren" (do not enter default SC class names, please)
ancestor(s)
comma separated identificators, i.g. "1-C,1-1,1-4M,1-x"
Private?
the code will be accessible by direct url and not visible in public activity
signup to submit public code without captcha
comment of change