diff options
author | Richard <q@1bpm.net> | 2025-03-20 00:52:10 +0000 |
---|---|---|
committer | Richard <q@1bpm.net> | 2025-03-20 00:52:10 +0000 |
commit | 1e265f0f65a453b670e07c8ac04ca46e1f6871c8 (patch) | |
tree | e52b34a5a58b46163c1de2862bd275f47fae153d /examples/example.csd | |
parent | 0b65c17a4a94b71f8e3c628fa5721c5aa154dae0 (diff) | |
download | csound-shout-1e265f0f65a453b670e07c8ac04ca46e1f6871c8.tar.gz csound-shout-1e265f0f65a453b670e07c8ac04ca46e1f6871c8.tar.bz2 csound-shout-1e265f0f65a453b670e07c8ac04ca46e1f6871c8.zip |
updated example
Diffstat (limited to 'examples/example.csd')
-rw-r--r-- | examples/example.csd | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/example.csd b/examples/example.csd index eebcf51..f2c179b 100644 --- a/examples/example.csd +++ b/examples/example.csd @@ -3,26 +3,26 @@ -odac </CsOptions> <CsInstruments> -sr = 48000 -ksmps = 64 +sr = 44100 +ksmps = 128 nchnls = 2 0dbfs = 1 instr run - ishout shoutinit "10.0.0.1", 8000, "", "stream_my_butt", "/csound.mp3" + ishout shoutinit "shoutcast.server.net", 8000, "username", "password", "/csound.mp3" shoutseturl ishout, "https://csound.1bpm.net" shoutsetgenre ishout, "Csound music" shoutsetdescription ishout, "Live streaming from within Csound" shoutsetname ishout, "Csound stream" shoutopen ishout - shoutsetmeta ishout, "song", "Random" + shoutsetmeta ishout, "song", "A Csound sound" a1 = oscil(0.9, abs:k(oscil:k(220, 1)) + 220) shoutsend ishout, a1, a1 endin </CsInstruments> <CsScore> -i"run" 0 60 +i"run" 0 240 </CsScore> </CsoundSynthesizer> |