Changeset 6a03729 for src/io/source.h


Ignore:
Timestamp:
Mar 18, 2013, 5:19:23 PM (11 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:
7125680
Parents:
ab7b1b7
Message:

src/io: use hop_size, not block_size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source.h

    rab7b1b7 r6a03729  
    4343  \param uri the file path or uri to read from
    4444  \param samplerate sampling rate to view the fie at
    45   \param block_size the size of the blocks to read from
     45  \param hop_size the size of the blocks to read from
    4646
    4747  Creates a new source object. If `0` is passed as `samplerate`, the sample
     
    5252
    5353*/
    54 aubio_source_t * new_aubio_source(char_t * uri, uint_t samplerate, uint_t block_size);
     54aubio_source_t * new_aubio_source(char_t * uri, uint_t samplerate, uint_t hop_size);
    5555
    5656/**
    5757
    58   read monophonic vector of length block_size from source object
     58  read monophonic vector of length hop_size from source object
    5959
    6060  \param s source object, created with ::new_aubio_source
     
    6363
    6464  Upon returns, `read` contains the number of frames actually read from the
    65   source. `block_size` if enough frames could be read, less otherwise.
     65  source. `hop_size` if enough frames could be read, less otherwise.
    6666
    6767*/
Note: See TracChangeset for help on using the changeset viewer.