diff options
author | Felipe Sateler <fsateler@gmail.com> | 2008-03-24 16:39:11 -0300 |
---|---|---|
committer | Felipe Sateler <fsateler@gmail.com> | 2008-03-24 16:39:11 -0300 |
commit | 2af72543872544f18b7e3812cb64d9fe5886c47b (patch) | |
tree | e35d9468794be891222d3ddc05e46e2810add952 /examples/sleighbells.csd |
Imported Upstream version 5.08
Diffstat (limited to 'examples/sleighbells.csd')
-rw-r--r-- | examples/sleighbells.csd | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/sleighbells.csd b/examples/sleighbells.csd new file mode 100644 index 0000000..ef3b861 --- /dev/null +++ b/examples/sleighbells.csd @@ -0,0 +1,42 @@ +<CsoundSynthesizer> +<CsOptions> +; Select audio/midi flags here according to platform +; Audio out Audio in No messages +-odac -iadc -d ;;;RT audio I/O +; 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 + +; Instrument #1: An example of sleighbells. +instr 1 + a1 sleighbells 20000, 0.01 + + out a1 +endin + + +</CsInstruments> +<CsScore> + +i 1 0.00 0.25 +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 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> |