diff options
Diffstat (limited to 'examples/exp.csd')
-rw-r--r-- | examples/exp.csd | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/exp.csd b/examples/exp.csd new file mode 100644 index 0000000..13d3655 --- /dev/null +++ b/examples/exp.csd @@ -0,0 +1,33 @@ +<CsoundSynthesizer> +<CsOptions> +; Select audio/midi flags here according to platform +; Audio out Audio in +-odac -iadc ;;;RT audio I/O +; For Non-realtime ouput leave only the line below: +; -o exp.wav -W ;;; for file output any platform +</CsOptions> +<CsInstruments> + +; Initialize the global variables. +sr = 44100 +kr = 4410 +ksmps = 10 +nchnls = 1 + +; Instrument #1. +instr 1 + i1 = exp(8) + print i1 +endin + + +</CsInstruments> +<CsScore> + +; Play Instrument #1 for one second. +i 1 0 1 +e + + +</CsScore> +</CsoundSynthesizer> |