aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2014-07-11 22:26:34 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2014-07-11 22:26:34 +0200
commite18b08dff47e80a62eebd40fb6f77b3ede9c1022 (patch)
tree4720ac32446c0596ece63cb5587da303009150db
parent8cbbb32353eb537087b4f45b2bc3c70647fda096 (diff)
downloadchimaera_sc-e18b08dff47e80a62eebd40fb6f77b3ede9c1022.zip
chimaera_sc-e18b08dff47e80a62eebd40fb6f77b3ede9c1022.tar.gz
chimaera_sc-e18b08dff47e80a62eebd40fb6f77b3ede9c1022.tar.bz2
chimaera_sc-e18b08dff47e80a62eebd40fb6f77b3ede9c1022.tar.xz
add minimal synth to be used with tjost
-rwxr-xr-xignore/osc_to_scsynth2F.sc43
1 files changed, 43 insertions, 0 deletions
diff --git a/ignore/osc_to_scsynth2F.sc b/ignore/osc_to_scsynth2F.sc
new file mode 100755
index 0000000..cccfe91
--- /dev/null
+++ b/ignore/osc_to_scsynth2F.sc
@@ -0,0 +1,43 @@
+#!/usr/bin/env sclang
+
+/*
+ * Copyright (c) 2013 Hanspeter Portner (dev@open-music-kontrollers.ch)
+ *
+ * This software is provided 'as-is', without any express or implied
+ * warranty. In no event will the authors be held liable for any damages
+ * arising from the use of this software.
+ *
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ *
+ * 1. The origin of this software must not be misrepresented; you must not
+ * claim that you wrote the original software. If you use this software
+ * in a product, an acknowledgment in the product documentation would be
+ * appreciated but is not required.
+ *
+ * 2. Altered source versions must be plainly marked as such, and must not be
+ * misrepresented as being the original software.
+ *
+ * 3. This notice may not be removed or altered from any source
+ * distribution.
+ */
+
+//Server.supernova;
+s.options.blockSize = 0x10;
+s.options.memSize = 0x10000;
+s.latency = nil;
+s.boot;
+
+s.doWhenBooted({
+ var hostname, tx, chimconf, rate, sidOffset, gidOffset;
+
+ gidOffset = 100;
+ sidOffset = 200;
+
+ s.sendMsg('/g_new', 0+gidOffset, \addToHead.asInt, 0);
+ s.sendMsg('/g_new', 1+gidOffset, \addToHead.asInt, 0);
+ s.sync;
+
+ "./instruments2F.sc".load.value(96);
+})