<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 pvsftr.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>

; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

instr 1
inbins	=	512
ifn	ftgen		0,0,inbins,10,1		; make ftable

fsrc	pvsdiskin	"fox2.pvx", 1, 1	; read PVOCEX file with tscale and gain = 1
kflag	pvsftw	fsrc,ifn			; export amps to table,
kamp	init	0
if      kflag==0   kgoto contin			; only proc when frame is ready
							; kill lowest bins, for obvious effect
	tablew	kamp,1,ifn
	tablew	kamp,2,ifn
	tablew	kamp,3,ifn
	tablew	kamp,4,ifn
; read modified data back to fsrc
	pvsftr	fsrc,ifn
contin:
; and resynth
aout	pvsynth	fsrc
	out	aout

endin

</CsInstruments>
<CsScore>

i 1 0 3
e

</CsScore>
</CsoundSynthesizer>
