Consolidate and clean up storing and recalling parameters. Enable storing and recalling of spectral module order again, using different state IDs. So old states will be discarded, but oh well...
This commit is contained in:
@ -172,7 +172,8 @@ inline void spectrum_copy(int nfreq, REALTYPE* freq1, REALTYPE* freq2)
|
||||
|
||||
inline void spectrum_spread(int nfreq, double samplerate,
|
||||
std::vector<REALTYPE>& tmpfreq1,
|
||||
REALTYPE *freq1, REALTYPE *freq2, REALTYPE spread_bandwidth) {
|
||||
REALTYPE *freq1, REALTYPE *freq2, REALTYPE spread_bandwidth)
|
||||
{
|
||||
//convert to log spectrum
|
||||
REALTYPE minfreq = 20.0f;
|
||||
REALTYPE maxfreq = 0.5f*samplerate;
|
||||
|
Reference in New Issue
Block a user