From 510d32100f523a901d960013c50d481bf63d21df Mon Sep 17 00:00:00 2001 From: Richard Knight Date: Fri, 30 Dec 2022 20:43:17 +0000 Subject: fix permissions on reading and mempsname --- examples/rawread.csd | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 examples/rawread.csd (limited to 'examples/rawread.csd') diff --git a/examples/rawread.csd b/examples/rawread.csd new file mode 100644 index 0000000..005a558 --- /dev/null +++ b/examples/rawread.csd @@ -0,0 +1,35 @@ + + +-odac + + +sr = 44100 +kr = 4410 +nchnls = 2 +0dbfs = 1 +seed 0 + + +instr 1 + a1 rawread "/usr/bin/zip" + a1 *= 0.1 + outs a1, a1 +endin + +instr 2 + aL, aR rawread "/usr/bin/zip", 1 + outs aL*0.1, aR*0.1 +endin + +instr 3 + ifn rawreadtable "/usr/bin/zip" + a1 loscil 0.1, 1, ifn, 1 + + outs a1, a1 +endin + + + +i3 0 60 + + -- cgit v1.2.3