Csound Csound-dev Csound-tekno Search About

pvanal

Date2007-08-27 18:21
From"Michael P. Mossey"
Subjectpvanal
I'm using pvanal to analyze a piano note. My hope is to roughly 
reproduce it with a small set of simplified envelopes.

So I need to study the pvanal output and write a python script to make 
the simplified envelopes. I used pvlook and got a large text file. I 
requested 100 frames. So I got a text file with 513 "bins", each of 
which has 100 freq/amp pairs. I have some questions.

I understand a bit about FFT, but I guess I don't understand SFFT. When 
does each bin have a variety of different frequencies? In FFT each bin 
is centered on a single frequency.

To make a simplified envelope, I'm thinking of breaking the spectrum 
into octaves, then taking the average amplitude of all frequencies 
within that octave, at each point in time. Would this work?

-Mike

PS. Why does typing 'pvanal' run pvlook, and csound -U pvanal runs 
pvanal? Is this a bug? Am I really behind in the version?