Skip to content

Instantly share code, notes, and snippets.

@yratof
Created October 19, 2018 00:59
Show Gist options
  • Select an option

  • Save yratof/f4946852c06a4a0333dcbd0e1f2edb68 to your computer and use it in GitHub Desktop.

Select an option

Save yratof/f4946852c06a4a0333dcbd0e1f2edb68 to your computer and use it in GitHub Desktop.
Worst fucking synth ever
(
s.waitForBoot({
(
s.sync;
(
SynthDef("shittySy",{
arg out=0;
Out.ar(out,
SinOsc.ar( AnalogIn.ar(4) * 100.midicps, 0, 0.1 * Decay.ar( DigitalIn.ar(0), 1) );
)
}).send(s);
);
s.sync;
Synth.new("shittySy", target: s).postln;
);
});
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment