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/sleighbells.csd | |
parent | 3a91171181113761a14bcc36a086a8dda144b77b (diff) |
Imported Upstream version 6.02~dfsg
Diffstat (limited to 'examples/sleighbells.csd')
-rw-r--r-- | examples/sleighbells.csd | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/examples/sleighbells.csd b/examples/sleighbells.csd index ef3b861..9546850 100644 --- a/examples/sleighbells.csd +++ b/examples/sleighbells.csd @@ -1,42 +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 sleighbells.wav -W ;;; for file output any platform </CsOptions> <CsInstruments> -sr = 22050 -kr = 2205 -ksmps = 10 -nchnls = 1 +sr = 44100 +ksmps = 32 +nchnls = 2 +0dbfs = 1 -; Instrument #1: An example of sleighbells. -instr 1 - a1 sleighbells 20000, 0.01 - out a1 -endin +instr 1 +idamp = p4 +asig sleighbells .7, 0.01, 32, idamp + outs asig, asig +endin </CsInstruments> <CsScore> -i 1 0.00 0.25 +i 1 0.00 0.25 0 ;short sound i 1 0.30 0.25 i 1 0.60 0.25 i 1 0.90 0.25 i 1 1.20 0.25 -i 1 1.50 0.25 -i 1 1.80 0.25 +i 1 1.50 1 .3 ;longer sound +i 1 1.80 0.25 0 ;short sound again i 1 2.10 0.25 i 1 2.40 0.25 i 1 2.70 0.25 i 1 3.00 0.25 e - </CsScore> </CsoundSynthesizer> |