Ignore:
Timestamp:
Dec 1, 2007, 10:59:25 PM (17 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:
6913434
Parents:
2b6144dd
Message:

filter.c: add denormal, make multichannel using lvecs, update adsgn, cdsgn, pitchdetection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/temporal/cdesign.c

    r2b6144dd ra7667ce  
    2626#include "temporal/adesign.h"
    2727
    28 aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate) {
    29   aubio_filter_t * f = new_aubio_filter(samplerate, 5);
    30   lsmp_t * a = f->a;
    31   lsmp_t * b = f->b;
     28aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate, uint_t channels) {
     29  aubio_filter_t * f = new_aubio_filter(samplerate, 5, channels);
     30  lsmp_t * a = f->a->data[0];
     31  lsmp_t * b = f->b->data[0];
    3232  /* uint_t l; */
    3333  /* for now, 44100, cdsgn */
     
    4848  }
    4949  */
    50   f->a = a;
    51   f->b = b;
     50  f->a->data[0] = a;
     51  f->b->data[0] = b;
    5252  return f;
    5353}
Note: See TracChangeset for help on using the changeset viewer.