Ignore:
Timestamp:
Dec 7, 2013, 6:10:37 PM (10 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:
479adba
Parents:
4b7a740
Message:

src/synth/{wavetable,sampler}.h: improve documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/synth/sampler.h

    r4b7a740 r2b6139e7  
    4545
    4646  \param samplerate the sampling rate of the new sampler
     47  \param hop_size the block size of the new sampler
    4748
    4849  \return the newly created ::aubio_sampler_t
     
    5354/** load source in sampler
    5455
    55   \param o sampler, created by ::new_aubio_sampler
     56  \param o sampler, created by new_aubio_sampler()
    5657  \param uri the uri of the source to load
    5758
     
    6364/** process sampler function
    6465
    65   \param o sampler, created by ::new_aubio_sampler
     66  \param o sampler, created by new_aubio_sampler()
    6667  \param input input of the sampler, to be added to the output
    6768  \param output output of the sampler
    6869
    69 This function adds the new samples from the playing sample to the output.
     70This function adds the new samples from the playing source to the output.
    7071
    7172If `input` is not NULL and different from `output`, then the samples from `input`
     
    7778/** process sampler function, multiple channels
    7879
    79   \param o sampler, created by ::new_aubio_sampler
     80  \param o sampler, created by new_aubio_sampler()
    8081  \param input input of the sampler, to be added to the output
    8182  \param output output of the sampler
    8283
    83 This function adds the new samples from the playing sample to the output.
     84This function adds the new samples from the playing source to the output.
    8485
    8586If `input` is not NULL and different from `output`, then the samples from `input`
     
    9192/** get current playing state
    9293
    93   \param o sampler, created by ::new_aubio_sampler
     94  \param o sampler, created by new_aubio_sampler()
    9495
    9596  \return 0 if not playing, 1 if playing
     
    100101/** set current playing state
    101102
    102   \param o sampler, created by ::new_aubio_sampler
     103  \param o sampler, created by new_aubio_sampler()
    103104  \param playing 0 for not playing, 1 for playing
    104105
     
    110111/** play sample from start
    111112
    112   \param o sampler, created by ::new_aubio_sampler
    113   \param playing 0 for not playing, 1 for playing
     113  \param o sampler, created by new_aubio_sampler()
    114114
    115115  \return 0 if successful, 1 otherwise
     
    118118uint_t aubio_sampler_play ( aubio_sampler_t * o );
    119119
    120 /** stop sample from start
     120/** stop sample
    121121
    122   \param o sampler, created by ::new_aubio_sampler
    123   \param playing 0 for not playing, 1 for playing
     122  \param o sampler, created by new_aubio_sampler()
    124123
    125124  \return 0 if successful, 1 otherwise
     
    130129/** destroy ::aubio_sampler_t object
    131130
    132   \param o sampler, created by ::new_aubio_sampler
     131  \param o sampler, created by new_aubio_sampler()
    133132
    134133*/
Note: See TracChangeset for help on using the changeset viewer.