diff options
Diffstat (limited to 'examples/fractalnoise.csd')
-rw-r--r-- | examples/fractalnoise.csd | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/fractalnoise.csd b/examples/fractalnoise.csd new file mode 100644 index 0000000..9a5a467 --- /dev/null +++ b/examples/fractalnoise.csd @@ -0,0 +1,29 @@ +<CsoundSynthesizer> +<CsOptions> +; Select audio/midi flags here according to platform +-odac ;;;realtime audio out +;-iadc ;;;uncomment -iadc if realtime audio input is needed too +; For Non-realtime ouput leave only the line below: +; -o oscil.wav -W ;;; for file output any platform +</CsOptions> +<CsInstruments> + +sr = 44100 +ksmps = 32 +nchnls = 2 +0dbfs = 1 + +instr 1 + +kbeta linseg 0, p3/4, 2, p3/4, 0, p3*0.1, 2, p3*0.15, 0 +seed 20120124 +aout fractalnoise 0.05, kbeta +outs aout, aout + +endin +</CsInstruments> +<CsScore> +i1 0 10 +e +</CsScore> +</CsoundSynthesizer> |