Changeset a82cedc
- Timestamp:
- Sep 2, 2015, 12:14:34 PM (9 years ago)
- 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
- Location:
- src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/peakpicker.h
r0683ee2 ra82cedc 19 19 */ 20 20 21 /** \file 22 21 /** \file 22 23 23 Peak picking utilities function 24 24 25 25 \example onset/test-peakpicker.c 26 26 27 27 */ 28 28 -
src/pitch/pitchyinfft.h
r0683ee2 ra82cedc 20 20 21 21 /** \file 22 22 23 23 Pitch detection using a spectral implementation of the YIN algorithm 24 24 25 25 This algorithm was derived from the YIN algorithm. In this implementation, a 26 26 Fourier transform is used to compute a tapered square difference function, 27 27 which allows spectral weighting. Because the difference function is tapered, 28 28 the selection of the period is simplified. 29 29 30 30 Paul Brossier, [Automatic annotation of musical audio for interactive 31 31 systems](http://aubio.org/phd/), Chapter 3, Pitch Analysis, PhD thesis, … … 46 46 typedef struct _aubio_pitchyinfft_t aubio_pitchyinfft_t; 47 47 48 /** execute pitch detection on an input buffer 49 48 /** execute pitch detection on an input buffer 49 50 50 \param o pitch detection object as returned by new_aubio_pitchyinfft 51 51 \param samples_in input signal vector (length as specified at creation time) 52 52 \param cands_out pitch period candidates, in samples 53 53 54 54 */ 55 55 void aubio_pitchyinfft_do (aubio_pitchyinfft_t * o, fvec_t * samples_in, fvec_t * cands_out); 56 56 /** creation of the pitch detection object 57 57 58 58 \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 61 61 */ 62 62 aubio_pitchyinfft_t *new_aubio_pitchyinfft (uint_t samplerate, uint_t buf_size); 63 63 /** deletion of the pitch detection object 64 64 65 65 \param o pitch detection object as returned by new_aubio_pitchyinfft() 66 66 67 67 */ 68 68 void del_aubio_pitchyinfft (aubio_pitchyinfft_t * o); 69 69 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 73 73 74 74 \return tolerance parameter for minima selection [default 0.15] … … 77 77 smpl_t aubio_pitchyinfft_get_tolerance (aubio_pitchyinfft_t * o); 78 78 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 82 82 \param tol tolerance parameter for minima selection [default 0.15] 83 83 -
src/spectral/fft.h
r0683ee2 ra82cedc 19 19 */ 20 20 21 /** \file 21 /** \file 22 22 23 23 Fast Fourier Transform … … 40 40 41 41 /** FFT object 42 42 43 43 This object computes forward and backward FFTs. 44 44 … … 52 52 */ 53 53 aubio_fft_t * new_aubio_fft (uint_t size); 54 /** delete FFT object 54 /** delete FFT object 55 55 56 56 \param s fft object as returned by new_aubio_fft … … 62 62 63 63 \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 66 66 67 67 */ … … 70 70 71 71 \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 74 74 75 75 */ … … 79 79 80 80 \param s fft object as returned by new_aubio_fft 81 \param input real input signal 81 \param input real input signal 82 82 \param compspec complex output fft real/imag 83 83 … … 87 87 88 88 \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 91 91 92 92 */ 93 93 void aubio_fft_rdo_complex (aubio_fft_t *s, fvec_t * compspec, fvec_t * output); 94 94 95 /** convert real/imag spectrum to norm/phas spectrum 95 /** convert real/imag spectrum to norm/phas spectrum 96 96 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 99 99 100 100 */ 101 101 void 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 103 103 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 106 106 107 107 */ 108 108 void aubio_fft_get_realimag(cvec_t * spectrum, fvec_t * compspec); 109 109 110 /** compute phas spectrum from real/imag parts 110 /** compute phas spectrum from real/imag parts 111 111 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 114 114 115 115 */ 116 116 void 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 118 118 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 121 121 122 122 */ 123 123 void aubio_fft_get_imag(cvec_t * spectrum, fvec_t * compspec); 124 124 125 /** compute norm component from real/imag parts 125 /** compute norm component from real/imag parts 126 126 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 129 129 130 130 */ 131 131 void 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 133 133 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 136 136 137 137 */ -
src/spectral/phasevoc.h
r0683ee2 ra82cedc 57 57 58 58 /** compute spectral frame 59 59 60 60 This function accepts an input vector of size [hop_s]. The 61 61 analysis buffer is rotated and filled with the new data. After windowing of … … 64 64 65 65 \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) 67 67 \param fftgrain output spectral frame 68 68 … … 75 75 synthesis is then computed using the previously synthetised frames, and the 76 76 output stored in out. 77 77 78 78 \param pv phase vocoder object as returned by new_aubio_pvoc 79 79 \param fftgrain input spectral frame 80 \param out output signal (hop_s long) 80 \param out output signal (hop_s long) 81 81 82 82 */ … … 98 98 #ifdef __cplusplus 99 99 } 100 #endif 100 #endif 101 101 102 102 #endif /* _AUBIO_PHASEVOC_H */ -
src/spectral/tss.h
r0683ee2 ra82cedc 63 63 64 64 /** split input into transient and steady states components 65 65 66 66 \param o tss object as returned by new_aubio_tss() 67 67 \param input input spectral frame … … 73 73 cvec_t * stead); 74 74 75 /** set transient / steady state separation threshold 76 75 /** set transient / steady state separation threshold 76 77 77 \param o tss object as returned by new_aubio_tss() 78 78 \param thrs new threshold value … … 82 82 83 83 /** set parameter a, defaults to 3 84 84 85 85 \param o tss object as returned by new_aubio_tss() 86 86 \param alpha new value for alpha parameter … … 90 90 91 91 /** set parameter b, defaults to 3 92 92 93 93 \param o tss object as returned by new_aubio_tss() 94 94 \param beta new value for beta parameter -
src/utils/parameter.h
r0683ee2 ra82cedc 61 61 uint_t aubio_parameter_set_target_value ( aubio_parameter_t * param, smpl_t value ); 62 62 63 /** get next parameter 63 /** get next parameter 64 64 65 65 \param param parameter, created by ::new_aubio_parameter
Note: See TracChangeset
for help on using the changeset viewer.