Changeset 28d8c4a for examples/tests


Ignore:
Timestamp:
Aug 9, 2005, 12:09:36 PM (19 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:
5e9c68a
Parents:
ea865c9
Message:

prefix mathutils function with aubio_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/tests/test-fft.c

    rea865c9 r28d8c4a  
    2020                spec[i] = AUBIO_ARRAY(fft_data_t,win_s);
    2121        /* initialize the window (see mathutils.c) */
    22         window(w,win_s,aubio_win_hanningz);
     22        aubio_window(w,win_s,aubio_win_hanningz);
    2323 
    2424        /* fill input with some data */
     
    3535        for (i=0; i < channels; i++) {
    3636                for (j=0; j<win_s/2+1; j++) {
    37                         spec[i][j]  = CEXPC(I*unwrap2pi(fftgrain->phas[i][j]));
     37                        spec[i][j]  = CEXPC(I*aubio_unwrap2pi(fftgrain->phas[i][j]));
    3838                        spec[i][j] *= fftgrain->norm[i][j];
    3939                }
Note: See TracChangeset for help on using the changeset viewer.