diff options
author | Felipe Sateler <fsateler@debian.org> | 2014-01-24 13:54:37 -0300 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2014-01-24 13:54:37 -0300 |
commit | bcf06a42deb371baf3deb9f4addb474b08273120 (patch) | |
tree | 4a8c3fb811dd164d4486628d8eff6043ebe8a6c3 /examples/multitap.csd | |
parent | 3a91171181113761a14bcc36a086a8dda144b77b (diff) |
Imported Upstream version 6.02~dfsg
Diffstat (limited to 'examples/multitap.csd')
-rw-r--r--[-rwxr-xr-x] | examples/multitap.csd | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/examples/multitap.csd b/examples/multitap.csd index 8a30baf..e58d380 100755..100644 --- a/examples/multitap.csd +++ b/examples/multitap.csd @@ -1,41 +1,41 @@ <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 multitap.wav -W ;;; for file output any platform -<CsOptions> </CsOptions> <CsInstruments> sr = 44100 -kr = 4410 -ksmps = 10 -nchnls = 1 +ksmps = 32 +nchnls = 2 +0dbfs = 1 ga1 init 0 instr 1 -a1 oscil 10000, 1000, 1 - out a1 + +asig diskin2 "beats.wav", 1,0 + outs asig, asig -ga1 = ga1+a1 +ga1 = ga1+asig endin instr 2 -a2 multitap ga1, 1.2, .5, 1.4, .2 - out a2 + +asig multitap ga1, 1.2, .5, 1.4, .2 + outs asig, asig -ga1 = 0 +ga1 = 0 endin </CsInstruments> <CsScore> -; make sinusoid in table 1 -f 1 0 4096 10 1 -i 1 .5 .1 -i 2 0 3 +i 1 .5 .2 ; short sound +i 2 0 3 ; echoes e </CsScore> </CsoundSynthesizer> |