Changeset a82cedc for src


Ignore:
Timestamp:
Sep 2, 2015, 12:14:34 PM (9 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:
e06ac8f
Parents:
0683ee2
Message:

src/*/*.h: remove trailing spaces

Location:
src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • src/onset/peakpicker.h

    r0683ee2 ra82cedc  
    1919*/
    2020
    21 /** \file 
    22  
     21/** \file
     22
    2323  Peak picking utilities function
    2424
    2525  \example onset/test-peakpicker.c
    26  
     26
    2727*/
    2828
  • src/pitch/pitchyinfft.h

    r0683ee2 ra82cedc  
    2020
    2121/** \file
    22  
     22
    2323  Pitch detection using a spectral implementation of the YIN algorithm
    24  
     24
    2525  This algorithm was derived from the YIN algorithm. In this implementation, a
    2626  Fourier transform is used to compute a tapered square difference function,
    2727  which allows spectral weighting. Because the difference function is tapered,
    2828  the selection of the period is simplified.
    29  
     29
    3030  Paul Brossier, [Automatic annotation of musical audio for interactive
    3131  systems](http://aubio.org/phd/), Chapter 3, Pitch Analysis, PhD thesis,
     
    4646typedef struct _aubio_pitchyinfft_t aubio_pitchyinfft_t;
    4747
    48 /** execute pitch detection on an input buffer 
    49  
     48/** execute pitch detection on an input buffer
     49
    5050  \param o pitch detection object as returned by new_aubio_pitchyinfft
    5151  \param samples_in input signal vector (length as specified at creation time)
    5252  \param cands_out pitch period candidates, in samples
    53  
     53
    5454*/
    5555void aubio_pitchyinfft_do (aubio_pitchyinfft_t * o, fvec_t * samples_in, fvec_t * cands_out);
    5656/** creation of the pitch detection object
    57  
     57
    5858  \param samplerate samplerate of the input signal
    59   \param buf_size size of the input buffer to analyse 
    60  
     59  \param buf_size size of the input buffer to analyse
     60
    6161*/
    6262aubio_pitchyinfft_t *new_aubio_pitchyinfft (uint_t samplerate, uint_t buf_size);
    6363/** deletion of the pitch detection object
    64  
     64
    6565  \param o pitch detection object as returned by new_aubio_pitchyinfft()
    66  
     66
    6767*/
    6868void del_aubio_pitchyinfft (aubio_pitchyinfft_t * o);
    6969
    70 /** get tolerance parameter for YIN algorithm 
    71  
    72   \param o YIN pitch detection object 
     70/** get tolerance parameter for YIN algorithm
     71
     72  \param o YIN pitch detection object
    7373
    7474  \return tolerance parameter for minima selection [default 0.15]
     
    7777smpl_t aubio_pitchyinfft_get_tolerance (aubio_pitchyinfft_t * o);
    7878
    79 /** set tolerance parameter for YIN algorithm 
    80  
    81   \param o YIN pitch detection object 
     79/** set tolerance parameter for YIN algorithm
     80
     81  \param o YIN pitch detection object
    8282  \param tol tolerance parameter for minima selection [default 0.15]
    8383
  • src/spectral/fft.h

    r0683ee2 ra82cedc  
    1919*/
    2020
    21 /** \file 
     21/** \file
    2222
    2323  Fast Fourier Transform
     
    4040
    4141/** FFT object
    42  
     42
    4343  This object computes forward and backward FFTs.
    4444
     
    5252*/
    5353aubio_fft_t * new_aubio_fft (uint_t size);
    54 /** delete FFT object 
     54/** delete FFT object
    5555
    5656  \param s fft object as returned by new_aubio_fft
     
    6262
    6363  \param s fft object as returned by new_aubio_fft
    64   \param input input signal 
    65   \param spectrum output spectrum 
     64  \param input input signal
     65  \param spectrum output spectrum
    6666
    6767*/
     
    7070
    7171  \param s fft object as returned by new_aubio_fft
    72   \param spectrum input spectrum 
    73   \param output output signal 
     72  \param spectrum input spectrum
     73  \param output output signal
    7474
    7575*/
     
    7979
    8080  \param s fft object as returned by new_aubio_fft
    81   \param input real input signal 
     81  \param input real input signal
    8282  \param compspec complex output fft real/imag
    8383
     
    8787
    8888  \param s fft object as returned by new_aubio_fft
    89   \param compspec real/imag input fft array 
    90   \param output real output array 
     89  \param compspec real/imag input fft array
     90  \param output real output array
    9191
    9292*/
    9393void aubio_fft_rdo_complex (aubio_fft_t *s, fvec_t * compspec, fvec_t * output);
    9494
    95 /** convert real/imag spectrum to norm/phas spectrum 
     95/** convert real/imag spectrum to norm/phas spectrum
    9696
    97   \param compspec real/imag input fft array 
    98   \param spectrum cvec norm/phas output array 
     97  \param compspec real/imag input fft array
     98  \param spectrum cvec norm/phas output array
    9999
    100100*/
    101101void aubio_fft_get_spectrum(fvec_t * compspec, cvec_t * spectrum);
    102 /** convert real/imag spectrum to norm/phas spectrum 
     102/** convert real/imag spectrum to norm/phas spectrum
    103103
    104   \param compspec real/imag input fft array 
    105   \param spectrum cvec norm/phas output array 
     104  \param compspec real/imag input fft array
     105  \param spectrum cvec norm/phas output array
    106106
    107107*/
    108108void aubio_fft_get_realimag(cvec_t * spectrum, fvec_t * compspec);
    109109
    110 /** compute phas spectrum from real/imag parts 
     110/** compute phas spectrum from real/imag parts
    111111
    112   \param compspec real/imag input fft array 
    113   \param spectrum cvec norm/phas output array 
     112  \param compspec real/imag input fft array
     113  \param spectrum cvec norm/phas output array
    114114
    115115*/
    116116void aubio_fft_get_phas(fvec_t * compspec, cvec_t * spectrum);
    117 /** compute imaginary part from the norm/phas cvec 
     117/** compute imaginary part from the norm/phas cvec
    118118
    119   \param spectrum norm/phas input array 
    120   \param compspec real/imag output fft array 
     119  \param spectrum norm/phas input array
     120  \param compspec real/imag output fft array
    121121
    122122*/
    123123void aubio_fft_get_imag(cvec_t * spectrum, fvec_t * compspec);
    124124
    125 /** compute norm component from real/imag parts 
     125/** compute norm component from real/imag parts
    126126
    127   \param compspec real/imag input fft array 
    128   \param spectrum cvec norm/phas output array 
     127  \param compspec real/imag input fft array
     128  \param spectrum cvec norm/phas output array
    129129
    130130*/
    131131void aubio_fft_get_norm(fvec_t * compspec, cvec_t * spectrum);
    132 /** compute real part from norm/phas components 
     132/** compute real part from norm/phas components
    133133
    134   \param spectrum norm/phas input array 
    135   \param compspec real/imag output fft array 
     134  \param spectrum norm/phas input array
     135  \param compspec real/imag output fft array
    136136
    137137*/
  • src/spectral/phasevoc.h

    r0683ee2 ra82cedc  
    5757
    5858/** compute spectral frame
    59  
     59
    6060  This function accepts an input vector of size [hop_s]. The
    6161  analysis buffer is rotated and filled with the new data. After windowing of
     
    6464
    6565  \param pv phase vocoder object as returned by new_aubio_pvoc
    66   \param in new input signal (hop_s long) 
     66  \param in new input signal (hop_s long)
    6767  \param fftgrain output spectral frame
    6868
     
    7575  synthesis is then computed using the previously synthetised frames, and the
    7676  output stored in out.
    77  
     77
    7878  \param pv phase vocoder object as returned by new_aubio_pvoc
    7979  \param fftgrain input spectral frame
    80   \param out output signal (hop_s long) 
     80  \param out output signal (hop_s long)
    8181
    8282*/
     
    9898#ifdef __cplusplus
    9999}
    100 #endif 
     100#endif
    101101
    102102#endif /* _AUBIO_PHASEVOC_H */
  • src/spectral/tss.h

    r0683ee2 ra82cedc  
    6363
    6464/** split input into transient and steady states components
    65  
     65
    6666  \param o tss object as returned by new_aubio_tss()
    6767  \param input input spectral frame
     
    7373    cvec_t * stead);
    7474
    75 /** set transient / steady state separation threshold 
    76  
     75/** set transient / steady state separation threshold
     76
    7777  \param o tss object as returned by new_aubio_tss()
    7878  \param thrs new threshold value
     
    8282
    8383/** set parameter a, defaults to 3
    84  
     84
    8585  \param o tss object as returned by new_aubio_tss()
    8686  \param alpha new value for alpha parameter
     
    9090
    9191/** set parameter b, defaults to 3
    92  
     92
    9393  \param o tss object as returned by new_aubio_tss()
    9494  \param beta new value for beta parameter
  • src/utils/parameter.h

    r0683ee2 ra82cedc  
    6161uint_t aubio_parameter_set_target_value ( aubio_parameter_t * param, smpl_t value );
    6262
    63 /** get next parameter 
     63/** get next parameter
    6464
    6565  \param param parameter, created by ::new_aubio_parameter
Note: See TracChangeset for help on using the changeset viewer.