From e174c759182e11f85e221eff8684088eebd563a4 Mon Sep 17 00:00:00 2001
From: Richard <q@1bpm.net>
Date: Sun, 9 Mar 2025 22:33:07 +0000
Subject: initial

---
 examples/example2.csd | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 examples/example2.csd

(limited to 'examples/example2.csd')

diff --git a/examples/example2.csd b/examples/example2.csd
new file mode 100644
index 0000000..0d1314e
--- /dev/null
+++ b/examples/example2.csd
@@ -0,0 +1,37 @@
+<CsoundSynthesizer>
+<CsOptions>
+-odac
+</CsOptions>
+<CsInstruments>
+sr = 44100
+ksmps =	64
+nchnls = 2
+0dbfs = 1
+
+gifnhello = -1
+gishout init -1
+
+instr oscil
+	a1 = oscil(0.9, abs:k(oscil:k(220, 1)) + 220)
+	shoutsend gishout, a1, a1
+	schedule "hello", p3, 5
+endin
+
+instr hello
+	a1 loscil 1, 1, gifnhello, 1
+	shoutsend gishout, a1, a1
+	schedule "oscil", p3, 5
+endin
+
+instr run
+	gishout shoutopen "10.0.0.1", 8000, "", "stream_my_butt", "/csound.mp3"
+	gifnhello ftts "hello from sea sound", 440
+	schedule "hello", 0, 5
+endin
+
+</CsInstruments>
+<CsScore>
+i"run" 0 36000
+</CsScore>
+</CsoundSynthesizer>
+
-- 
cgit v1.2.3