Created
August 9, 2014 07:30
-
-
Save trickidicki/4b0e0fe0a78fd6890fb8 to your computer and use it in GitHub Desktop.
Is this the right way to use midiFreq?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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