comparison audioio/PhaseVocoderTimeStretcher.h @ 21:7da85e0b85e9

* Add some internal feedback to the time stretcher to try to make it maintain tempo within variable timestretching situations -- not ideal but perhaps better than nothing. * Better tooltip text for play speeed control; make play sharpening control remember its last state
author Chris Cannam
date Thu, 14 Sep 2006 16:08:23 +0000
parents e125f0dde7a3
children 80126455d169
comparison
equal deleted inserted replaced
20:e125f0dde7a3 21:7da85e0b85e9
138 size_t m_n2; 138 size_t m_n2;
139 size_t m_wlen; 139 size_t m_wlen;
140 Window<float> *m_analysisWindow; 140 Window<float> *m_analysisWindow;
141 Window<float> *m_synthesisWindow; 141 Window<float> *m_synthesisWindow;
142 142
143 int m_totalCount;
144 int m_transientCount;
145 int m_n2sum;
146
143 float **m_prevPhase; 147 float **m_prevPhase;
144 float **m_prevAdjustedPhase; 148 float **m_prevAdjustedPhase;
145 149
146 float *m_prevTransientMag; 150 float *m_prevTransientMag;
147 int m_prevTransientCount; 151 int m_prevTransientScore;
148 bool m_prevTransient; 152 bool m_prevTransient;
149 153
150 float *m_tempbuf; 154 float *m_tempbuf;
151 float **m_time; 155 float **m_time;
152 fftwf_complex **m_freq; 156 fftwf_complex **m_freq;