- Timestamp:
- Dec 7, 2013, 6:10:37 PM (11 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:
- 479adba
- Parents:
- 4b7a740
- Location:
- src/synth
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/synth/sampler.h
r4b7a740 r2b6139e7 45 45 46 46 \param samplerate the sampling rate of the new sampler 47 \param hop_size the block size of the new sampler 47 48 48 49 \return the newly created ::aubio_sampler_t … … 53 54 /** load source in sampler 54 55 55 \param o sampler, created by ::new_aubio_sampler56 \param o sampler, created by new_aubio_sampler() 56 57 \param uri the uri of the source to load 57 58 … … 63 64 /** process sampler function 64 65 65 \param o sampler, created by ::new_aubio_sampler66 \param o sampler, created by new_aubio_sampler() 66 67 \param input input of the sampler, to be added to the output 67 68 \param output output of the sampler 68 69 69 This function adds the new samples from the playing s ample to the output.70 This function adds the new samples from the playing source to the output. 70 71 71 72 If `input` is not NULL and different from `output`, then the samples from `input` … … 77 78 /** process sampler function, multiple channels 78 79 79 \param o sampler, created by ::new_aubio_sampler80 \param o sampler, created by new_aubio_sampler() 80 81 \param input input of the sampler, to be added to the output 81 82 \param output output of the sampler 82 83 83 This function adds the new samples from the playing s ample to the output.84 This function adds the new samples from the playing source to the output. 84 85 85 86 If `input` is not NULL and different from `output`, then the samples from `input` … … 91 92 /** get current playing state 92 93 93 \param o sampler, created by ::new_aubio_sampler94 \param o sampler, created by new_aubio_sampler() 94 95 95 96 \return 0 if not playing, 1 if playing … … 100 101 /** set current playing state 101 102 102 \param o sampler, created by ::new_aubio_sampler103 \param o sampler, created by new_aubio_sampler() 103 104 \param playing 0 for not playing, 1 for playing 104 105 … … 110 111 /** play sample from start 111 112 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() 114 114 115 115 \return 0 if successful, 1 otherwise … … 118 118 uint_t aubio_sampler_play ( aubio_sampler_t * o ); 119 119 120 /** stop sample from start120 /** stop sample 121 121 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() 124 123 125 124 \return 0 if successful, 1 otherwise … … 130 129 /** destroy ::aubio_sampler_t object 131 130 132 \param o sampler, created by ::new_aubio_sampler131 \param o sampler, created by new_aubio_sampler() 133 132 134 133 */ -
src/synth/wavetable.h
r4b7a740 r2b6139e7 24 24 /** \file 25 25 26 Load and play sound files.26 Wavetable synthesis. 27 27 28 This file loads a sample and gets ready to play it.28 This file creates a wavetable and plays it at different frequency. 29 29 30 30 The `_do` function adds the new samples to the input, and write the result as … … 45 45 46 46 \param samplerate the sampling rate of the new wavetable 47 \param hop_size the block size of the new wavetable 47 48 48 \return the newly created ::aubio_wavetable_t49 \return the newly created aubio_wavetable_t 49 50 50 51 */ … … 53 54 /** load source in wavetable 54 55 55 \param o wavetable, created by ::new_aubio_wavetable56 \param o wavetable, created by new_aubio_wavetable() 56 57 \param uri the uri of the source to load 57 58 … … 63 64 /** process wavetable function 64 65 65 \param o wavetable, created by ::new_aubio_wavetable66 \param o wavetable, created by new_aubio_wavetable() 66 67 \param input input of the wavetable, to be added to the output 67 68 \param output output of the wavetable 68 69 69 This function adds the new samples from the playing sample to the output.70 This function adds the new samples from the playing wavetable to the output. 70 71 71 72 If `input` is not NULL and different from `output`, then the samples from `input` … … 77 78 /** process wavetable function, multiple channels 78 79 79 \param o wavetable, created by ::new_aubio_wavetable80 \param o wavetable, created by new_aubio_wavetable() 80 81 \param input input of the wavetable, to be added to the output 81 82 \param output output of the wavetable 82 83 83 This function adds the new samples from the playing sample to the output.84 This function adds the new samples from the playing wavetable to the output. 84 85 85 86 If `input` is not NULL and different from `output`, then the samples from `input` … … 91 92 /** get current playing state 92 93 93 \param o wavetable, created by ::new_aubio_wavetable94 \param o wavetable, created by new_aubio_wavetable() 94 95 95 96 \return 0 if not playing, 1 if playing … … 100 101 /** set current playing state 101 102 102 \param o wavetable, created by ::new_aubio_wavetable103 \param o wavetable, created by new_aubio_wavetable() 103 104 \param playing 0 for not playing, 1 for playing 104 105 … … 110 111 /** play sample from start 111 112 112 \param o wavetable, created by ::new_aubio_wavetable113 \param o wavetable, created by new_aubio_wavetable() 113 114 114 115 \return 0 if successful, 1 otherwise … … 117 118 uint_t aubio_wavetable_play ( aubio_wavetable_t * o ); 118 119 119 /** stop sample120 /** stop wavetable 120 121 121 \param o wavetable, created by ::new_aubio_wavetable122 \param o wavetable, created by new_aubio_wavetable() 122 123 123 124 \return 0 if successful, 1 otherwise … … 128 129 /** set wavetable frequency 129 130 130 \param o wavetable, created by ::new_aubio_wavetable131 \param o wavetable, created by new_aubio_wavetable() 131 132 \param freq new frequency value for the wavetable 132 133 … … 138 139 /** get wavetable frequency 139 140 140 \param o wavetable, created by ::new_aubio_wavetable141 \param o wavetable, created by new_aubio_wavetable() 141 142 142 143 \return current frequency, in Hz … … 147 148 /** set wavetable amplitude 148 149 149 \param o wavetable, created by ::new_aubio_wavetable150 \param o wavetable, created by new_aubio_wavetable() 150 151 \param amp new amplitude value for the wavetable 151 152 … … 157 158 /** get wavetable amplitude 158 159 159 \param o wavetable, created by ::new_aubio_wavetable160 \param o wavetable, created by new_aubio_wavetable() 160 161 161 162 \return current amplitude … … 164 165 smpl_t aubio_wavetable_get_amp ( aubio_wavetable_t * o); 165 166 166 /** destroy ::aubio_wavetable_t object167 /** destroy aubio_wavetable_t object 167 168 168 \param o wavetable, created by ::new_aubio_wavetable169 \param o wavetable, created by new_aubio_wavetable() 169 170 170 171 */
Note: See TracChangeset
for help on using the changeset viewer.