summaryrefslogtreecommitdiff
path: root/examples/flooper2.csd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/flooper2.csd')
-rw-r--r--[-rwxr-xr-x]examples/flooper2.csd30
1 files changed, 15 insertions, 15 deletions
diff --git a/examples/flooper2.csd b/examples/flooper2.csd
index ac94723..50d148d 100755..100644
--- a/examples/flooper2.csd
+++ b/examples/flooper2.csd
@@ -1,32 +1,32 @@
<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
-; Audio out Audio in No messages
--odac -iadc -d ;;;RT audio I/O
+-odac ;;;realtime audio out
+;-iadc ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o flooper2.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>
-sr = 44100
-ksmps = 10
-nchnls = 1
- instr 1
-; looping back and forth, 0.05 crossfade
-aout flooper2 16000, 1, 0, 1.6, 0.05, 1, 0, 2
- out aout
+sr = 44100
+ksmps = 32
+nchnls = 2
+0dbfs = 1
- endin
+instr 1
+; looping back and forth, 0.05 crossfade
+kst line .2, p3, 2 ;vary loopstartpoint
+aout flooper2 .8, 1, 0, kst, 0.05, 1, 0, 2
+ outs aout, aout
+endin
</CsInstruments>
<CsScore>
-; Table #1: an audio file.
; Its table size is deferred,
-; and format taken from the soundfile header.
-f 1 0 0 1 "beats.wav" 0 0 0
+; and format taken from the soundfile header
+f 1 0 0 1 "fox.wav" 0 0 0
-i 1 0 6.5
+i 1 0 12
e
-
</CsScore>
</CsoundSynthesizer>