<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 limit.wav -W ;;; for file output any platform </CsOptions> <CsInstruments> ; Initialize the global variables. sr = 44100 kr = 4410 ksmps = 10 nchnls = 1 ; Instrument #1, uncompressed signal. instr 1 ; Use the "beats.wav" audio file. asig diskin2 "beats.wav", 1, 0, 1 out asig endin ; Instrument #2, compressed signal. instr 2 ; Use the "beats.wav" audio file and a mic avoice in asig diskin2 "beats.wav", 1, 0, 1 klow line 0 , p3, 10000 khigh = 10000 ares limit asig, klow, khigh out ares endin </CsInstruments> <CsScore> ; Play Instrument #1 for 2 seconds. i 1 0 5 ; Play Instrument #2 for 2 seconds. i 2 6 11 e </CsScore> </CsoundSynthesizer>