diff FChTransformF0gram.h @ 24:430c730ae912 spect

Remove nfft for unimplemented oversampling option; rejig nsamp param to use indexed list
author Chris Cannam
date Thu, 04 Oct 2018 15:22:23 +0100
parents 2c54d83a196f
children 8e57d2f41926
line wrap: on
line diff
--- a/FChTransformF0gram.h	Thu Oct 04 14:57:21 2018 +0100
+++ b/FChTransformF0gram.h	Thu Oct 04 15:22:23 2018 +0100
@@ -87,12 +87,11 @@
     // =============  WARPING PARAMETERS  =============
 
     double m_fmax; // maximum frequency of interest (Hz)
-    int m_nfft; // number of fft points (controls zero-padding)
-    int m_hop; // hop in samples in the upsampled signal
-
     int m_num_f0s; // number of f0 values in F0gram grid
     double *m_f0s; // vector of f0 values
 
+    vector<int> nsamp_options;
+    
     typedef struct {
         int nsamps_twarp; // number of samples of the warped signal frame
         double alpha_max; // maximum value of normalized frequency deviation (alpha)