Changeset 91879d9 for src


Ignore:
Timestamp:
Jul 23, 2006, 12:54:56 PM (18 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
ceed6dc
Parents:
fa4400e
Message:

add documentation for _aubio_pitchyinfft_t, remove unused parameters
add documentation for _aubio_pitchyinfft_t, remove unused parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitchyinfft.c

    rfa4400e r91879d9  
    2323#include "pitchyinfft.h"
    2424
     25/** pitch yinfft structure */
    2526struct _aubio_pitchyinfft_t {
    26         uint_t bufsize;
    27         uint_t rate;
    28         fvec_t * win;
    29         fvec_t * winput;
    30         cvec_t * res;
    31         fvec_t * sqrmag;
    32         fvec_t * weight;
    33         cvec_t * fftout;
    34         aubio_mfft_t * fft;
    35         fvec_t * yinfft;
     27  fvec_t * win;       /**< temporal weighting window */
     28  fvec_t * winput;    /**< windowed spectrum */
     29  cvec_t * res;       /**< complex vector to compute square difference function */
     30  fvec_t * sqrmag;    /**< square difference function */
     31  fvec_t * weight;    /**< spectral weighting window (psychoacoustic model) */
     32  cvec_t * fftout;    /**< Fourier transform output */
     33  aubio_mfft_t * fft; /**< fft object to compute square difference function */
     34  fvec_t * yinfft;    /**< Yin function */
    3635};
    3736
     
    4948{
    5049  aubio_pitchyinfft_t * p = AUBIO_NEW(aubio_pitchyinfft_t);
    51   p->bufsize      = bufsize;
    5250  p->winput       = new_fvec(bufsize,1);
    5351  p->fft          = new_aubio_mfft(bufsize, 1);
     
    125123  if (yin->data[0][tau] < tol) {
    126124          /* no interpolation */
    127           //return tau+2;
     125          //return tau;
    128126          /* 3 point quadratic interpolation */
    129127          //return vec_quadint_min(yin,tau,1);
Note: See TracChangeset for help on using the changeset viewer.