Changeset d84d19e for src/pitch


Ignore:
Timestamp:
Sep 25, 2009, 4:20:27 AM (15 years ago)
Author:
Paul Brossier <piem@piem.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:
ff9d00c
Parents:
e4284c9
Message:

src/mathutils.{c,h}: change prototype from aubio_window to new_aubio_window, allocating an fvec, use new function everywhere

Location:
src/pitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/pitch/pitchfcomb.c

    re4284c9 rd84d19e  
    5454  p->fftLastPhase = new_fvec(bufsize,1);
    5555  p->fft = new_aubio_fft(bufsize, 1);
    56   p->win = new_fvec(bufsize,1);
    57   aubio_window(p->win->data[0], bufsize, aubio_win_hanning);
     56  p->win = new_aubio_window(bufsize, aubio_win_hanning);
    5857  return p;
    5958}
  • src/pitch/pitchyinfft.c

    re4284c9 rd84d19e  
    5555  p->res    = new_cvec(bufsize,1);
    5656  p->yinfft = new_fvec(bufsize/2+1,1);
    57   p->win    = new_fvec(bufsize,1);
    58   aubio_window(p->win->data[0], bufsize, aubio_win_hanningz);
     57  p->win    = new_aubio_window(bufsize, aubio_win_hanningz);
    5958  p->weight      = new_fvec(bufsize/2+1,1);
    6059  {
Note: See TracChangeset for help on using the changeset viewer.