public ChromaResampler(int factor, IFeatureVectorConsumer consumer) { m_result = new double[12]; //0.0 m_iteration = 0; m_factor = factor; m_consumer = consumer; }
public Spectrum(int num_bands, int min_freq, int max_freq, int frame_size, int sample_rate, IFeatureVectorConsumer consumer) { m_bands = new List <int>(num_bands + 1); m_features = new double[num_bands]; m_consumer = consumer; PrepareBands(num_bands, min_freq, max_freq, frame_size, sample_rate); }
public Spectrum(int num_bands, int min_freq, int max_freq, int frame_size, int sample_rate, IFeatureVectorConsumer consumer) { m_bands = new List<int>(num_bands + 1); m_features = new double[num_bands]; m_consumer = consumer; PrepareBands(num_bands, min_freq, max_freq, frame_size, sample_rate); }
public ChromaFilter(double[] coefficients, IFeatureVectorConsumer consumer) { m_coefficients = coefficients; m_length = coefficients.Length; m_buffer = new double[8][]; m_result = new double[12]; m_buffer_offset = 0; m_buffer_size = 1; m_consumer = consumer; }
public Chroma(int min_freq, int max_freq, int frame_size, int sample_rate, IFeatureVectorConsumer consumer) { m_interpolate = false; m_notes = new byte[frame_size]; m_notes_frac = new double[frame_size]; m_features = new double[NUM_BANDS]; m_consumer = consumer; PrepareNotes(min_freq, max_freq, frame_size, sample_rate); }
public ChromaNormalizer(IFeatureVectorConsumer consumer) { m_consumer = consumer; }