Skip to content

Instantly share code, notes, and snippets.

@trickidicki
Created August 9, 2014 07:30
Show Gist options
  • Save trickidicki/4b0e0fe0a78fd6890fb8 to your computer and use it in GitHub Desktop.
Save trickidicki/4b0e0fe0a78fd6890fb8 to your computer and use it in GitHub Desktop.
Is this the right way to use midiFreq?
// An ascending sinOsc glissando using a line ugen.
var synth = flock.synth({
synthDef: {
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.xLine",
rate: "control",
duration: 1.0,
start: flock.midiFreq('a'),
end: flock.midiFreq('d')
},
mul: 0.25
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment