Changeset 61139c6


Ignore:
Timestamp:
Nov 6, 2009, 12:11:41 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
c03e777
Parents:
7b485af
Message:

swig/aubio.i: add peakpicker again, alias for char_t, include config.h for HAVE_SNDFILE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    r7b485af r61139c6  
    99typedef int sint_t;
    1010typedef float smpl_t;
     11typedef char char_t;
    1112
    1213/* fvec */
     
    107108
    108109/* tempo */
    109 typedef struct _aubio_tempo_t aubio_tempo_t;
    110110aubio_tempo_t * new_aubio_tempo (char_t * mode,
    111111    uint_t buf_size, uint_t hop_size, uint_t channels, uint_t samplerate);
     
    117117void del_aubio_tempo(aubio_tempo_t * o);
    118118
     119/* specdesc */
     120void aubio_specdesc_do (aubio_specdesc_t * o, cvec_t * fftgrain,
     121  fvec_t * desc);
     122aubio_specdesc_t *new_aubio_specdesc (char_t * method, uint_t buf_size,
     123  uint_t channels);
     124void del_aubio_specdesc (aubio_specdesc_t * o);
     125
     126/* peak picker */
     127aubio_peakpicker_t * new_aubio_peakpicker(uint_t channels);
     128void aubio_peakpicker_do(aubio_peakpicker_t * p, fvec_t * in, fvec_t * out);
     129fvec_t * aubio_peakpicker_get_thresholded_input(aubio_peakpicker_t * p);
     130void del_aubio_peakpicker(aubio_peakpicker_t * p);
     131uint_t aubio_peakpicker_set_threshold(aubio_peakpicker_t * p, smpl_t threshold);
     132
    119133/* sndfile */
    120134%{
     135#include "config.h"
    121136#if HAVE_SNDFILE
    122137#include "sndfileio.h"
Note: See TracChangeset for help on using the changeset viewer.