<CsoundSynthesizer> <CsOptions> ; Select audio/midi flags here according to platform ; Audio out Audio in No messages MIDI in -odac -iadc -d ;;;RT audio I/O with MIDI in ; For Non-realtime ouput leave only the line below: ; -o pvsdiskin.wav -W ;;; for file output any platform </CsOptions> <CsInstruments> ; Initialize the global variables. sr = 44100 kr = 4410 ksmps = 10 nchnls = 1 instr 1 ; create a PVOC-EX (*.pvx) file with PVANAL first ktscale line 1, p3, .05 fsigr pvsdiskin "fox.pvx", ktscale, 1 ; read PVOCEX file with tscale and gain = 1 aout pvsynth fsigr ; resynthesise it out aout endin </CsInstruments> <CsScore> i 1 0 3 e </CsScore> </CsoundSynthesizer>