Changeset 066433d for examples


Ignore:
Timestamp:
Jan 9, 2010, 3:51:20 PM (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:
d453a4a
Parents:
8212692 (diff), 37eb9ce (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge with mono

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    r8212692 r066433d  
    238238#endif /* HAVE_LASH */
    239239
    240   woodblock = new_fvec (overlap_size, channels);
     240  woodblock = new_fvec (overlap_size);
    241241  if (output_filename || usejack) {
    242242    /* dummy assignement to keep egcs happy */
     
    251251  if (onsetfile) {
    252252    /* read the output sound once */
    253     aubio_sndfile_read (onsetfile, overlap_size, woodblock);
    254   }
    255 
    256   ibuf = new_fvec (overlap_size, channels);
    257   obuf = new_fvec (overlap_size, channels);
     253    aubio_sndfile_read_mono (onsetfile, overlap_size, woodblock);
     254  }
     255
     256  ibuf = new_fvec (overlap_size);
     257  obuf = new_fvec (overlap_size);
    258258
    259259}
Note: See TracChangeset for help on using the changeset viewer.