View gist:7a4ffe994765fc195d95
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
/** | |
* Just intonation MIDI keyboard with SuperCollider | |
*/ | |
MIDIIn.connect; | |
s.boot; | |
( | |
SynthDef("umbSimpleFM",{ | |
arg freq=440, gate=1, amp=1, pan=0; |
View gist:973d2aa16e95bf329ee2
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
/** | |
* A simple example of MIDI Keyboard for SuperCollider 3.6.x | |
*/ | |
MIDIIn.connect; | |
s.boot; | |
( | |
SynthDef("umbSinewave",{ | |
arg freq=440, gate=1, amp=1, pan=0; |
View gist:5475886
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
////////// SynthDef setup for "ANTARES" ////////// | |
( | |
// Pad1 | |
SynthDef("up-piano-24", { | |
arg freq=440, amp=1, outBus=0; | |
var x, e, mod, lfo; | |
e = Env.perc(0.01,1.2,1,-3); | |
x = SinOsc.ar(freq + SinOsc.ar(freq*3, 0, 200), 0, 1) * amp; | |
x = EnvGen.kr(e,1.0,doneAction: 2) * x; |