Changes in / [be6e8e6:763a7f1]


Ignore:
Location:
src
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • src/aubio.h

    rbe6e8e6 r763a7f1  
    179179#include "spectral/mfcc.h"
    180180#include "spectral/specdesc.h"
    181 #include "spectral/awhitening.h"
    182181#include "spectral/tss.h"
    183182#include "pitch/pitch.h"
  • src/onset/onset.c

    rbe6e8e6 r763a7f1  
    2424#include "spectral/specdesc.h"
    2525#include "spectral/phasevoc.h"
    26 #include "spectral/awhitening.h"
    2726#include "onset/peakpicker.h"
    2827#include "mathutils.h"
     
    4443  uint_t total_frames;          /**< total number of frames processed since the beginning */
    4544  uint_t last_onset;            /**< last detected onset location, in frames */
    46 
    47   uint_t apply_adaptive_whitening;
    48   aubio_spectral_whitening_t *spectral_whitening;
    4945};
    5046
     
    5450  smpl_t isonset = 0;
    5551  aubio_pvoc_do (o->pv,input, o->fftgrain);
    56   /*
    57   if (apply_filtering) {
    58   }
    59   if (apply_compression) {
    60   }
    61   */
    62   if (o->apply_adaptive_whitening) {
    63     aubio_spectral_whitening_do(o->spectral_whitening, o->fftgrain);
    64   }
    6552  aubio_specdesc_do (o->od, o->fftgrain, o->desc);
    6653  aubio_peakpicker_do(o->pp, o->desc, onset);
     
    228215  aubio_onset_set_silence(o, -70.);
    229216
    230   o->spectral_whitening = new_aubio_spectral_whitening(buf_size, hop_size, samplerate);
    231   o->apply_adaptive_whitening = 1;
    232 
    233217  /* initialize internal variables */
    234218  o->last_onset = 0;
     
    243227void del_aubio_onset (aubio_onset_t *o)
    244228{
    245   del_aubio_spectral_whitening(o->spectral_whitening);
    246229  del_aubio_specdesc(o->od);
    247230  del_aubio_peakpicker(o->pp);
Note: See TracChangeset for help on using the changeset viewer.