|
|
|
|
ioverlap, inumbins, pvsinfo fsig iwinsize, iformat
Get format information about an fsig stream or PVOC-EX file.
ioverlap – the stream overlap size
inumbins – the number of analysis bins (amplitude + frequency) in fsig. The underlying FFT size is calculated as (inumbins - 1) * 2.
iwinsize – the analysis window size. May be larger than the FFT size.
iformat – the analysis frame format. If fsig is created by an opcode, iformat will always be 0, signifying amplitude + frequency. If fsig is defined from a PVOC-EX file, iformat may also have the value 1 or 2 (amplitude + phase, complex). See iformat under pvsanal.
fsig – input fsig stream to read
pvsinfo outputs format information about fsig. fsig may be created by a streaming pvoc opcode such as pvsanal, or obtained from a PVOC-EX file by pvsfread. This information is available at initialization time, and can be used to set parameters for other streaming pvoc opcodes. pvsread is especially useful for creating function tables, such as for pvsftw, or setting the number of oscillators for pvsadsyn.
fin pvsfread "test.pvx" ; import pvocex file iovl, inb, iws, ifmt pvsinfo fin ; get inumbins info ifn ftgen 0, 0, inb, 10, 1 ; and create ftable
Richard Dobson
Somerset, England
August, 2001
New in Csound 4.14
|
|
|
|