Changeset 3ac7cb0


Ignore:
Timestamp:
Nov 6, 2009, 1:08:44 AM (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:
8b8336b
Parents:
b8ee46c
Message:

src/: cleanup variable names in prototypes

Location:
src
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.h

    rb8ee46c r3ac7cb0  
    4747/** create onset detection object
    4848 
    49   \param onset_mode onset detection type as specified in specdesc.h
     49  \param method onset detection type as specified in specdesc.h
    5050  \param buf_size buffer size for phase vocoder
    5151  \param hop_size hop size for phase vocoder
     
    5454
    5555*/
    56 aubio_onset_t * new_aubio_onset (char_t * onset_mode,
     56aubio_onset_t * new_aubio_onset (char_t * method,
    5757    uint_t buf_size, uint_t hop_size, uint_t channels, uint_t samplerate);
    5858
  • src/pitch/pitch.h

    rb8ee46c r3ac7cb0  
    4141
    4242  \param o pitch detection object as returned by new_aubio_pitch()
    43   \param in input signal of size [hopsize x channels]
    44   \param out output pitch candidates of size [1 x channes]
     43  \param in input signal of size [hop_size x channels]
     44  \param out output pitch candidates of size [1 x channels]
    4545
    4646*/
     
    6464/** creation of the pitch detection object
    6565
    66   \param mode set pitch detection algorithm
    67   \param bufsize size of the input buffer to analyse
    68   \param hopsize step size between two consecutive analysis instant
     66  \param method set pitch detection algorithm
     67  \param buf_size size of the input buffer to analyse
     68  \param hop_size step size between two consecutive analysis instant
    6969  \param channels number of channels to analyse
    7070  \param samplerate sampling rate of the signal
    7171
    7272*/
    73 aubio_pitch_t *new_aubio_pitch (char_t * mode,
    74     uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate);
     73aubio_pitch_t *new_aubio_pitch (char_t * method,
     74    uint_t buf_size, uint_t hop_size, uint_t channels, uint_t samplerate);
    7575
    7676/** set the output unit of the pitch detection object
  • src/pitch/pitchfcomb.h

    rb8ee46c r3ac7cb0  
    5555/** creation of the pitch detection object
    5656 
    57   \param bufsize size of the input buffer to analyse
    58   \param hopsize step size between two consecutive analysis instant
     57  \param buf_size size of the input buffer to analyse
     58  \param hop_size step size between two consecutive analysis instant
    5959  \param channels number of channels to detect pitch on
    6060 
    6161*/
    62 aubio_pitchfcomb_t *new_aubio_pitchfcomb (uint_t bufsize, uint_t hopsize,
     62aubio_pitchfcomb_t *new_aubio_pitchfcomb (uint_t buf_size, uint_t hop_size,
    6363    uint_t channels);
    6464
  • src/pitch/pitchmcomb.h

    rb8ee46c r3ac7cb0  
    5555/** creation of the pitch detection object
    5656 
    57   \param bufsize size of the input buffer to analyse
    58   \param hopsize step size between two consecutive analysis instant
     57  \param buf_size size of the input buffer to analyse
     58  \param hop_size step size between two consecutive analysis instant
    5959  \param channels number of channels to analyse
    6060  \param samplerate sampling rate of the signal
    6161 
    6262*/
    63 aubio_pitchmcomb_t *new_aubio_pitchmcomb (uint_t bufsize, uint_t hopsize,
     63aubio_pitchmcomb_t *new_aubio_pitchmcomb (uint_t buf_size, uint_t hop_size,
    6464    uint_t channels);
    6565
  • src/pitch/pitchschmitt.h

    rb8ee46c r3ac7cb0  
    5555/** creation of the pitch detection object
    5656 
    57   \param size size of the input buffer to analyse
     57  \param buf_size size of the input buffer to analyse
    5858 
    5959*/
    60 aubio_pitchschmitt_t *new_aubio_pitchschmitt (uint_t bufsize);
     60aubio_pitchschmitt_t *new_aubio_pitchschmitt (uint_t buf_size);
    6161
    6262/** deletion of the pitch detection object
  • src/pitch/pitchyin.h

    rb8ee46c r3ac7cb0  
    4545/** creation of the pitch detection object
    4646 
    47   \param bufsize size of the input buffer to analyse
     47  \param buf_size size of the input buffer to analyse
    4848 
    4949*/
    50 aubio_pitchyin_t *new_aubio_pitchyin (uint_t bufsize);
     50aubio_pitchyin_t *new_aubio_pitchyin (uint_t buf_size);
    5151
    5252/** deletion of the pitch detection object
  • src/pitch/pitchyinfft.h

    rb8ee46c r3ac7cb0  
    5454/** creation of the pitch detection object
    5555 
    56   \param bufsize size of the input buffer to analyse
     56  \param buf_size size of the input buffer to analyse
    5757 
    5858*/
    59 aubio_pitchyinfft_t *new_aubio_pitchyinfft (uint_t bufsize);
     59aubio_pitchyinfft_t *new_aubio_pitchyinfft (uint_t buf_size);
    6060/** deletion of the pitch detection object
    6161 
  • src/spectral/mfcc.h

    rb8ee46c r3ac7cb0  
    3939/** create mfcc object
    4040
    41   \param win_s size of analysis buffer (and length the FFT transform)
     41  \param buf_size size of analysis buffer (and length the FFT transform)
    4242  \param samplerate audio sampling rate
    4343  \param n_coeffs number of desired coefficients
     
    4545
    4646*/
    47 aubio_mfcc_t *new_aubio_mfcc (uint_t win_s,
     47aubio_mfcc_t *new_aubio_mfcc (uint_t buf_size,
    4848    uint_t n_filters, uint_t n_coeffs, uint_t samplerate);
    4949
     
    5858
    5959  \param mf mfcc object as returned by new_aubio_mfcc
    60   \param in input spectrum (win_s long)
     60  \param in input spectrum (buf_size long)
    6161  \param out output mel coefficients buffer (n_coeffs long)
    6262
  • src/spectral/tss.h

    rb8ee46c r3ac7cb0  
    4747/** create tss object
    4848
    49   \param win_s buffer size
    50   \param hop_s step size
     49  \param buf_size buffer size
     50  \param hop_size step size
    5151  \param channels number of input channels
    5252
    5353*/
    54 aubio_tss_t *new_aubio_tss (uint_t win_s, uint_t hop_s, uint_t channels);
     54aubio_tss_t *new_aubio_tss (uint_t buf_size, uint_t hop_size, uint_t channels);
    5555
    5656/** delete tss object
  • src/tempo/beattracking.h

    rb8ee46c r3ac7cb0  
    4747/** create beat tracking object
    4848
    49   \param winlen: frame size [512]
     49  \param hop_size number of onset detection samples [512]
    5050  \param channels number (not functionnal) [1]
    5151
    5252*/
    53 aubio_beattracking_t * new_aubio_beattracking(uint_t winlen, uint_t channels);
     53aubio_beattracking_t * new_aubio_beattracking(uint_t hop_size, uint_t channels);
     54
    5455/** track the beat
    5556
     
    6061
    6162*/
    62 void aubio_beattracking_do(aubio_beattracking_t * bt, fvec_t * dfframes, fvec_t * out);
     63void aubio_beattracking_do (aubio_beattracking_t * bt, fvec_t * dfframes,
     64    fvec_t * out);
     65
    6366/** get current tempo in bpm
    6467
     
    7073*/
    7174smpl_t aubio_beattracking_get_bpm(aubio_beattracking_t * bt);
     75
    7276/** get current tempo confidence
    7377
     
    7983*/
    8084smpl_t aubio_beattracking_get_confidence(aubio_beattracking_t * bt);
     85
    8186/** delete beat tracking object
    8287
  • src/tempo/tempo.h

    rb8ee46c r3ac7cb0  
    3939
    4040/** create tempo detection object */
    41 aubio_tempo_t * new_aubio_tempo (char_t * mode,
     41aubio_tempo_t * new_aubio_tempo (char_t * method,
    4242    uint_t buf_size, uint_t hop_size, uint_t channels, uint_t samplerate);
    4343
Note: See TracChangeset for help on using the changeset viewer.