add template
authorEugene Petkevich <nasedil.genio.code@gmail.com>
Thu, 11 Jan 2024 02:24:51 +0000 (03:24 +0100)
committerEugene Petkevich <nasedil.genio.code@gmail.com>
Thu, 11 Jan 2024 02:24:51 +0000 (03:24 +0100)
library/serveroptions.scd
library/template.scd [new file with mode: 0644]

index 552bbd7..cc9fc3d 100644 (file)
@@ -41,11 +41,11 @@ s.recHeaderFormat = "wav";
 Platform.case(
   \osx, {
     "Macos detected".postln;
-    thisProcess.platform.recordingsDir = "/Users/genio/stock/audio/supercollider";
+    thisProcess.platform.recordingsDir = "/Users/genio/gart/audio/supercollider";
   },
   \linux,     {
     "Linux detected".postln;
-    thisProcess.platform.recordingsDir = "/home/genio/stock/audio/supercollider"
+    thisProcess.platform.recordingsDir = "/home/genio/gart/audio/supercollider"
   },
   \windows,   { "Windows detected".postln }
 );
\ No newline at end of file
diff --git a/library/template.scd b/library/template.scd
new file mode 100644 (file)
index 0000000..bb5851b
--- /dev/null
@@ -0,0 +1,8 @@
+
+// recording
+
+(
+s.recorder.filePrefix = "test";
+s.record(bus: ~mainBus);
+)
+s.stopRecording;
\ No newline at end of file