Skip to content

Instantly share code, notes, and snippets.

@umbrellaprocess
umbrellaprocess / gist:7a4ffe994765fc195d95
Created Aug 16, 2014
Just intonation MIDI keyboard with SuperCollider
View gist:7a4ffe994765fc195d95
/**
* Just intonation MIDI keyboard with SuperCollider
*/
MIDIIn.connect;
s.boot;
(
SynthDef("umbSimpleFM",{
arg freq=440, gate=1, amp=1, pan=0;
@umbrellaprocess
umbrellaprocess / gist:973d2aa16e95bf329ee2
Last active Sep 30, 2019
A simple example of MIDI Keyboard for SuperCollider 3.6.x
View gist:973d2aa16e95bf329ee2
/**
* 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;
@umbrellaprocess
umbrellaprocess / gist:5475886
Created Apr 28, 2013
2005年のコードを、Kyoto SuperCollider Meetingの間に修正…したかったけど途中で断念。TabletViewがエラーで動かない。
View gist:5475886
////////// 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;