aboutsummaryrefslogtreecommitdiffstats
path: root/.config/SuperCollider
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-12-14 14:01:35 +0100
committerDavid Runge <dave@sleepmap.de>2017-12-14 14:01:35 +0100
commit8e87673f70e04a1c7283bb05a4356f344d1972a3 (patch)
tree35c3399f000dc93387a3e4ed6863da55f938f46c /.config/SuperCollider
parenta1f653c7bee4ed4c63e7e4090233684711f2d6d7 (diff)
downloaddotfiles-8e87673f70e04a1c7283bb05a4356f344d1972a3.tar.gz
dotfiles-8e87673f70e04a1c7283bb05a4356f344d1972a3.tar.bz2
dotfiles-8e87673f70e04a1c7283bb05a4356f344d1972a3.tar.xz
dotfiles-8e87673f70e04a1c7283bb05a4356f344d1972a3.zip
.config/SuperCollider/startup.scd: Automatically initializing and connecting MIDI devices.
Diffstat (limited to '.config/SuperCollider')
-rw-r--r--.config/SuperCollider/startup.scd4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/SuperCollider/startup.scd b/.config/SuperCollider/startup.scd
index 4d51dbf..9d905a2 100644
--- a/.config/SuperCollider/startup.scd
+++ b/.config/SuperCollider/startup.scd
@@ -16,4 +16,8 @@ if(("aplay -l |grep 'Scarlett 18i20' > /dev/null".systemCmd) == 0, {
});
postln("Loaded settings for: "++Server.local.options.device);
+postln("Initializing and connecting MIDI devices.");
+MIDIClient.init;
+MIDIIn.connectAll;
+
//TODO: load all quarks from ~/git/audio automatically, don't use symlinks