History

updating docs

Matthew Wang committed 5 years ago

Commit 53eedc91 parent 73513b916 files · +810 −805Browse files

Unified · Split

16 files
  1. leaf/Inc/leaf-delay.h +47 −49
  2. leaf/Inc/leaf-distortion.h +34 −30
  3. leaf/Inc/leaf-dynamics.h +28 −27
  4. leaf/Inc/leaf-effects.h +104 −104
  5. leaf/Inc/leaf-electrical.h +16 −16
  6. leaf/Inc/leaf-envelopes.h +106 −106
  7. leaf/Inc/leaf-filters.h +156 −154
  8. leaf/Inc/leaf-global.h +1 −1
  9. leaf/Inc/leaf-instruments.h +60 −60
  10. leaf/Inc/leaf-mempool.h +2 −1
  11. leaf/Inc/leaf-oscillators.h +69 −69
  12. leaf/Inc/leaf-physical.h +86 −86
  13. leaf/Inc/leaf-reverb.h +37 −37
  14. leaf/Inc/leaf-sampling.h +62 −62
  15. leaf/Src/leaf-mempool.c +2 −2
  16. leaf/Src/leaf-oscillators.c +0 −1
leaf/Inc/leaf-delay.h+47−49
@@ -35,14 +35,14 @@ extern "C" { · 34 unmodified lines
3535 @{
3636
3737 @fn void tDelay_init (tDelay* const, uint32_t delay, uint32_t maxDelay, LEAF* const leaf)
38− @brief
38+ @brief Initialize a tDelay to the default mempool of a LEAF instance.
3939 @param delay A pointer to the tDelay to initialize.
4040 @param initalLength
4141 @param maxLength
4242 @param leaf A pointer to the leaf instance.
4343
4444 @fn void tDelay_initToPool (tDelay* const, uint32_t delay, uint32_t maxDelay, tMempool* const)
45− @brief
45+ @brief Initialize a tDelay to a specified mempool.
4646 @param delay A pointer to the tDelay to initialize.
4747 @param initalLength
4848 @param maxLength
@@ -143,14 +143,14 @@ extern "C" { · 94 unmodified lines
143143 @{
144144
145145 @fn void tLinearDelay_init (tLinearDelay* const, float delay, uint32_t maxDelay, LEAF* const leaf)
146− @brief
146+ @brief Initialize a tLinearDelay to the default mempool of a LEAF instance.
147147 @param delay A pointer to the tLinearDelay to initialize.
148148 @param initialLength
149149 @param maxLength
150150 @param leaf A pointer to the leaf instance.
151151
152152 @fn void tLinearDelay_initToPool (tLinearDelay* const, float delay, uint32_t maxDelay, tMempool* const)
153− @brief
153+ @brief Initialize a tLinearDelay to a specified mempool.
154154 @param delay A pointer to the tLinearDelay to initialize.
155155 @param initialLength
156156 @param maxLength
@@ -210,7 +210,6 @@ extern "C" { · 53 unmodified lines
210210
211211 typedef struct _tLinearDelay
212212 {
213−
214213 tMempool mempool;
215214
216215 float gain;
@@ -257,14 +256,14 @@ extern "C" { · 40 unmodified lines
257256 @{
258257
259258 @fn void tHermiteDelay_init (tHermiteDelay* const dl, float delay, uint32_t maxDelay, LEAF* const leaf)
260− @brief
259+ @brief Initialize a tHermiteDelay to the default mempool of a LEAF instance.
261260 @param delay A pointer to the tHermiteDelay to initialize.
262261 @param initialLength
263262 @param maxLength
264263 @param leaf A pointer to the leaf instance.
265264
266265 @fn void tHermiteDelay_initToPool (tHermiteDelay* const dl, float delay, uint32_t maxDelay, tMempool* const mp)
267− @brief
266+ @brief Initialize a tHermiteDelay to a specified mempool.
268267 @param delay A pointer to the tHermiteDelay to initialize.
269268 @param initialLength
270269 @param maxLength
@@ -394,54 +393,54 @@ extern "C" { · 123 unmodified lines
394393 @{
395394
396395 @fn void tAllpassDelay_init (tAllpassDelay* const, float delay, uint32_t maxDelay, LEAF* const leaf)
397− @brief
398− @param
396+ @brief Initialize a tAllpassDelay to the default mempool of a LEAF instance.
397+ @param delay A pointer to the tAllpassDelay to initialize.
399398 @param leaf A pointer to the leaf instance.
400399
401400 @fn void tAllpassDelay_initToPool (tAllpassDelay* const, float delay, uint32_t maxDelay, tMempool* const)
402− @brief
403− @param
401+ @brief Initialize a tAllpassDelay to a specified mempool.
402+ @param delay A pointer to the tAllpassDelay to initialize.
404403 @param mempool A pointer to the tMempool to use.
405404
406405 @fn void tAllpassDelay_free (tAllpassDelay* const)
407406 @brief Free a tAllpassDelay from its mempool.
408− @param
407+ @param delay A pointer to the tAllpassDelay to free.
409408
410409 @fn void tAllpassDelay_clear (tAllpassDelay* const)
411410 @brief
412− @param
411+ @param delay A pointer to the relevant tAllpassDelay.
413412
414413 @fn int tAllpassDelay_setDelay (tAllpassDelay* const, float delay)
415414 @brief
416− @param
415+ @param delay A pointer to the relevant tAllpassDelay.
417416
418417 @fn float tAllpassDelay_getDelay (tAllpassDelay* const)
419418 @brief
420− @param
419+ @param delay A pointer to the relevant tAllpassDelay.
421420
422421 @fn void tAllpassDelay_tapIn (tAllpassDelay* const, float in, uint32_t tapDelay)
423422 @brief
424− @param
423+ @param delay A pointer to the relevant tAllpassDelay.
425424
426425 @fn float tAllpassDelay_tapOut (tAllpassDelay* const, uint32_t tapDelay)
427426 @brief
428− @param
427+ @param delay A pointer to the relevant tAllpassDelay.
429428
430429 @fn float tAllpassDelay_addTo (tAllpassDelay* const, float value, uint32_t tapDelay)
431430 @brief
432− @param
431+ @param delay A pointer to the relevant tAllpassDelay.
433432
434433 @fn float tAllpassDelay_tick (tAllpassDelay* const, float sample)
435434 @brief
436− @param
435+ @param delay A pointer to the relevant tAllpassDelay.
437436
438437 @fn float tAllpassDelay_getLastOut (tAllpassDelay* const)
439438 @brief
440− @param
439+ @param delay A pointer to the relevant tAllpassDelay.
441440
442441 @fn float tAllpassDelay_getLastIn (tAllpassDelay* const)
443442 @brief
444− @param
443+ @param delay A pointer to the relevant tAllpassDelay.
445444 
446445 @} */
447446
@@ -492,64 +491,63 @@ extern "C" { · 44 unmodified lines
492491 @{
493492
494493 @fn void tTapeDelay_init (tTapeDelay* const, float delay, uint32_t maxDelay, LEAF* const leaf)
495− @brief
496− @param
494+ @brief Initialize a tTapeDelay to the default mempool of a LEAF instance.
495+ @param delay A pointer to the tTapeDelay to initialize.
497496 @param leaf A pointer to the leaf instance.
498497
499498 @fn void tTapeDelay_initToPool (tTapeDelay* const, float delay, uint32_t maxDelay, tMempool* const)
500− @brief
501− @param
499+ @brief Initialize a tTapeDelay to a specified mempool.
500+ @param delay A pointer to the tTapeDelay to initialize.
502501 @param mempool A pointer to the tMempool to use.
503502
504503 @fn void tTapeDelay_free (tTapeDelay* const)
505504 @brief Free a tTapeDelay from its mempool.
506− @param
505+ @param delay A pointer to the tTapeDelay to free.
507506
508507 @fn void tTapeDelay_clear (tTapeDelay* const)
509− @brief
510− @param
508+ @brief
509+ @param delay A pointer to the relevant tTapeDelay.
511510
512511 @fn void tTapeDelay_setDelay (tTapeDelay* const, float delay)
513512 @brief
514− @param
513+ @param delay A pointer to the relevant tTapeDelay.
515514
516515 @fn float tTapeDelay_getDelay (tTapeDelay* const)
517516 @brief
518− @param
517+ @param delay A pointer to the relevant tTapeDelay.
519518
520519 @fn void tTapeDelay_tapIn (tTapeDelay* const, float in, uint32_t tapDelay)
521520 @brief
522− @param
521+ @param delay A pointer to the relevant tTapeDelay.
523522
524523 @fn float tTapeDelay_tapOut (tTapeDelay* const d, float tapDelay)
525524 @brief
526− @param
525+ @param delay A pointer to the relevant tTapeDelay.
527526
528527 @fn float tTapeDelay_addTo (tTapeDelay* const, float value, uint32_t tapDelay)
529528 @brief
530− @param
529+ @param delay A pointer to the relevant tTapeDelay.
531530
532531 @fn float tTapeDelay_tick (tTapeDelay* const, float sample)
533532 @brief
534− @param
533+ @param delay A pointer to the relevant tTapeDelay.
535534
536535 @fn void tTapeDelay_incrementInPoint(tTapeDelay* const dl)
537536 @brief
538− @param
537+ @param delay A pointer to the relevant tTapeDelay.
539538
540539 @fn float tTapeDelay_getLastOut (tTapeDelay* const)
541540 @brief
542− @param
541+ @param delay A pointer to the relevant tTapeDelay.
543542
544543 @fn float tTapeDelay_getLastIn (tTapeDelay* const)
545544 @brief
546− @param
545+ @param delay A pointer to the relevant tTapeDelay.
547546 
548547 @} */
549548
550549 typedef struct _tTapeDelay
551550 {
552−
553551 tMempool mempool;
554552
555553 float gain;
@@ -593,42 +591,42 @@ extern "C" { · 37 unmodified lines
593591 @{
594592
595593 @fn void tRingBuffer_init (tRingBuffer* const ring, int size, LEAF* const leaf)
596− @brief
597− @param
594+ @brief Initialize a tRingBuffer to the default mempool of a LEAF instance.
595+ @param delay A pointer to the tRingbuffer to initialize.
598596 @param leaf A pointer to the leaf instance.
599597
600598 @fn void tRingBuffer_initToPool (tRingBuffer* const ring, int size, tMempool* const mempool)
601− @brief
602− @param
599+ @brief Initialize a tRingBuffer to a specified mempool.
600+ @param delay A pointer to the tRingbuffer to initialize.
603601 @param mempool A pointer to the tMempool to use.
604602
605603 @fn void tRingBuffer_free (tRingBuffer* const ring)
606604 @brief Free a tRingBuffer from its mempool.
607− @param
605+ @param delay A pointer to the tRingBuffer to free.
608606
609607 @fn void tRingBuffer_push (tRingBuffer* const ring, float val)
610608 @brief
611− @param
609+ @param delay A pointer to the relevant tRingBuffer.
612610
613611 @fn float tRingBuffer_getNewest (tRingBuffer* const ring)
614612 @brief
615− @param
613+ @param delay A pointer to the relevant tRingBuffer.
616614
617615 @fn float tRingBuffer_getOldest (tRingBuffer* const ring)
618616 @brief
619− @param
617+ @param delay A pointer to the relevant tRingBuffer.
620618
621619 @fn float tRingBuffer_get (tRingBuffer* const ring, int index)
622620 @brief
623− @param
621+ @param delay A pointer to the relevant tRingBuffer.
624622
625623 @fn float tRingBuffer_clear (tRingBuffer* const ring)
626624 @brief
627− @param
625+ @param delay A pointer to the relevant tRingBuffer.
628626
629627 @fn int tRingBuffer_getSize (tRingBuffer* const ring)
630628 @brief
631− @param
629+ @param delay A pointer to the relevant tRingBuffer.
632630 
633631 @} */
634632 typedef struct _tRingBuffer
leaf/Inc/leaf-distortion.h+34−30
@@ -36,26 +36,26 @@ extern "C" { · 35 unmodified lines
3636 @{
3737
3838 @fn void tSampleReducer_init (tSampleReducer* const, LEAF* const leaf)
39− @brief
40− @param
39+ @brief Initialize a tSampleReducer to the default mempool of a LEAF instance.
40+ @param reducer A pointer to the tSampleReducer to initialize.
4141 @param leaf A pointer to the leaf instance.
4242
4343 @fn void tSampleReducer_initToPool (tSampleReducer* const, tMempool* const)
44− @brief
45− @param
44+ @brief Initialize a tSampleReducer to a specified mempool.
45+ @param reducer A pointer to the tSampleReducer to initialize.
4646 @param mempool A pointer to the tMempool to use.
4747
4848 @fn void tSampleReducer_free (tSampleReducer* const)
4949 @brief Free a tSampleReducer from its mempool.
50− @param
50+ @param reducer A pointer to the tSampleReducer to free.
5151
5252 @fn float tSampleReducer_tick (tSampleReducer* const, float input)
5353 @brief
54− @param
54+ @param reducer A pointer to the relevant tSampleReducer.
5555
5656 @fn void tSampleReducer_setRatio (tSampleReducer* const, float ratio)
5757 @brief
58− @param
58+ @param reducer A pointer to the relevant tSampleReducer.
5959 
6060 @} */
6161
@@ -86,34 +86,34 @@ extern "C" { · 24 unmodified lines
8686 @{
8787
8888 @fn void tOversampler_init (tOversampler* const, int order, int extraQuality, LEAF* const leaf)
89− @brief
90− @param
89+ @brief Initialize a tOversampler to the default mempool of a LEAF instance.
90+ @param oversampler A pointer to the tOversampler to initialize.
9191 @param leaf A pointer to the leaf instance.
9292
9393 @fn void tOversampler_initToPool (tOversampler* const, int order, int extraQuality, tMempool* const)
94− @brief
95− @param
94+ @brief Initialize a tOversampler to a specified mempool.
95+ @param oversampler A pointer to the tOversampler to initialize.
9696 @param mempool A pointer to the tMempool to use.
9797
9898 @fn void tOversampler_free (tOversampler* const)
9999 @brief Free a tOversampler from its mempool.
100− @param
100+ @param oversampler A pointer to the tOversampler to free.
101101
102102 @fn void tOversampler_upsample (tOversampler* const, float input, float* output)
103103 @brief
104− @param
104+ @param oversampler A pointer to the relevant tOversampler.
105105
106106 @fn float tOversampler_downsample (tOversampler* const os, float* input)
107107 @brief
108− @param
108+ @param oversampler A pointer to the relevant tOversampler.
109109
110110 @fn float tOversampler_tick (tOversampler* const, float input, float* oversample, float (*effectTick)(float))
111111 @brief
112− @param
112+ @param oversampler A pointer to the relevant tOversampler.
113113
114114 @fn int tOversampler_getLatency (tOversampler* const os)
115115 @brief
116− @param
116+ @param oversampler A pointer to the relevant tOversampler.
117117 
118118 @} */
119119
@@ -149,22 +149,22 @@ extern "C" { · 29 unmodified lines
149149 @{
150150
151151 @fn void tLockhartWavefolder_init (tLockhartWavefolder* const, LEAF* const leaf)
152− @brief
153− @param
152+ @brief Initialize a tLockhartWavefolder to the default mempool of a LEAF instance.
153+ @param wavefolder A pointer to the tLockhartWavefolder to initialize.
154154 @param leaf A pointer to the leaf instance.
155155
156156 @fn void tLockhartWavefolder_initToPool (tLockhartWavefolder* const, tMempool* const)
157− @brief
158− @param
157+ @brief Initialize a tLockhartWavefolder to a specified mempool.
158+ @param wavefolder A pointer to the tLockhartWavefolder to initialize.
159159 @param mempool A pointer to the tMempool to use.
160160
161161 @fn void tLockhartWavefolder_free (tLockhartWavefolder* const)
162162 @brief Free a tLockhartWavefolder from its mempool.
163− @param
163+ @param wavefolder A pointer to the tLockhartWavefolder to free.
164164
165165 @fn float tLockhartWavefolder_tick (tLockhartWavefolder* const, float samp)
166166 @brief
167− @param
167+ @param wavefolder A pointer to the relevant tLockhartWavefolder.
168168 
169169 @} */
170170
@@ -217,37 +217,41 @@ extern "C" { · 46 unmodified lines
217217 @{
218218
219219 @fn void tCrusher_init (tCrusher* const, LEAF* const leaf)
220− @brief
221− @param
220+ @brief Initialize a tCrusher to the default mempool of a LEAF instance.
221+ @param crusher A pointer to the tCrusher to initialize.
222222 @param leaf A pointer to the leaf instance.f
223223
224224 @fn void tCrusher_initToPool (tCrusher* const, tMempool* const)
225− @brief
226− @param
225+ @brief Initialize a tCrusher to a specified mempool.
226+ @param crusher A pointer to the tCrusher to initialize.
227227 @param mempool A pointer to the tMempool to use.
228228
229229 @fn void tCrusher_free (tCrusher* const)
230230 @brief Free a tCrusher from its mempool.
231− @param
231+ @param crusher A pointer to the tCrusher to free.
232232
233233 @fn float tCrusher_tick (tCrusher* const, float input)
234234 @brief
235− @param
235+ @param crusher A pointer to the relevant tCrusher.
236236
237237 @fn void tCrusher_setOperation (tCrusher* const, float op)
238238 @brief
239− @param 0.0 - 1.0
239+ @param crusher A pointer to the relevant tCrusher.
240+ @param operation 0.0 - 1.0
240241
241242 @fn void tCrusher_setQuality (tCrusher* const, float val)
242243 @brief
243− @param 0.0 - 1.0
244+ @param crusher A pointer to the relevant tCrusher.
245+ @param quality 0.0 - 1.0
244246
245247 @fn void tCrusher_setRound (tCrusher* const, float rnd)
246248 @brief
249+ @param crusher A pointer to the relevant tCrusher.
247250 @param what division to round to
248251
249252 @fn void tCrusher_setSamplingRatio (tCrusher* const, float ratio)
250253 @brief
254+ @param crusher A pointer to the relevant tCrusher.
251255 @param sampling ratio
252256 
253257 @} */
leaf/Inc/leaf-dynamics.h+28−27
@@ -38,22 +38,22 @@ extern "C" { · 37 unmodified lines
3838 @{
3939
4040 @fn void tCompressor_init (tCompressor* const, LEAF* const leaf)
41− @brief
42− @param
41+ @brief Initialize a tCompressor to the default mempool of a LEAF instance.
42+ @param compressor A pointer to the tCompressor to initialize.
4343 @param leaf A pointer to the leaf instance.
4444
4545 @fn void tCompressor_initToPool (tCompressor* const, tMempool* const)
46− @brief
47− @param
46+ @brief Initialize a tCompressor to a specified mempool.
47+ @param compressor A pointer to the tCompressor to initialize.
4848 @param mempool A pointer to the tMempool to use.
4949
5050 @fn void tCompressor_free (tCompressor* const)
5151 @brief Free a tCompressor from its mempool.
52− @param
52+ @param compressor A pointer to the tCompressor to free.
5353
5454 @fn float tCompressor_tick (tCompressor* const, float input)
5555 @brief
56− @param
56+ @param compressor A pointer to the relevant tCompressor.
5757 
5858 @} */
5959
@@ -84,46 +84,47 @@ extern "C" { · 24 unmodified lines
8484 @defgroup tfeedbackleveler tFeedbackLeveler
8585 @ingroup dynamics
8686 @brief An auto VCA that you put into a feedback circuit to make it stay at the same level.
87− @detail An auto VCA that you put into a feedback circuit to make it stay at the same level. It can enforce level bidirectionally (amplifying and attenuating as needed) or just attenutating. The former option allows for infinite sustain strings, for example, while The latter option allows for decaying strings, which can never exceed a specific level.
87+ @detail An auto VCA that you put into a feedback circuit to make it stay at the same level. It can enforce level bidirectionally (amplifying and attenuating as needed) or just attenutating. The former option allows for infinite sustain strings, for example, while the latter option allows for decaying strings, which can never exceed a specific level.
8888 @{
8989
9090 @fn void tFeedbackLeveler_init (tFeedbackLeveler* const, float targetLevel, float factor, float strength, int mode, LEAF* const leaf)
91− @brief
92− @param
91+ @brief Initialize a tFeedbackLeveler to the default mempool of a LEAF instance.
92+ @param leveler A pointer to the tFeedbackLeveler to initialize.
9393 @param leaf A pointer to the leaf instance.
9494
9595 @fn void tFeedbackLeveler_initToPool (tFeedbackLeveler* const, float targetLevel, float factor, float strength, int mode, tMempool* const)
96− @brief
97− @param
96+ @brief Initialize a tFeedbackLeveler to a specified mempool.
97+ @param leveler A pointer to the tFeedbackLeveler to initialize.
9898 @param mempool A pointer to the tMempool to use.
9999
100100 @fn void tFeedbackLeveler_free (tFeedbackLeveler* const)
101101 @brief Free a tFeedbackLeveler from its mempool.
102− @param
102+ @param leveler A pointer to the tFeedbackLeveler to free.
103103
104104 @fn float tFeedbackLeveler_tick (tFeedbackLeveler* const, float input)
105105 @brief
106− @param
106+ @param leveler A pointer to the relevant tFeedbackLeveler.
107107
108108 @fn float tFeedbackLeveler_sample (tFeedbackLeveler* const)
109109 @brief
110− @param
110+ @param leveler A pointer to the relevant tFeedbackLeveler.
111111
112112 @fn void tFeedbackLeveler_setTargetLevel (tFeedbackLeveler* const, float TargetLevel)
113113 @brief
114− @param
114+ @param leveler A pointer to the relevant tFeedbackLeveler.
115115
116116 @fn void tFeedbackLeveler_setFactor (tFeedbackLeveler* const, float factor)
117117 @brief
118− @param
118+ @param leveler A pointer to the relevant tFeedbackLeveler.
119119
120120 @fn void tFeedbackLeveler_setMode (tFeedbackLeveler* const, int mode)
121121 @brief
122− @param 0 for upwards limiting only, 1 for biderctional limiting
122+ @param leveler A pointer to the relevant tFeedbackLeveler.
123+ @param mode 0 for upwards limiting only, 1 for biderctional limiting
123124
124125 @fn void tFeedbackLeveler_setStrength (tFeedbackLeveler* const, float strength)
125126 @brief
126− @param
127+ @param leveler A pointer to the relevant tFeedbackLeveler.
127128 
128129 @} */
129130
@@ -163,30 +164,30 @@ extern "C" { · 33 unmodified lines
163164 @{
164165
165166 @fn void tThreshold_init (tThreshold* const, float low, float high, LEAF* const leaf)
166− @brief
167− @param
167+ @brief Initialize a tThreshold to the default mempool of a LEAF instance.
168+ @param threshold A pointer to the tThreshold to initialize.
168169 @param leaf A pointer to the leaf instance.
169170
170171 @fn void tThreshold_initToPool (tThreshold* const, float low, float high, tMempool* const)
171− @brief
172− @param
172+ @brief Initialize a tThreshold to a specified mempool.
173+ @param threshold A pointer to the tThreshold to initialize.
173174 @param mempool A pointer to the tMempool to use.
174175
175176 @fn void tThreshold_free (tThreshold* const)
176177 @brief Free a tThreshold from its mempool.
177− @param
178+ @param threshold A pointer to the tThreshold to free.
178179
179180 @fn int tThreshold_tick (tThreshold* const, float input)
180181 @brief
181− @param
182+ @param threshold A pointer to the relevant tThreshold.
182183
183184 @fn void tThreshold_setLow (tThreshold* const, float low)
184185 @brief
185− @param
186+ @param threshold A pointer to the relevant tThreshold.
186187
187188 @fn void tThreshold_setHigh (tThreshold* const, float high)
188189 @brief
189− @param
190+ @param threshold A pointer to the relevant tThreshold.
190191
191192 @} */
192193
@@ -204,7 +205,7 @@ extern "C" { · 11 unmodified lines
204205 void tThreshold_initToPool (tThreshold* const, float low, float high, tMempool* const);
205206 void tThreshold_free (tThreshold* const);
206207
207− int tThreshold_tick (tThreshold* const, float input);
208+ int tThreshold_tick (tThreshold* const, float input);
208209 void tThreshold_setLow (tThreshold* const, float low);
209210 void tThreshold_setHigh (tThreshold* const, float high);
210211
leaf/Inc/leaf-effects.h+104−104
@@ -31,62 +31,62 @@ extern "C" { · 30 unmodified lines
3131 @{
3232
3333 @fn void tTalkbox_init (tTalkbox* const, int bufsize, LEAF* const leaf)
34− @brief
35− @param
34+ @brief Initialize a tTalkbox to the default mempool of a LEAF instance.
35+ @param talkbox A pointer to the tTalkbox to initialize.
3636 @param leaf A pointer to the leaf instance.
3737
3838 @fn void tTalkbox_initToPool (tTalkbox* const, int bufsize, tMempool* const)
39− @brief
40− @param
39+ @brief Initialize a tTalkbox to a specified mempool.
40+ @param talkbox A pointer to the tTalkbox to initialize.
4141 @param mempool A pointer to the tMempool to use.
4242
4343 @fn void tTalkbox_free (tTalkbox* const)
4444 @brief Free a tTalkbox from its mempool.
45− @param
45+ @param talkbox A pointer to the tTalkbox to free.
4646
4747 @fn float tTalkbox_tick (tTalkbox* const, float synth, float voice)
4848 @brief
49− @param
49+ @param talkbox A pointer to the relevant tTalkbox.
5050
5151 @fn float tTalkbox_tickFrozen (tTalkbox* const voc, float synth, float voice)
5252 @brief
53− @param
53+ @param talkbox A pointer to the relevant tTalkbox.
5454
5555 @fn void tTalkbox_update (tTalkbox* const)
5656 @brief
57− @param
57+ @param talkbox A pointer to the relevant tTalkbox.
5858
5959 @fn void tTalkbox_suspend (tTalkbox* const)
6060 @brief
61− @param
61+ @param talkbox A pointer to the relevant tTalkbox.
6262
6363 @fn void tTalkbox_lpcDurbin (float *r, int p, float *k, float *g)
6464 @brief
65− @param
65+ @param talkbox A pointer to the relevant tTalkbox.
6666
6767 @fn void tTalkbox_lpc (float *buf, float *car, double* dl, double* Rt, int32_t n, int32_t o, float warp, int warpOn, float *k, int freeze, float *G)
6868 @brief
69− @param
69+ @param talkbox A pointer to the relevant tTalkbox.
7070
7171 @fn void tTalkbox_setQuality (tTalkbox* const, float quality)
7272 @brief
73− @param
73+ @param talkbox A pointer to the relevant tTalkbox.
7474
7575 @fn void tTalkbox_setWarpFactor (tTalkbox* const voc, float warp)
7676 @brief
77− @param
77+ @param talkbox A pointer to the relevant tTalkbox.
7878
7979 @fn void tTalkbox_setWarpOn (tTalkbox* const voc, float warpOn)
8080 @brief
81− @param
81+ @param talkbox A pointer to the relevant tTalkbox.
8282
8383 @fn void tTalkbox_setFreeze (tTalkbox* const voc, float freeze)
8484 @brief
85− @param
85+ @param talkbox A pointer to the relevant tTalkbox.
8686
8787 @fn void tTalkbox_warpedAutocorrelate (float * x, double* dl, double* Rt, unsigned int L, float * R, unsigned int P, float lambda)
8888 @brief
89− @param
89+ @param talkbox A pointer to the relevant tTalkbox.
9090
9191 @} */
9292
@@ -150,62 +150,62 @@ extern "C" { · 57 unmodified lines
150150 @{
151151
152152 @fn void tTalkboxFloat_init (tTalkboxFloat* const, int bufsize, LEAF* const leaf)
153− @brief
154− @param
153+ @brief Initialize a tTalkboxFloat to the default mempool of a LEAF instance.
154+ @param talkbox A pointer to the tTalkboxFloat to initialize.
155155 @param leaf A pointer to the leaf instance.
156156
157157 @fn void tTalkboxFloat_initToPool (tTalkboxFloat* const, int bufsize, tMempool* const)
158− @brief
159− @param
158+ @brief Initialize a tTalkboxFloat to a specified mempool.
159+ @param talkbox A pointer to the tTalkboxFloat to initialize.
160160 @param mempool A pointer to the tMempool to use.
161161
162162 @fn void tTalkboxFloat_free (tTalkboxFloat* const)
163163 @brief Free a tTalkboxFloat from its mempool.
164− @param
164+ @param talkbox A pointer to the tTalkboxFloat to free.
165165
166166 @fn float tTalkboxFloat_tick (tTalkboxFloat* const, float synth, float voice)
167167 @brief
168− @param
168+ @param talkbox A pointer to the relevant tTalkboxFloat.
169169
170170 @fn float tTalkboxFloat_tickFrozen (tTalkboxFloat* const voc, float synth, float voice)
171171 @brief
172− @param
172+ @param talkbox A pointer to the relevant tTalkboxFloat.
173173
174174 @fn void tTalkboxFloat_update (tTalkboxFloat* const)
175175 @brief
176− @param
176+ @param talkbox A pointer to the relevant tTalkboxFloat.
177177
178178 @fn void tTalkboxFloat_suspend (tTalkboxFloat* const)
179179 @brief
180− @param
180+ @param talkbox A pointer to the relevant tTalkboxFloat.
181181
182182 @fn void tTalkboxFloat_lpcDurbin (float *r, int p, float *k, float *g)
183183 @brief
184− @param
184+ @param talkbox A pointer to the relevant tTalkboxFloat.
185185
186186 @fn void tTalkboxFloat_lpc (float *buf, float *car, float* dl, float* Rt, int32_t n, int32_t o, float warp, int warpOn, float *k, int freeze, float *G)
187187 @brief
188− @param
188+ @param talkbox A pointer to the relevant tTalkboxFloat.
189189
190190 @fn void tTalkboxFloat_setQuality (tTalkboxFloat* const, float quality)
191191 @brief
192− @param
192+ @param talkbox A pointer to the relevant tTalkboxFloat.
193193
194194 @fn void tTalkboxFloat_setWarpFactor (tTalkboxFloat* const voc, float warp)
195195 @brief
196− @param
196+ @param talkbox A pointer to the relevant tTalkboxFloat.
197197
198198 @fn void tTalkboxFloat_setWarpOn (tTalkboxFloat* const voc, float warpOn)
199199 @brief
200− @param
200+ @param talkbox A pointer to the relevant tTalkboxFloat.
201201
202202 @fn void tTalkboxFloat_setFreeze (tTalkboxFloat* const voc, float freeze)
203203 @brief
204− @param
204+ @param talkbox A pointer to the relevant tTalkboxFloat.
205205
206206 @fn void tTalkboxFloat_warpedAutocorrelate (float * x, float* dl, float* Rt, unsigned int L, float * R, unsigned int P, float lambda)
207207 @brief
208− @param
208+ @param talkbox A pointer to the relevant tTalkboxFloat.
209209
210210 @} */
211211
@@ -264,30 +264,30 @@ extern "C" { · 52 unmodified lines
264264 @{
265265
266266 @fn void tVocoder_init (tVocoder* const, LEAF* const leaf)
267− @brief
268− @param
267+ @brief Initialize a tVocoder to the default mempool of a LEAF instance.
268+ @param vocoder A pointer to the tVocoder to initialize.
269269 @param leaf A pointer to the leaf instance.
270270
271271 @fn void tVocoder_initToPool (tVocoder* const, tMempool* const)
272− @brief
273− @param
272+ @brief Initialize a tVocoder to a specified mempool.
273+ @param vocoder A pointer to the tVocoder to initialize.
274274 @param mempool A pointer to the tMempool to use.
275275
276276 @fn void tVocoder_free (tVocoder* const)
277277 @brief Free a tVocoder from its mempool.
278− @param
278+ @param vocoder A pointer to the tVocoder to free.
279279
280280 @fn float tVocoder_tick (tVocoder* const, float synth, float voice)
281281 @brief
282− @param
282+ @param vocoder A pointer to the relevant tVocoder.
283283
284284 @fn void tVocoder_update (tVocoder* const)
285285 @brief
286− @param
286+ @param vocoder A pointer to the relevant tVocoder.
287287
288288 @fn void tVocoder_suspend (tVocoder* const)
289289 @brief
290− @param
290+ @param vocoder A pointer to the relevant tVocoder.
291291
292292 @} */
293293
@@ -331,42 +331,42 @@ extern "C" { · 37 unmodified lines
331331 @{
332332
333333 @fn void tRosenbergGlottalPulse_init (tRosenbergGlottalPulse* const, LEAF* const leaf)
334− @brief
335− @param
334+ @brief Initialize a tRosenbergGlottalPulse to the default mempool of a LEAF instance.
335+ @param pulse A pointer to the tRosenbergGlottalPulse to initialize.
336336 @param leaf A pointer to the leaf instance.
337337
338338 @fn void tRosenbergGlottalPulse_initToPool (tRosenbergGlottalPulse* const, tMempool* const)
339− @brief
340− @param
339+ @brief Initialize a tRosenbergGlottalPulse to a specified mempool.
340+ @param pulse A pointer to the tRosenbergGlottalPulse to initialize.
341341 @param mempool A pointer to the tMempool to use.
342342
343343 @fn void tRosenbergGlottalPulse_free (tRosenbergGlottalPulse* const)
344344 @brief Free a tRosenbergGlottalPulse from its mempool.
345− @param
345+ @param pulse A pointer to the tRosenbergGlottalPulse to free.
346346
347347 @fn float tRosenbergGlottalPulse_tick (tRosenbergGlottalPulse* const)
348348 @brief
349− @param
349+ @param pulse A pointer to the relevant tRosenbergGlottalPulse.
350350
351351 @fn float tRosenbergGlottalPulse_tickHQ (tRosenbergGlottalPulse* const gp)
352352 @brief
353− @param
353+ @param pulse A pointer to the relevant tRosenbergGlottalPulse.
354354
355355 @fn void tRosenbergGlottalPulse_setFreq (tRosenbergGlottalPulse* const, float freq)
356356 @brief
357− @param
357+ @param pulse A pointer to the relevant tRosenbergGlottalPulse.
358358
359359 @fn void tRosenbergGlottalPulse_setOpenLength (tRosenbergGlottalPulse* const, float openLength)
360360 @brief
361− @param
361+ @param pulse A pointer to the relevant tRosenbergGlottalPulse.
362362
363363 @fn void tRosenbergGlottalPulse_setPulseLength (tRosenbergGlottalPulse* const, float pulseLength)
364364 @brief
365− @param
365+ @param pulse A pointer to the relevant tRosenbergGlottalPulse.
366366
367367 @fn void tRosenbergGlottalPulse_setOpenLengthAndPulseLength (tRosenbergGlottalPulse* const gp, float openLength, float pulseLength)
368368 @brief
369− @param
369+ @param pulse A pointer to the relevant tRosenbergGlottalPulse.
370370
371371 @} */
372372
@@ -405,38 +405,38 @@ extern "C" { · 32 unmodified lines
405405 @{
406406
407407 @fn void tSOLAD_init (tSOLAD* const, LEAF* const leaf)
408− @brief
409− @param
408+ @brief Initialize a tSOLAD to the default mempool of a LEAF instance.
409+ @param solad A pointer to the tSOLAD to initialize.
410410 @param leaf A pointer to the leaf instance.
411411
412412 @fn void tSOLAD_initToPool (tSOLAD* const, tMempool* const)
413− @brief
414− @param
413+ @brief Initialize a tSOLAD to a specified mempool.
414+ @param solad A pointer to the tSOLAD to initialize.
415415 @param mempool A pointer to the tMempool to use.
416416
417417 @fn void tSOLAD_free (tSOLAD* const)
418418 @brief Free a tSOLAD from its mempool.
419− @param
419+ @param solad A pointer to the tSOLAD to free.
420420
421421 @fn void tSOLAD_ioSamples (tSOLAD *w, float* in, float* out, int blocksize)
422− @brief send one block of input samples, receive one block of output samples
423− @param
422+ @brief Send one block of input samples, receive one block of output samples
423+ @param solad A pointer to the relevant tSOLAD.
424424
425425 @fn void tSOLAD_setPeriod (tSOLAD *w, float period)
426− @brief set periodicity analysis data
427− @param
426+ @brief Set periodicity analysis data
427+ @param solad A pointer to the relevant tSOLAD.
428428
429429 @fn void tSOLAD_setPitchFactor (tSOLAD *w, float pitchfactor)
430− @brief set pitch factor between 0.25 and 4
431− @param
430+ @brief Set pitch factor between 0.25 and 4
431+ @param solad A pointer to the relevant tSOLAD.
432432
433433 @fn void tSOLAD_setReadLag (tSOLAD *w, float readlag)
434− @brief force readpointer lag
435− @param
434+ @brief Force readpointer lag
435+ @param solad A pointer to the relevant tSOLAD.
436436
437437 @fn void tSOLAD_resetState (tSOLAD *w)
438− @brief reset state variables
439− @param
438+ @brief Reset state variables
439+ @param solad A pointer to the relevant tSOLAD.
440440
441441 @} */
442442
@@ -492,34 +492,34 @@ extern "C" { · 49 unmodified lines
492492 @{
493493
494494 @fn void tPitchShift_init (tPitchShift* const, tPeriodDetection* const, float* out, int bufSize, LEAF* const leaf)
495− @brief
496− @param
495+ @brief Initialize a tPitchShift to the default mempool of a LEAF instance.
496+ @param pitchshift A pointer to the tPitchShift to initialize.
497497 @param leaf A pointer to the leaf instance.
498498
499499 @fn void tPitchShift_initToPool (tPitchShift* const, tPeriodDetection* const, float* out, int bufSize, tMempool* const)
500− @brief
501− @param
500+ @brief Initialize a tPitchShift to a specified mempool.
501+ @param pitchshift A pointer to the tPitchShift to initialize.
502502 @param mempool A pointer to the tMempool to use.
503503
504504 @fn void tPitchShift_free (tPitchShift* const)
505505 @brief Free a tPitchShift from its mempool.
506− @param
506+ @param pitchshift A pointer to the tPitchShift to free.
507507
508508 @fn float tPitchShift_shift (tPitchShift* const)
509509 @brief
510− @param
510+ @param pitchshift A pointer to the relevant tPitchShift.
511511
512512 @fn float tPitchShift_shiftToFunc (tPitchShift* const, float (*fun)(float))
513513 @brief
514− @param
514+ @param pitchshift A pointer to the relevant tPitchShift.
515515
516516 @fn float tPitchShift_shiftToFreq (tPitchShift* const, float freq)
517517 @brief
518− @param
518+ @param pitchshift A pointer to the relevant tPitchShift.
519519
520520 @fn void tPitchShift_setPitchFactor (tPitchShift* const, float pf)
521521 @brief
522− @param
522+ @param pitchshift A pointer to the relevant tPitchShift.
523523
524524 @} */
525525
@@ -556,34 +556,34 @@ extern "C" { · 30 unmodified lines
556556 @{
557557
558558 @fn void tSimpleRetune_init (tSimpleRetune* const, int numVoices, int bufSize, int frameSize, LEAF* const leaf)
559− @brief
560− @param
559+ @brief Initialize a tSimpleRetune to the default mempool of a LEAF instance.
560+ @param retune A pointer to the tSimpleRetune to initialize.
561561 @param leaf A pointer to the leaf instance.
562562
563563 @fn void tSimpleRetune_initToPool (tSimpleRetune* const, int numVoices, int bufSize, int frameSize, tMempool* const)
564− @brief
565− @param
564+ @brief Initialize a tSimpleRetune to a specified mempool.
565+ @param retune A pointer to the tSimpleRetune to initialize.
566566 @param mempool A pointer to the tMempool to use.
567567
568568 @fn void tSimpleRetune_free (tSimpleRetune* const)
569569 @brief Free a tSimpleRetune from its mempool.
570− @param
570+ @param retune A pointer to the tSimpleRetune to free.
571571
572572 @fn float* tSimpleRetune_tick (tSimpleRetune* const, float sample)
573573 @brief
574− @param
574+ @param retune A pointer to the relevant tSimpleRetune.
575575
576576 @fn void tSimpleRetune_setNumVoices (tSimpleRetune* const, int numVoices)
577577 @brief
578− @param
578+ @param retune A pointer to the relevant tSimpleRetune.
579579
580580 @fn void tSimpleRetune_tuneVoices (tSimpleRetune* const, float f)
581581 @brief
582− @param
582+ @param retune A pointer to the relevant tSimpleRetune.
583583
584584 @fn void tSimpleRetune_tuneVoice (tSimpleRetune* const, float f, int voice)
585585 @brief
586− @param
586+ @param retune A pointer to the relevant tSimpleRetune.
587587
588588 @} */
589589
@@ -628,34 +628,34 @@ extern "C" { · 38 unmodified lines
628628 @{
629629
630630 @fn void tRetune_init (tRetune* const, int numVoices, int bufSize, int frameSize, LEAF* const leaf)
631− @brief
632− @param
631+ @brief Initialize a tRetune to the default mempool of a LEAF instance.
632+ @param retune A pointer to the tRetune to initialize.
633633 @param leaf A pointer to the leaf instance.
634634
635635 @fn void tRetune_initToPool (tRetune* const, int numVoices, int bufSize, int frameSize, tMempool* const)
636− @brief
637− @param
636+ @brief Initialize a tRetune to a specified mempool.
637+ @param retune A pointer to the tRetune to initialize.
638638 @param mempool A pointer to the tMempool to use.
639639
640640 @fn void tRetune_free (tRetune* const)
641641 @brief Free a tRetune from its mempool.
642− @param
642+ @param retune A pointer to the tRetune to free.
643643
644644 @fn float* tRetune_tick (tRetune* const, float sample)
645645 @brief
646− @param
646+ @param retune A pointer to the relevant tRetune.
647647
648648 @fn void tRetune_setNumVoices (tRetune* const, int numVoices)
649649 @brief
650− @param
650+ @param retune A pointer to the relevant tRetune.
651651
652652 @fn void tRetune_setPitchFactors (tRetune* const, float pf)
653653 @brief
654− @param
654+ @param retune A pointer to the relevant tRetune.
655655
656656 @fn void tRetune_setPitchFactor (tRetune* const, float pf, int voice)
657657 @brief
658− @param
658+ @param retune A pointer to the relevant tRetune.
659659
660660 @} */
661661
@@ -705,42 +705,42 @@ extern "C" { · 43 unmodified lines
705705 @{
706706
707707 @fn void tFormantShifter_init (tFormantShifter* const, int order, LEAF* const leaf)
708− @brief
709− @param
708+ @brief Initialize a tFormantShifter to the default mempool of a LEAF instance.
709+ @param formant A pointer to the tFormantShifter to initialize.
710710 @param leaf A pointer to the leaf instance.
711711
712712 @fn void tFormantShifter_initToPool (tFormantShifter* const, int order, tMempool* const)
713− @brief
714− @param
713+ @brief Initialize a tFormantShifter to a specified mempool.
714+ @param formant A pointer to the tFormantShifter to initialize.
715715 @param mempool A pointer to the tMempool to use.
716716
717717 @fn void tFormantShifter_free (tFormantShifter* const)
718718 @brief Free a tFormantShifter from its mempool.
719− @param
719+ @param formant A pointer to the tFormantShifter to free.
720720
721721 @fn float tFormantShifter_tick (tFormantShifter* const, float input)
722722 @brief
723− @param
723+ @param formant A pointer to the relevant tFormantShifter.
724724
725725 @fn float tFormantShifter_remove (tFormantShifter* const, float input)
726726 @brief
727− @param
727+ @param formant A pointer to the relevant tFormantShifter.
728728
729729 @fn float tFormantShifter_add (tFormantShifter* const, float input)
730730 @brief
731− @param
731+ @param formant A pointer to the relevant tFormantShifter.
732732
733733 @fn void tFormantShifter_ioSamples (tFormantShifter* const, float* in, float* out, int size, float fwarp)
734734 @brief
735− @param
735+ @param formant A pointer to the relevant tFormantShifter.
736736
737737 @fn void tFormantShifter_setShiftFactor (tFormantShifter* const, float shiftFactor)
738738 @brief
739− @param
739+ @param formant A pointer to the relevant tFormantShifter.
740740
741741 @fn void tFormantShifter_setIntensity (tFormantShifter* const, float intensity)
742742 @brief
743− @param
743+ @param formant A pointer to the relevant tFormantShifter.
744744
745745 @} */
746746
leaf/Inc/leaf-electrical.h+16−16
@@ -35,59 +35,59 @@ extern "C" { · 34 unmodified lines
3535 @{
3636
3737 @fn void tWDF_init (tWDF* const, WDFComponentType type, float value, tWDF* const rL, tWDF* const rR, LEAF* const leaf)
38− @brief
39− @param
38+ @brief Initialize a tWDF to the default mempool of a LEAF instance.
39+ @param wdf A pointer to the tWDF to initialize.
4040 @param leaf A pointer to the leaf instance.
4141
4242 @fn void tWDF_initToPool (tWDF* const, WDFComponentType type, float value, tWDF* const rL, tWDF* const rR, tMempool* const)
43− @brief
44− @param
43+ @brief Initialize a tWDF to a specified mempool.
44+ @param wdf A pointer to the tWDF to initialize.
4545 @param mempool A pointer to the tMempool to use.
4646
4747 @fn void tWDF_free (tWDF* const)
4848 @brief Free a tWDF from its mempool.
49− @param
49+ @param wdf A pointer to the tWDF to free.
5050
5151 @fn float tWDF_tick (tWDF* const, float sample, tWDF* const outputPoint, uint8_t paramsChanged)
5252 @brief
53− @param
53+ @param wdf A pointer to the relevant tWDF.
5454
5555 @fn void tWDF_setValue (tWDF* const, float value)
5656 @brief
57− @param
57+ @param wdf A pointer to the relevant tWDF.
5858
5959 @fn void tWDF_setSampleRate (tWDF* const, float sample_rate)
6060 @brief
61− @param
61+ @param wdf A pointer to the relevant tWDF.
6262
6363 @fn uint8_t tWDF_isLeaf (tWDF* const)
6464 @brief
65− @param
65+ @param wdf A pointer to the relevant tWDF.
6666
6767 @fn float tWDF_getPortResistance (tWDF* const)
6868 @brief
69− @param
69+ @param wdf A pointer to the relevant tWDF.
7070
7171 @fn float tWDF_getReflectedWaveUp (tWDF* const, float input)
7272 @brief
73− @param
73+ @param wdf A pointer to the relevant tWDF.
7474
7575 @fn float tWDF_getReflectedWaveDown (tWDF* const, float input, float incident_wave)
7676 @brief
77− @param
77+ @param wdf A pointer to the relevant tWDF.
7878
7979 @fn void tWDF_setIncidentWave (tWDF* const, float incident_wave, float input)
8080 @brief
81− @param
81+ @param wdf A pointer to the relevant tWDF.
8282
8383 @fn float tWDF_getVoltage (tWDF* const)
8484 @brief
85− @param
85+ @param wdf A pointer to the relevant tWDF.
8686
8787 @fn float tWDF_getCurrent (tWDF* const)
8888 @brief
89− @param
90−
89+ @param wdf A pointer to the relevant tWDF.
90+
9191 @} */
9292
9393 typedef enum WDFComponentType
leaf/Inc/leaf-envelopes.h+106−106
@@ -41,38 +41,38 @@ extern "C" { · 40 unmodified lines
4141 @{
4242
4343 @fn void tEnvelope_init (tEnvelope* const, float attack, float decay, int loop, LEAF* const leaf)
44− @brief
45− @param
44+ @brief Initialize a tEnvelope to the default mempool of a LEAF instance.
45+ @param envelope A pointer to the tEnvelope to initialize.
4646 @param leaf A pointer to the leaf instance.
4747
4848 @fn void tEnvelope_initToPool (tEnvelope* const, float attack, float decay, int loop, tMempool* const)
49− @brief
50− @param
49+ @brief Initialize a tEnvelope to a specified mempool.
50+ @param envelope A pointer to the tEnvelope to initialize.
5151 @param mempool A pointer to the tMempool to use.
5252
5353 @fn void tEnvelope_free (tEnvelope* const)
5454 @brief Free a tEnvelope from its mempool.
55− @param
55+ @param envelope A pointer to the tEnvelope to free.
5656
5757 @fn float tEnvelope_tick (tEnvelope* const)
5858 @brief
59− @param
59+ @param envelope A pointer to the relevant tEnvelope.
6060
6161 @fn void tEnvelope_setAttack (tEnvelope* const, float attack)
6262 @brief
63− @param
63+ @param envelope A pointer to the relevant tEnvelope.
6464
6565 @fn void tEnvelope_setDecay (tEnvelope* const, float decay)
6666 @brief
67− @param
67+ @param envelope A pointer to the relevant tEnvelope.
6868
6969 @fn void tEnvelope_loop (tEnvelope* const, int loop)
7070 @brief
71− @param
71+ @param envelope A pointer to the relevant tEnvelope.
7272
7373 @fn void tEnvelope_on (tEnvelope* const, float velocity)
7474 @brief
75− @param
75+ @param envelope A pointer to the relevant tEnvelope.
7676
7777 @} */
7878
@@ -121,42 +121,42 @@ extern "C" { · 42 unmodified lines
121121 @{
122122
123123 @fn void tExpSmooth_init (tExpSmooth* const, float val, float factor, LEAF* const leaf)
124− @brief
125− @param
124+ @brief Initialize a tExpSmooth to the default mempool of a LEAF instance.
125+ @param smooth A pointer to the tExpSmooth to initialize.
126126 @param leaf A pointer to the leaf instance.
127127
128128 @fn void tExpSmooth_initToPool (tExpSmooth* const, float val, float factor, tMempool* const)
129− @brief
130− @param
129+ @brief Initialize a tExpSmooth to a specified mempool.
130+ @param smooth A pointer to the tExpSmooth to initialize.
131131 @param mempool A pointer to the tMempool to use.
132132
133133 @fn void tExpSmooth_free (tExpSmooth* const)
134134 @brief Free a tExpSmooth from its mempool.
135− @param
135+ @param smooth A pointer to the tExpSmooth to free.
136136
137137 @fn float tExpSmooth_tick (tExpSmooth* const)
138138 @brief
139− @param
139+ @param smooth A pointer to the relevant tExpSmooth.
140140
141141 @fn float tExpSmooth_sample (tExpSmooth* const)
142142 @brief
143− @param
143+ @param smooth A pointer to the relevant tExpSmooth.
144144
145145 @fn void tExpSmooth_setFactor (tExpSmooth* const, float factor)
146146 @brief
147− @param
147+ @param smooth A pointer to the relevant tExpSmooth.
148148
149149 @fn void tExpSmooth_setDest (tExpSmooth* const, float dest)
150150 @brief
151− @param
151+ @param smooth A pointer to the relevant tExpSmooth.
152152
153153 @fn void tExpSmooth_setVal (tExpSmooth* const, float val)
154154 @brief
155− @param
155+ @param smooth A pointer to the relevant tExpSmooth.
156156
157157 @fn void tExpSmooth_setValAndDest(tExpSmooth* const expsmooth, float val)
158158 @brief
159− @param
159+ @param smooth A pointer to the relevant tExpSmooth.
160160
161161 @} */
162162
@@ -193,50 +193,50 @@ extern "C" { · 30 unmodified lines
193193 @{
194194
195195 @fn void tADSR_init (tADSR* const adsrenv, float attack, float decay, float sustain, float release, LEAF* const leaf)
196− @brief
197− @param
196+ @brief Initialize a tADSR to the default mempool of a LEAF instance.
197+ @param adsr A pointer to the tADSR to initialize.
198198 @param leaf A pointer to the leaf instance.
199199
200200 @fn void tADSR_initToPool (tADSR* const adsrenv, float attack, float decay, float sustain, float release, tMempool* const mp)
201− @brief
202− @param
201+ @brief Initialize a tADSR to a specified mempool.
202+ @param adsr A pointer to the tADSR to initialize.
203203 @param mempool A pointer to the tMempool to use.
204204
205205 @fn void tADSR_free (tADSR* const)
206206 @brief Free a tADSR from its mempool.
207− @param
207+ @param adsr A pointer to the tADSR to free.
208208
209209 @fn float tADSR_tick (tADSR* const)
210210 @brief
211− @param
211+ @param adsr A pointer to the relevant tADSR.
212212
213213 @fn void tADSR_setAttack (tADSR* const, float attack)
214214 @brief
215− @param
215+ @param adsr A pointer to the relevant tADSR.
216216
217217 @fn void tADSR_setDecay (tADSR* const, float decay)
218218 @brief
219− @param
219+ @param adsr A pointer to the relevant tADSR.
220220
221221 @fn void tADSR_setSustain (tADSR* const, float sustain)
222222 @brief
223− @param
223+ @param adsr A pointer to the relevant tADSR.
224224
225225 @fn void tADSR_setRelease (tADSR* const, float release)
226226 @brief
227− @param
227+ @param adsr A pointer to the relevant tADSR.
228228
229229 @fn void tADSR_setLeakFactor (tADSR* const, float leakFactor)
230230 @brief
231− @param
231+ @param adsr A pointer to the relevant tADSR.
232232
233233 @fn void tADSR_on (tADSR* const, float velocity)
234234 @brief
235− @param
235+ @param adsr A pointer to the relevant tADSR.
236236
237237 @fn void tADSR_off (tADSR* const)
238238 @brief
239− @param
239+ @param adsr A pointer to the relevant tADSR.
240240
241241 @} */
242242
@@ -287,50 +287,50 @@ extern "C" { · 44 unmodified lines
287287 @{
288288
289289 @fn void tADSR2_init (tADSR2* const, float attack, float decay, float sustain, float release, LEAF* const leaf)
290− @brief
291− @param
290+ @brief Initialize a tADSR2 to the default mempool of a LEAF instance.
291+ @param adsr A pointer to the tADSR2 to initialize.
292292 @param leaf A pointer to the leaf instance.
293293
294294 @fn void tADSR2_initToPool (tADSR2* const, float attack, float decay, float sustain, float release, tMempool* const)
295− @brief
296− @param
295+ @brief Initialize a tADSR2 to a specified mempool.
296+ @param adsr A pointer to the tADSR2 to initialize.
297297 @param mempool A pointer to the tMempool to use.
298298
299299 @fn void tADSR2_free (tADSR2* const)
300300 @brief Free a tADSR2 from its mempool.
301− @param
301+ @param adsr A pointer to the tADSR2 to free.
302302
303303 @fn float tADSR2_tick (tADSR2* const)
304304 @brief
305− @param
306−
305+ @param adsr A pointer to the relevant tADSR2.
306+
307307 @fn void tADSR2_setAttack (tADSR2* const, float attack)
308308 @brief
309− @param
309+ @param adsr A pointer to the relevant tADSR2.
310310
311311 @fn void tADSR2_setDecay (tADSR2* const, float decay)
312312 @brief
313− @param
313+ @param adsr A pointer to the relevant tADSR2.
314314
315315 @fn void tADSR2_setSustain (tADSR2* const, float sustain)
316316 @brief
317− @param
317+ @param adsr A pointer to the relevant tADSR2.
318318
319319 @fn void tADSR2_setRelease (tADSR2* const, float release)
320320 @brief
321− @param
321+ @param adsr A pointer to the relevant tADSR2.
322322
323323 @fn void tADSR2_setLeakFactor (tADSR2* const, float leakFactor)
324324 @brief
325− @param
325+ @param adsr A pointer to the relevant tADSR2.
326326
327327 @fn void tADSR2_on (tADSR2* const, float velocity)
328328 @brief
329− @param
329+ @param adsr A pointer to the relevant tADSR2.
330330
331331 @fn void tADSR2_off (tADSR2* const)
332332 @brief
333− @param
333+ @param adsr A pointer to the relevant tADSR2.
334334
335335 @} */
336336
@@ -383,50 +383,50 @@ extern "C" { · 46 unmodified lines
383383 @{
384384
385385 @fn void tADSR3_init (tADSR3* const, float attack, float decay, float sustain, float release, LEAF* const leaf)
386− @brief
387− @param
386+ @brief Initialize a tADSR3 to the default mempool of a LEAF instance.
387+ @param adsr A pointer to the tADSR3 to initialize.
388388 @param leaf A pointer to the leaf instance.
389389
390390 @fn void tADSR3_initToPool (tADSR3* const, float attack, float decay, float sustain, float release, tMempool* const)
391− @brief
392− @param
391+ @brief Initialize a tADSR3 to a specified mempool.
392+ @param adsr A pointer to the tADSR3 to initialize.
393393 @param mempool A pointer to the tMempool to use.
394394
395395 @fn void tADSR3_free (tADSR3* const)
396396 @brief Free a tADSR3 from its mempool.
397− @param
397+ @param adsr A pointer to the tADSR3 to free.
398398
399399 @fn float tADSR3_tick (tADSR3* const)
400400 @brief
401− @param
401+ @param adsr A pointer to the relevant tADSR3.
402402
403403 @fn void tADSR3_setAttack (tADSR3* const, float attack)
404404 @brief
405− @param
405+ @param adsr A pointer to the relevant tADSR3.
406406
407407 @fn void tADSR3_setDecay (tADSR3* const, float decay)
408408 @brief
409− @param
409+ @param adsr A pointer to the relevant tADSR3.
410410
411411 @fn void tADSR3_setSustain (tADSR3* const, float sustain)
412412 @brief
413− @param
413+ @param adsr A pointer to the relevant tADSR3.
414414
415415 @fn void tADSR3_setRelease (tADSR3* const, float release)
416416 @brief
417− @param
417+ @param adsr A pointer to the relevant tADSR3.
418418
419419 @fn void tADSR3_setLeakFactor (tADSR3* const, float leakFactor)
420420 @brief
421− @param
421+ @param adsr A pointer to the relevant tADSR3.
422422
423423 @fn void tADSR3_on (tADSR3* const, float velocity)
424424 @brief
425− @param
425+ @param adsr A pointer to the relevant tADSR3.
426426
427427 @fn void tADSR3_off (tADSR3* const)
428428 @brief
429− @param
429+ @param adsr A pointer to the relevant tADSR3.
430430
431431 @} */
432432
@@ -490,54 +490,54 @@ extern "C" { · 57 unmodified lines
490490 @{
491491
492492 @fn void tADSR4_init (tADSR4* const, float attack, float decay, float sustain, float release, float* expBuffer, int bufferSize, LEAF* const leaf)
493− @brief
494− @param
493+ @brief Initialize a tADSR4 to the default mempool of a LEAF instance.
494+ @param adsr A pointer to the tADSR4 to initialize.
495495 @param leaf A pointer to the leaf instance.
496496
497497 @fn void tADSR4_initToPool (tADSR4* const, float attack, float decay, float sustain, float release, float* expBuffer, int bufferSize, tMempool* const)
498− @brief
499− @param
498+ @brief Initialize a tADSR4 to a specified mempool.
499+ @param adsr A pointer to the tADSR4 to initialize.
500500 @param mempool A pointer to the tMempool to use.
501501
502502 @fn void tADSR4_free (tADSR4* const)
503503 @brief Free a tADSR4 from its mempool.
504− @param
504+ @param adsr A pointer to the tADSR4 to free.
505505
506506 @fn float tADSR4_tick (tADSR4* const)
507507 @brief
508− @param
508+ @param adsr A pointer to the relevant tADSR4.
509509
510510 @fn float tADSR4_tickNoInterp (tADSR4* const adsrenv)
511511 @brief
512− @param
512+ @param adsr A pointer to the relevant tADSR4.
513513
514514 @fn void tADSR4_setAttack (tADSR4* const, float attack)
515515 @brief
516− @param
516+ @param adsr A pointer to the relevant tADSR4.
517517
518518 @fn void tADSR4_setDecay (tADSR4* const, float decay)
519519 @brief
520− @param
520+ @param adsr A pointer to the relevant tADSR4.
521521
522522 @fn void tADSR4_setSustain (tADSR4* const, float sustain)
523523 @brief
524− @param
524+ @param adsr A pointer to the relevant tADSR4.
525525
526526 @fn void tADSR4_setRelease (tADSR4* const, float release)
527527 @brief
528− @param
528+ @param adsr A pointer to the relevant tADSR4.
529529
530530 @fn void tADSR4_setLeakFactor (tADSR4* const, float leakFactor)
531531 @brief
532− @param
532+ @param adsr A pointer to the relevant tADSR4.
533533
534534 @fn void tADSR4_on (tADSR4* const, float velocity)
535535 @brief
536− @param
536+ @param adsr A pointer to the relevant tADSR4.
537537
538538 @fn void tADSR4_off (tADSR4* const)
539539 @brief
540− @param
540+ @param adsr A pointer to the relevant tADSR4.
541541
542542 @} */
543543
@@ -587,38 +587,38 @@ extern "C" { · 43 unmodified lines
587587 @{
588588
589589 @fn void tRamp_init (tRamp* const, float time, int samplesPerTick, LEAF* const leaf)
590− @brief
591− @param
590+ @brief Initialize a tRamp to the default mempool of a LEAF instance.
591+ @param ramp A pointer to the tRamp to initialize.
592592 @param leaf A pointer to the leaf instance.
593593
594594 @fn void tRamp_initToPool (tRamp* const, float time, int samplesPerTick, tMempool* const)
595− @brief
596− @param
595+ @brief Initialize a tRamp to a specified mempool.
596+ @param ramp A pointer to the tRamp to initialize.
597597 @param mempool A pointer to the tMempool to use.
598598
599599 @fn void tRamp_free (tRamp* const)
600600 @brief Free a tRamp from its mempool.
601− @param
601+ @param ramp A pointer to the tRamp to free.
602602
603603 @fn float tRamp_tick (tRamp* const)
604604 @brief
605− @param
605+ @param ramp A pointer to the relevant tRamp.
606606
607607 @fn float tRamp_sample (tRamp* const)
608608 @brief
609− @param
609+ @param ramp A pointer to the relevant tRamp.
610610
611611 @fn void tRamp_setTime (tRamp* const, float time)
612612 @brief
613− @param
613+ @param ramp A pointer to the relevant tRamp.
614614
615615 @fn void tRamp_setDest (tRamp* const, float dest)
616616 @brief
617− @param
617+ @param ramp A pointer to the relevant tRamp.
618618
619619 @fn void tRamp_setVal (tRamp* const, float val)
620620 @brief
621− @param
621+ @param ramp A pointer to the relevant tRamp.
622622
623623 @} */
624624
@@ -654,42 +654,42 @@ extern "C" { · 29 unmodified lines
654654 @{
655655
656656 @fn void tRampUpDown_init (tRampUpDown* const, float upTime, float downTime, int samplesPerTick, LEAF* const leaf)
657− @brief
658− @param
657+ @brief Initialize a tRampUpDown to the default mempool of a LEAF instance.
658+ @param ramp A pointer to the tRampUpDown to initialize.
659659 @param leaf A pointer to the leaf instance.
660660
661661 @fn void tRampUpDown_initToPool (tRampUpDown* const, float upTime, float downTime, int samplesPerTick, tMempool* const)
662− @brief
663− @param
662+ @brief Initialize a tRampUpDown to a specified mempool.
663+ @param ramp A pointer to the tRampUpDown to initialize.
664664 @param mempool A pointer to the tMempool to use.
665665
666666 @fn void tRampUpDown_free (tRampUpDown* const)
667667 @brief Free a tRampUpDown from its mempool.
668− @param
668+ @param ramp A pointer to the tRampUpDown to free.
669669
670670 @fn float tRampUpDown_tick (tRampUpDown* const)
671671 @brief
672− @param
672+ @param ramp A pointer to the relevant tRampUpDown.
673673
674674 @fn float tRampUpDown_sample (tRampUpDown* const)
675675 @brief
676− @param
676+ @param ramp A pointer to the relevant tRampUpDown.
677677
678678 @fn void tRampUpDown_setUpTime (tRampUpDown* const, float upTime)
679679 @brief
680− @param
680+ @param ramp A pointer to the relevant tRampUpDown.
681681
682682 @fn void tRampUpDown_setDownTime (tRampUpDown* const, float downTime)
683683 @brief
684− @param
684+ @param ramp A pointer to the relevant tRampUpDown.
685685
686686 @fn void tRampUpDown_setDest (tRampUpDown* const, float dest)
687687 @brief
688− @param
688+ @param ramp A pointer to the relevant tRampUpDown.
689689
690690 @fn void tRampUpDown_setVal (tRampUpDown* const, float val)
691691 @brief
692− @param
692+ @param ramp A pointer to the relevant tRampUpDown.
693693
694694 @} */
695695
@@ -729,38 +729,38 @@ extern "C" { · 33 unmodified lines
729729 @{
730730
731731 @fn void tSlide_init (tSlide* const, float upSlide, float downSlide, LEAF* const leaf)
732− @brief
733− @param
732+ @brief Initialize a tSlide to the default mempool of a LEAF instance.
733+ @param slide A pointer to the tSlide to initialize.
734734 @param leaf A pointer to the leaf instance.
735735
736736 @fn void tSlide_initToPool (tSlide* const, float upSlide, float downSlide, tMempool* const)
737− @brief
738− @param
737+ @brief Initialize a tSlide to a specified mempool.
738+ @param slide A pointer to the tSlide to initialize.
739739 @param mempool A pointer to the tMempool to use.
740740
741741 @fn void tSlide_free (tSlide* const)
742742 @brief Free a tSlide from its mempool.
743− @param
743+ @param slide A pointer to the tSlide to free.
744744
745745 @fn float tSlide_tick (tSlide* const, float in)
746746 @brief
747− @param
747+ @param slide A pointer to the relevant tSlide.
748748
749749 @fn float tSlide_tickNoInput (tSlide* const sl)
750750 @brief
751− @param
751+ @param slide A pointer to the relevant tSlide.
752752
753753 @fn void tSlide_setUpSlide (tSlide* const sl, float upSlide)
754754 @brief
755− @param
755+ @param slide A pointer to the relevant tSlide.
756756
757757 @fn void tSlide_setDownSlide (tSlide* const sl, float downSlide)
758758 @brief
759− @param
759+ @param slide A pointer to the relevant tSlide.
760760
761761 @fn void tSlide_setDest (tSlide* const sl, float dest)
762762 @brief
763− @param
763+ @param slide A pointer to the relevant tSlide.
764764
765765 @} */
766766
leaf/Inc/leaf-filters.h+156−154
@@ -37,30 +37,30 @@ extern "C" { · 36 unmodified lines
3737 @{
3838
3939 @fn void tAllpass_init (tAllpass* const, float initDelay, uint32_t maxDelay, LEAF* const leaf)
40− @brief
41− @param
40+ @brief Initialize a tAllpass to the default mempool of a LEAF instance.
41+ @param filter A pointer to the tAllpass to initialize.
4242 @param leaf A pointer to the leaf instance.
4343
4444 @fn void tAllpass_initToPool (tAllpass* const, float initDelay, uint32_t maxDelay, tMempool* const)
45− @brief
46− @param
45+ @brief Initialize a tAllpass to a specified mempool.
46+ @param filter A pointer to the tAllpass to initialize.
4747 @param mempool A pointer to the tMempool to use.
4848
4949 @fn void tAllpass_free (tAllpass* const)
5050 @brief Free a tAllpass from its mempool.
51− @param
51+ @param filter A pointer to the tAllpass to free.
5252
5353 @fn float tAllpass_tick (tAllpass* const, float input)
5454 @brief
55− @param
55+ @param filter A pointer to the relevant tAllpass.
5656
5757 @fn void tAllpass_setGain (tAllpass* const, float gain)
5858 @brief
59− @param
59+ @param filter A pointer to the relevant tAllpass.
6060
6161 @fn void tAllpass_setDelay (tAllpass* const, float delay)
6262 @brief
63− @param
63+ @param filter A pointer to the relevant tAllpass.
6464 
6565 @} */
6666
@@ -96,46 +96,46 @@ extern "C" { · 29 unmodified lines
9696 @{
9797
9898 @fn void tOnePole_init (tOnePole* const, float thePole, LEAF* const leaf)
99− @brief
100− @param
99+ @brief Initialize a tOnePole to the default mempool of a LEAF instance.
100+ @param filter A pointer to the tOnePole to initialize.
101101 @param leaf A pointer to the leaf instance.
102102
103103 @fn void tOnePole_initToPool (tOnePole* const, float thePole, tMempool* const)
104− @brief
105− @param
104+ @brief Initialize a tOnePole to a specified mempool.
105+ @param filter A pointer to the tOnePole to initialize.
106106 @param mempool A pointer to the tMempool to use.
107107
108108 @fn void tOnePole_free (tOnePole* const)
109109 @brief Free a tOnePole from its mempool.
110− @param
110+ @param filter A pointer to the tOnePole to free.
111111
112112 @fn float tOnePole_tick (tOnePole* const, float input)
113113 @brief
114− @param
114+ @param filter A pointer to the relevant tOnePole.
115115
116116 @fn void tOnePole_setB0 (tOnePole* const, float b0)
117117 @brief
118− @param
118+ @param filter A pointer to the relevant tOnePole.
119119
120120 @fn void tOnePole_setA1 (tOnePole* const, float a1)
121121 @brief
122− @param
122+ @param filter A pointer to the relevant tOnePole.
123123
124124 @fn void tOnePole_setPole (tOnePole* const, float thePole)
125125 @brief
126− @param
126+ @param filter A pointer to the relevant tOnePole.
127127
128128 @fn void tOnePole_setFreq (tOnePole* const, float freq)
129129 @brief
130− @param
130+ @param filter A pointer to the relevant tOnePole.
131131
132132 @fn void tOnePole_setCoefficients(tOnePole* const, float b0, float a1)
133133 @brief
134− @param
134+ @param filter A pointer to the relevant tOnePole.
135135
136136 @fn void tOnePole_setGain (tOnePole* const, float gain)
137137 @brief
138− @param
138+ @param filter A pointer to the relevant tOnePole.
139139 
140140 @} */
141141
@@ -172,46 +172,46 @@ extern "C" { · 30 unmodified lines
172172 @{
173173
174174 @fn void tTwoPole_init (tTwoPole* const, LEAF* const leaf)
175− @brief
176− @param
175+ @brief Initialize a tTwoPole to the default mempool of a LEAF instance.
176+ @param filter A pointer to the tTwoPole to initialize.
177177 @param leaf A pointer to the leaf instance.
178178
179179 @fn void tTwoPole_initToPool (tTwoPole* const, tMempool* const)
180− @brief
181− @param
180+ @brief Initialize a tTwoPole to a specified mempool.
181+ @param filter A pointer to the tTwoPole to initialize.
182182 @param mempool A pointer to the tMempool to use.
183183
184184 @fn void tTwoPole_free (tTwoPole* const)
185185 @brief Free a tTwoPole from its mempool.
186− @param
186+ @param filter A pointer to the tTwoPole to free.
187187
188188 @fn float tTwoPole_tick (tTwoPole* const, float input)
189189 @brief
190− @param
190+ @param filter A pointer to the relevant tTwoPole.
191191
192192 @fn void tTwoPole_setB0 (tTwoPole* const, float b0)
193193 @brief
194− @param
194+ @param filter A pointer to the relevant tTwoPole.
195195
196196 @fn void tTwoPole_setA1 (tTwoPole* const, float a1)
197197 @brief
198− @param
198+ @param filter A pointer to the relevant tTwoPole.
199199
200200 @fn void tTwoPole_setA2 (tTwoPole* const, float a2)
201201 @brief
202− @param
202+ @param filter A pointer to the relevant tTwoPole.
203203
204204 @fn void tTwoPole_setResonance (tTwoPole* const, float freq, float radius, int normalize)
205205 @brief
206− @param
206+ @param filter A pointer to the relevant tTwoPole.
207207
208208 @fn void tTwoPole_setCoefficients(tTwoPole* const, float b0, float a1, float a2)
209209 @brief
210− @param
210+ @param filter A pointer to the relevant tTwoPole.
211211
212212 @fn void tTwoPole_setGain (tTwoPole* const, float gain)
213213 @brief
214− @param
214+ @param filter A pointer to the relevant tTwoPole.
215215 
216216 @} */
217217
@@ -253,46 +253,46 @@ extern "C" { · 35 unmodified lines
253253 @{
254254
255255 @fn void tOneZero_init (tOneZero* const, float theZero, LEAF* const leaf)
256− @brief
257− @param
256+ @brief Initialize a tOneZero to the default mempool of a LEAF instance.
257+ @param filter A pointer to the tSlide to initialize.
258258 @param leaf A pointer to the leaf instance.
259259
260260 @fn void tOneZero_initToPool (tOneZero* const, float theZero, tMempool* const)
261− @brief
262− @param
261+ @brief Initialize a tOneZero to a specified mempool.
262+ @param filter A pointer to the tOneZero to initialize.
263263 @param mempool A pointer to the tMempool to use.
264264
265265 @fn void tOneZero_free (tOneZero* const)
266266 @brief Free a tOneZero from its mempool.
267− @param
267+ @param filter A pointer to the tOneZero to free.
268268
269269 @fn float tOneZero_tick (tOneZero* const, float input)
270270 @brief
271− @param
271+ @param filter A pointer to the relevant tOneZero.
272272
273273 @fn void tOneZero_setB0 (tOneZero* const, float b0)
274274 @brief
275− @param
275+ @param filter A pointer to the relevant tOneZero.
276276
277277 @fn void tOneZero_setB1 (tOneZero* const, float b1)
278278 @brief
279− @param
279+ @param filter A pointer to the relevant tOneZero.
280280
281281 @fn void tOneZero_setZero (tOneZero* const, float theZero)
282282 @brief
283− @param
283+ @param filter A pointer to the relevant tOneZero.
284284
285285 @fn void tOneZero_setCoefficients(tOneZero* const, float b0, float b1)
286286 @brief
287− @param
287+ @param filter A pointer to the relevant tOneZero.
288288
289289 @fn void tOneZero_setGain (tOneZero* const, float gain)
290290 @brief
291− @param
291+ @param filter A pointer to the relevant tOneZero.
292292
293293 @fn float tOneZero_getPhaseDelay (tOneZero *f, float frequency)
294294 @brief
295− @param
295+ @param filter A pointer to the relevant tOneZero.
296296 
297297 @} */
298298
@@ -328,46 +328,46 @@ extern "C" { · 29 unmodified lines
328328 @{
329329
330330 @fn void tTwoZero_init (tTwoZero* const, LEAF* const leaf)
331− @brief
332− @param
331+ @brief Initialize a tTwoZero to the default mempool of a LEAF instance.
332+ @param filter A pointer to the tTwoZero to initialize.
333333 @param leaf A pointer to the leaf instance.
334334
335335 @fn void tTwoZero_initToPool (tTwoZero* const, tMempool* const)
336− @brief
337− @param
336+ @brief Initialize a tTwoZero to a specified mempool.
337+ @param filter A pointer to the tTwoZero to initialize.
338338 @param mempool A pointer to the tMempool to use.
339339
340340 @fn void tTwoZero_free (tTwoZero* const)
341341 @brief Free a tTwoZero from its mempool.
342− @param
342+ @param filter A pointer to the tTwoZero to free.
343343
344344 @fn float tTwoZero_tick (tTwoZero* const, float input)
345345 @brief
346− @param
346+ @param filter A pointer to the relevant tTwoZero.
347347
348348 @fn void tTwoZero_setB0 (tTwoZero* const, float b0)
349349 @brief
350− @param
350+ @param filter A pointer to the relevant tTwoZero.
351351
352352 @fn void tTwoZero_setB1 (tTwoZero* const, float b1)
353353 @brief
354− @param
354+ @param filter A pointer to the relevant tTwoZero.
355355
356356 @fn void tTwoZero_setB2 (tTwoZero* const, float b2)
357357 @brief
358− @param
358+ @param filter A pointer to the relevant tTwoZero.
359359
360360 @fn void tTwoZero_setNotch (tTwoZero* const, float frequency, float radius)
361361 @brief
362− @param
362+ @param filter A pointer to the relevant tTwoZero.
363363
364364 @fn void tTwoZero_setCoefficients(tTwoZero* const, float b0, float b1, float b2)
365365 @brief
366− @param
366+ @param filter A pointer to the relevant tTwoZero.
367367
368368 @fn void tTwoZero_setGain (tTwoZero* const, float gain)
369369 @brief
370− @param
370+ @param filter A pointer to the relevant tTwoZero.
371371
372372 
373373 @} */
@@ -408,51 +408,51 @@ extern "C" { · 34 unmodified lines
408408 @{
409409
410410 @fn void tPoleZero_init (tPoleZero* const, LEAF* const leaf)
411− @brief
412− @param
411+ @brief Initialize a tPoleZero to the default mempool of a LEAF instance.
412+ @param filter A pointer to the tPoleZero to initialize.
413413 @param leaf A pointer to the leaf instance.
414414
415415 @fn void tPoleZero_initToPool (tPoleZero* const, tMempool* const)
416− @brief
417− @param
416+ @brief Initialize a tPoleZero to a specified mempool.
417+ @param filter A pointer to the tPoleZero to initialize.
418418 @param mempool A pointer to the tMempool to use.
419419
420420 @fn void tPoleZero_free (tPoleZero* const)
421421 @brief Free a tPoleZero from its mempool.
422− @param
422+ @param filter A pointer to the tPoleZero to free.
423423
424424
425425 @fn float tPoleZero_tick (tPoleZero* const, float input)
426426 @brief
427− @param
427+ @param filter A pointer to the relevant tPoleZero.
428428
429429 @fn void tPoleZero_setB0 (tPoleZero* const, float b0)
430430 @brief
431− @param
431+ @param filter A pointer to the relevant tPoleZero.
432432
433433 @fn void tPoleZero_setB1 (tPoleZero* const, float b1)
434434 @brief
435− @param
435+ @param filter A pointer to the relevant tPoleZero.
436436
437437 @fn void tPoleZero_setA1 (tPoleZero* const, float a1)
438438 @brief
439− @param
439+ @param filter A pointer to the relevant tPoleZero.
440440
441441 @fn void tPoleZero_setCoefficients (tPoleZero* const, float b0, float b1, float a1)
442442 @brief
443− @param
443+ @param filter A pointer to the relevant tPoleZero.
444444
445445 @fn void tPoleZero_setAllpass (tPoleZero* const, float coeff)
446446 @brief
447− @param
447+ @param filter A pointer to the relevant tPoleZero.
448448
449449 @fn void tPoleZero_setBlockZero (tPoleZero* const, float thePole)
450450 @brief
451− @param
451+ @param filter A pointer to the relevant tPoleZero.
452452
453453 @fn void tPoleZero_setGain (tPoleZero* const, float gain)
454454 @brief
455− @param
455+ @param filter A pointer to the relevant tPoleZero.
456456
457457 
458458 @} */
@@ -493,59 +493,59 @@ extern "C" { · 34 unmodified lines
493493 @{
494494
495495 @fn void tBiQuad_init (tBiQuad* const, LEAF* const leaf)
496− @brief
497− @param
496+ @brief Initialize a tBiQuad to the default mempool of a LEAF instance.
497+ @param filter A pointer to the tBiQuad to initialize.
498498 @param leaf A pointer to the leaf instance.
499499
500500 @fn void tBiQuad_initToPool (tBiQuad* const, tMempool* const)
501− @brief
502− @param
501+ @brief Initialize a tBiQuad to a specified mempool.
502+ @param filter A pointer to the tBiQuad to initialize.
503503 @param mempool A pointer to the tMempool to use.
504504
505505 @fn void tBiQuad_free (tBiQuad* const)
506506 @brief Free a tBiQuad from its mempool.
507− @param
507+ @param filter A pointer to the tBiQuad to free.
508508
509509
510510 @fn float tBiQuad_tick (tBiQuad* const, float input)
511511 @brief
512− @param
512+ @param filter A pointer to the relevant tBiQuad.
513513
514514 @fn void tBiQuad_setB0 (tBiQuad* const, float b0)
515515 @brief
516− @param
516+ @param filter A pointer to the relevant tBiQuad.
517517
518518 @fn void tBiQuad_setB1 (tBiQuad* const, float b1)
519519 @brief
520− @param
520+ @param filter A pointer to the relevant tBiQuad.
521521
522522 @fn void tBiQuad_setB2 (tBiQuad* const, float b2)
523523 @brief
524− @param
524+ @param filter A pointer to the relevant tBiQuad.
525525
526526 @fn void tBiQuad_setA1 (tBiQuad* const, float a1)
527527 @brief
528− @param
528+ @param filter A pointer to the relevant tBiQuad.
529529
530530 @fn void tBiQuad_setA2 (tBiQuad* const, float a2)
531531 @brief
532− @param
532+ @param filter A pointer to the relevant tBiQuad.
533533
534534 @fn void tBiQuad_setNotch (tBiQuad* const, float freq, float radius)
535535 @brief
536− @param
536+ @param filter A pointer to the relevant tBiQuad.
537537
538538 @fn void tBiQuad_setResonance (tBiQuad* const, float freq, float radius, int normalize)
539539 @brief
540− @param
540+ @param filter A pointer to the relevant tBiQuad.
541541
542542 @fn void tBiQuad_setCoefficients(tBiQuad* const, float b0, float b1, float b2, float a1, float a2)
543543 @brief
544− @param
544+ @param filter A pointer to the relevant tBiQuad.
545545
546546 @fn void tBiQuad_setGain (tBiQuad* const, float gain)
547547 @brief
548− @param
548+ @param filter A pointer to the relevant tBiQuad.
549549
550550 
551551 @} */
@@ -592,34 +592,34 @@ extern "C" { · 40 unmodified lines
592592 @{
593593
594594 @fn void tSVF_init (tSVF* const, SVFType type, float freq, float Q, LEAF* const leaf)
595− @brief
596− @param
595+ @brief Initialize a tSVF to the default mempool of a LEAF instance.
596+ @param filter A pointer to the tSVF to initialize.
597597 @param leaf A pointer to the leaf instance.
598598
599599 @fn void tSVF_initToPool (tSVF* const, SVFType type, float freq, float Q, tMempool* const)
600− @brief
601− @param
600+ @brief Initialize a tSVF to a specified mempool.
601+ @param filter A pointer to the tSVF to initialize.
602602 @param mempool A pointer to the tMempool to use.
603603
604604 @fn void tSVF_free (tSVF* const)
605605 @brief Free a tSVF from its mempool.
606− @param
606+ @param filter A pointer to the tSVF to free.
607607
608608 @fn float tSVF_tick (tSVF* const, float v0)
609−
610609 @brief
611− @param
610+ @param filter A pointer to the relevant tSVF.
611+
612612 @fn void tSVF_setFreq (tSVF* const, float freq)
613613 @brief
614− @param
614+ @param filter A pointer to the relevant tSVF.
615615
616616 @fn void tSVF_setQ (tSVF* const, float Q)
617617 @brief
618− @param
618+ @param filter A pointer to the relevant tSVF.
619619
620620 @fn void tSVF_setFreqAndQ (tSVF* const svff, float freq, float Q)
621621 @brief
622− @param
622+ @param filter A pointer to the relevant tSVF.
623623 
624624 @} */
625625
@@ -664,30 +664,30 @@ extern "C" { · 38 unmodified lines
664664 @{
665665
666666 @fn void tEfficientSVF_init (tEfficientSVF* const, SVFType type, uint16_t input, float Q, LEAF* const leaf)
667− @brief
668− @param
667+ @brief Initialize a tEfficientSVF to the default mempool of a LEAF instance.
668+ @param filter A pointer to the tEfficientSVF to initialize.
669669 @param leaf A pointer to the leaf instance.
670670
671671 @fn void tEfficientSVF_initToPool (tEfficientSVF* const, SVFType type, uint16_t input, float Q, tMempool* const)
672− @brief
673− @param
672+ @brief Initialize a tEfficientSVF to a specified mempool.
673+ @param filter A pointer to the tEfficientSVF to initialize.
674674 @param mempool A pointer to the tMempool to use.
675675
676676 @fn void tEfficientSVF_free (tEfficientSVF* const)
677677 @brief Free a tEfficientSVF from its mempool.
678− @param
678+ @param filter A pointer to the tEfficientSVF to free.
679679
680680 @fn float tEfficientSVF_tick (tEfficientSVF* const, float v0)
681681 @brief
682− @param
682+ @param filter A pointer to the relevant tEfficientSVF.
683683
684684 @fn void tEfficientSVF_setFreq (tEfficientSVF* const, uint16_t controlFreq)
685685 @brief
686− @param
686+ @param filter A pointer to the relevant tEfficientSVF.
687687
688688 @fn void tEfficientSVF_setQ (tEfficientSVF* const, float Q)
689689 @brief
690− @param
690+ @param filter A pointer to the relevant tEfficientSVF.
691691 
692692 @} */
693693
@@ -720,30 +720,30 @@ extern "C" { · 26 unmodified lines
720720 @{
721721
722722 @fn void tHighpass_init (tHighpass* const, float freq, LEAF* const leaf)
723− @brief
724− @param
723+ @brief Initialize a tHighpass to the default mempool of a LEAF instance.
724+ @param filter A pointer to the tHighpass to initialize.
725725 @param leaf A pointer to the leaf instance.
726726
727727 @fn void tHighpass_initToPool (tHighpass* const, float freq, tMempool* const)
728− @brief
729− @param
728+ @brief Initialize a tHighpass to a specified mempool.
729+ @param filter A pointer to the tHighpass to initialize.
730730 @param mempool A pointer to the tMempool to use.
731731
732732 @fn void tHighpass_free (tHighpass* const)
733733 @brief Free a tHighpass from its mempool.
734− @param
734+ @param filter A pointer to the tHighpass to free.
735735
736736 @fn float tHighpass_tick (tHighpass* const, float x)
737737 @brief
738− @param
738+ @param filter A pointer to the relevant tHighpass.
739739
740740 @fn void tHighpass_setFreq (tHighpass* const, float freq)
741741 @brief
742− @param
742+ @param filter A pointer to the relevant tHighpass.
743743
744744 @fn float tHighpass_getFreq (tHighpass* const)
745745 @brief
746− @param
746+ @param filter A pointer to the relevant tHighpass.
747747 
748748 @} */
749749
@@ -774,34 +774,34 @@ extern "C" { · 24 unmodified lines
774774 @{
775775
776776 @fn void tButterworth_init (tButterworth* const, int N, float f1, float f2, LEAF* const leaf, LEAF* const leaf)
777− @brief
778− @param
777+ @brief Initialize a tButterworth to the default mempool of a LEAF instance.
778+ @param filter A pointer to the tButterworth to initialize.
779779 @param leaf A pointer to the leaf instance.
780780
781781 @fn void tButterworth_initToPool (tButterworth* const, int N, float f1, float f2, tMempool* const)
782− @brief
783− @param
782+ @brief Initialize a tButterworth to a specified mempool.
783+ @param filter A pointer to the tButterworth to initialize.
784784 @param mempool A pointer to the tMempool to use.
785785
786786 @fn void tButterworth_free (tButterworth* const)
787787 @brief Free a tButterworth from its mempool.
788− @param
788+ @param filter A pointer to the tButterworth to free.
789789
790790 @fn float tButterworth_tick (tButterworth* const, float input)
791791 @brief
792− @param
792+ @param filter A pointer to the relevant tButterworth.
793793
794794 @fn void tButterworth_setF1 (tButterworth* const, float in)
795795 @brief
796− @param
796+ @param filter A pointer to the relevant tButterworth.
797797
798798 @fn void tButterworth_setF2 (tButterworth* const, float in)
799799 @brief
800− @param
800+ @param filter A pointer to the relevant tButterworth.
801801
802802 @fn void tButterworth_setFreqs (tButterworth* const, float f1, float f2)
803803 @brief
804− @param
804+ @param filter A pointer to the relevant tButterworth.
805805 
806806 @} */
807807
@@ -841,22 +841,22 @@ extern "C" { · 33 unmodified lines
841841 @{
842842
843843 @fn void tFIR_init (tFIR* const, float* coeffs, int numTaps, LEAF* const leaf)
844− @brief
845− @param
844+ @brief Initialize a tFIR to the default mempool of a LEAF instance.
845+ @param filter A pointer to the tFIR to initialize.
846846 @param leaf A pointer to the leaf instance.
847847
848848 @fn void tFIR_initToPool (tFIR* const, float* coeffs, int numTaps, tMempool* const)
849− @brief
850− @param
849+ @brief Initialize a tFIR to a specified mempool.
850+ @param filter A pointer to the tFIR to initialize.
851851 @param mempool A pointer to the tMempool to use.
852852
853853 @fn void tFIR_free (tFIR* const)
854854 @brief Free a tFIR from its mempool.
855− @param
855+ @param filter A pointer to the tFIR to free.
856856
857857 @fn float tFIR_tick (tFIR* const, float input)
858858 @brief
859− @param
859+ @param filter A pointer to the relevant tFIR.
860860 
861861 @} */
862862
@@ -887,22 +887,22 @@ extern "C" { · 24 unmodified lines
887887 @{
888888
889889 @fn void tMedianFilter_init (tMedianFilter* const, int size, LEAF* const leaf)
890− @brief
891− @param
890+ @brief Initialize a tMedianFilter to the default mempool of a LEAF instance.
891+ @param filter A pointer to the tMedianFilter to initialize.
892892 @param leaf A pointer to the leaf instance.f
893893
894894 @fn void tMedianFilter_initToPool (tMedianFilter* const, int size, tMempool* const)
895− @brief
896− @param
895+ @brief Initialize a tMedianFilter to a specified mempool.
896+ @param filter A pointer to the tMedianFilter to initialize.
897897 @param mempool A pointer to the tMempool to use.
898898
899899 @fn void tMedianFilter_free (tMedianFilter* const)
900900 @brief Free a tMedianFilter from its mempool.
901− @param
901+ @param filter A pointer to the tMedianFilter to free.
902902
903903 @fn float tMedianFilter_tick (tMedianFilter* const, float input)
904904 @brief
905− @param
905+ @param filter A pointer to the relevant tMedianFilter.
906906 
907907 @} */
908908
@@ -935,56 +935,58 @@ extern "C" { · 26 unmodified lines
935935 @{
936936
937937 @fn void tVZFilter_init (tVZFilter* const, VZFilterType type, float freq, float Q, LEAF* const leaf)
938− @brief
939− @param
938+ @brief Initialize a tVZFilter to the default mempool of a LEAF instance.
939+ @param filter A pointer to the tVZFilter to initialize.
940940 @param leaf A pointer to the leaf instance.
941941
942942 @fn void tVZFilter_initToPool (tVZFilter* const, VZFilterType type, float freq, float Q, tMempool* const)
943− @brief
944− @param
943+ @brief Initialize a tVZFilter to a specified mempool.
944+ @param filter A pointer to the tVZFilter to initialize.
945945 @param mempool A pointer to the tMempool to use.
946946
947947 @fn void tVZFilter_free (tVZFilter* const)
948948 @brief Free a tVZFilter from its mempool.
949− @param
949+ @param filter A pointer to the tVZFilter to free.
950950
951951 @fn void tVZFilter_setSampleRate (tVZFilter* const, float sampleRate)
952952 @brief
953− @param
953+ @param filter A pointer to the relevant tVZFilter.
954954
955955 @fn float tVZFilter_tick (tVZFilter* const, float input)
956956 @brief
957− @param
957+ @param filter A pointer to the relevant tVZFilter.
958958
959959 @fn float tVZFilter_tickEfficient (tVZFilter* const vf, float in)
960960 @brief
961− @param
961+ @param filter A pointer to the relevant tVZFilter.
962962
963963 @fn void tVZFilter_calcCoeffs (tVZFilter* const)
964964 @brief
965− @param
965+ @param filter A pointer to the relevant tVZFilter.
966966
967967 @fn void tVZFilter_setBandwidth (tVZFilter* const, float bandWidth)
968968 @brief
969− @param
969+ @param filter A pointer to the relevant tVZFilter.
970970
971971 @fn void tVZFilter_setFreq (tVZFilter* const, float freq)
972972 @brief
973− @param
973+ @param filter A pointer to the relevant tVZFilter.
974974
975975 @fn void tVZFilter_setFreqAndBandwidth (tVZFilter* const vf, float freq, float bw)
976976 @brief
977− @param
977+ @param filter A pointer to the relevant tVZFilter.
978+
978979 @fn void tVZFilter_setGain (tVZFilter* const, float gain)
979980 @brief
980− @param
981+ @param filter A pointer to the relevant tVZFilter.
982+
981983 @fn void tVZFilter_setType (tVZFilter* const, VZFilterType type)
982984 @brief
983− @param
985+ @param filter A pointer to the relevant tVZFilter.
984986
985987 @fn float tVZFilter_BandwidthToR (tVZFilter* const vf, float B)
986988 @brief
987− @param
989+ @param filter A pointer to the relevant tVZFilter.
988990 
989991 @} */
990992
@@ -1058,30 +1060,30 @@ extern "C" { · 67 unmodified lines
10581060 @{
10591061
10601062 @fn void tDiodeFilter_init (tDiodeFilter* const, float freq, float Q, LEAF* const leaf)
1061− @brief
1062− @param
1063+ @brief Initialize a tDiodeFilter to the default mempool of a LEAF instance.
1064+ @param filter A pointer to the tDiodeFilter to initialize.
10631065 @param leaf A pointer to the leaf instance.
10641066
10651067 @fn void tDiodeFilter_initToPool (tDiodeFilter* const, float freq, float Q, tMempool* const)
1066− @brief
1067− @param
1068+ @brief Initialize a tDiodeFilter to a specified mempool.
1069+ @param filter A pointer to the tDiodeFilter to initialize.
10681070 @param mempool A pointer to the tMempool to use.
10691071
10701072 @fn void tDiodeFilter_free (tDiodeFilter* const)
10711073 @brief Free a tDiodeFilter from its mempool.
1072− @param
1074+ @param filter A pointer to the tDiodeFilter to free.
10731075
10741076 @fn float tDiodeFilter_tick (tDiodeFilter* const, float input)
10751077 @brief
1076− @param
1078+ @param filter A pointer to the relevant tDiodeFilter.
10771079
10781080 @fn void tDiodeFilter_setFreq (tDiodeFilter* const vf, float cutoff)
10791081 @brief
1080− @param
1082+ @param filter A pointer to the relevant tDiodeFilter.
10811083
10821084 @fn void tDiodeFilter_setQ (tDiodeFilter* const vf, float resonance)
10831085 @brief
1084− @param
1086+ @param filter A pointer to the relevant tDiodeFilter.
10851087 
10861088 @} */
10871089
leaf/Inc/leaf-global.h+1−1
@@ -19,7 +19,7 @@ extern "C" { · 18 unmodified lines
1919
2020 /*!
2121 * @ingroup leaf
22− * @brief The struct of the global LEAF instance `leaf`. Contains global variables and settings.
22+ * @brief Struct for an instance of LEAF.
2323 */
2424
2525 struct LEAF
leaf/Inc/leaf-instruments.h+60−60
@@ -38,50 +38,50 @@ extern "C" { · 37 unmodified lines
3838 @{
3939
4040 @fn void t808Cowbell_init (t808Cowbell* const, int useStick, LEAF* const leaf)
41− @brief
42− @param
41+ @brief Initialize a t808Cowbell to the default mempool of a LEAF instance.
42+ @param cowbell A pointer to the t808Cowbell to initialize.
4343 @param leaf A pointer to the leaf instance.
4444
4545 @fn void t808Cowbell_initToPool (t808Cowbell* const, int useStick, tMempool* const)
46− @brief
47− @param
46+ @brief Initialize a t808Cowbell to a specified mempool.
47+ @param cowbell A pointer to the t808Cowbell to initialize.
4848 @param mempool A pointer to the tMempool to use.
4949
5050 @fn void t808Cowbell_free (t808Cowbell* const)
5151 @brief Free a t808Cowbell from its mempool.
52− @param
52+ @param cowbell A pointer to the t808Cowbell to free.
5353
5454 @fn float t808Cowbell_tick (t808Cowbell* const)
5555 @brief
56− @param
56+ @param cowbell A pointer to the relevant t808Cowbell.
5757
5858 @fn void t808Cowbell_on (t808Cowbell* const, float vel)
5959 @brief
60− @param
60+ @param cowbell A pointer to the relevant t808Cowbell.
6161
6262 @fn void t808Cowbell_setDecay (t808Cowbell* const, float decay)
6363 @brief
64− @param
64+ @param cowbell A pointer to the relevant t808Cowbell.
6565
6666 @fn void t808Cowbell_setHighpassFreq (t808Cowbell* const, float freq)
6767 @brief
68− @param
68+ @param cowbell A pointer to the relevant t808Cowbell.
6969
7070 @fn void t808Cowbell_setBandpassFreq (t808Cowbell* const, float freq)
7171 @brief
72− @param
72+ @param cowbell A pointer to the relevant t808Cowbell.
7373
7474 @fn void t808Cowbell_setFreq (t808Cowbell* const, float freq)
7575 @brief
76− @param
76+ @param cowbell A pointer to the relevant t808Cowbell.
7777
7878 @fn void t808Cowbell_setOscMix (t808Cowbell* const, float oscMix)
7979 @brief
80− @param
80+ @param cowbell A pointer to the relevant t808Cowbell.
8181
8282 @fn void t808Cowbell_setStick (t808Cowbell* const, int useStick)
8383 @brief
84− @param
84+ @param cowbell A pointer to the relevant t808Cowbell.
8585
8686 @} */
8787
@@ -125,66 +125,66 @@ extern "C" { · 37 unmodified lines
125125 @{
126126
127127 @fn void t808Hihat_init (t808Hihat* const, LEAF* const leaf)
128− @brief
129− @param
128+ @brief Initialize a t808Hihat to the default mempool of a LEAF instance.
129+ @param hihat A pointer to the t808Hihat to initialize.
130130 @param leaf A pointer to the leaf instance.
131131
132132 @fn void t808Hihat_initToPool (t808Hihat* const, tMempool* const)
133− @brief
134− @param
133+ @brief Initialize a t808Hihat to a specified mempool.
134+ @param hihat A pointer to the t808Hihat to initialize.
135135 @param mempool A pointer to the tMempool to use.
136136
137137 @fn void t808Hihat_free (t808Hihat* const)
138138 @brief Free a t808Hihat from its mempool.
139− @param
139+ @param hihat A pointer to the t808Hihat to free.
140140
141141 @fn float t808Hihat_tick (t808Hihat* const)
142142 @brief
143− @param
143+ @param hihat A pointer to the relevant t808Hihat.
144144
145145 @fn void t808Hihat_on (t808Hihat* const, float vel)
146146 @brief
147− @param
147+ @param hihat A pointer to the relevant t808Hihat.
148148
149149 @fn void t808Hihat_setOscNoiseMix (t808Hihat* const, float oscNoiseMix)
150150 @brief
151− @param
151+ @param hihat A pointer to the relevant t808Hihat.
152152
153153 @fn void t808Hihat_setDecay (t808Hihat* const, float decay)
154154 @brief
155− @param
155+ @param hihat A pointer to the relevant t808Hihat.
156156
157157 @fn void t808Hihat_setHighpassFreq (t808Hihat* const, float freq)
158158 @brief
159− @param
159+ @param hihat A pointer to the relevant t808Hihat.
160160
161161 @fn void t808Hihat_setOscBandpassFreq (t808Hihat* const, float freq)
162162 @brief
163− @param
163+ @param hihat A pointer to the relevant t808Hihat.
164164
165165 @fn void t808Hihat_setOscBandpassQ (t808Hihat* const hihat, float Q)
166166 @brief
167− @param
167+ @param hihat A pointer to the relevant t808Hihat.
168168
169169 @fn void t808Hihat_setStickBandPassFreq (t808Hihat* const, float freq)
170170 @brief
171− @param
171+ @param hihat A pointer to the relevant t808Hihat.
172172
173173 @fn void t808Hihat_setStickBandPassQ (t808Hihat* const hihat, float Q)
174174 @brief
175− @param
175+ @param hihat A pointer to the relevant t808Hihat.
176176
177177 @fn void t808Hihat_setOscFreq (t808Hihat* const, float freq)
178178 @brief
179− @param
179+ @param hihat A pointer to the relevant t808Hihat.
180180
181181 @fn void t808Hihat_setStretch (t808Hihat* const hihat, float stretch)
182182 @brief
183− @param
183+ @param hihat A pointer to the relevant t808Hihat.
184184
185185 @fn void t808Hihat_setFM (t808Hihat* const hihat, float FM_amount)
186186 @brief
187− @param
187+ @param hihat A pointer to the relevant t808Hihat.
188188
189189 @} */
190190
@@ -237,58 +237,58 @@ extern "C" { · 46 unmodified lines
237237 @{
238238
239239 @fn void t808Snare_init (t808Snare* const, LEAF* const leaf)
240− @brief
241− @param
240+ @brief Initialize a t808Snare to the default mempool of a LEAF instance.
241+ @param snare A pointer to the t808Snare to initialize.
242242 @param leaf A pointer to the leaf instance.
243243
244244 @fn void t808Snare_initToPool (t808Snare* const, tMempool* const)
245− @brief
246− @param
245+ @brief Initialize a t808Snare to a specified mempool.
246+ @param snare A pointer to the t808Snare to initialize.
247247 @param mempool A pointer to the tMempool to use.
248248
249249 @fn void t808Snare_free (t808Snare* const)
250250 @brief Free a t808Snare from its mempool.
251− @param
251+ @param snare A pointer to the t808Snare to free.
252252
253253 @fn float t808Snare_tick (t808Snare* const)
254254 @brief
255− @param
255+ @param snare A pointer to the relevant t808Snare.
256256
257257 @fn void t808Snare_on (t808Snare* const, float vel)
258258 @brief
259− @param
259+ @param snare A pointer to the relevant t808Snare.
260260
261261 @fn void t808Snare_setTone1Freq (t808Snare* const, float freq)
262262 @brief
263− @param
263+ @param snare A pointer to the relevant t808Snare.
264264
265265 @fn void t808Snare_setTone2Freq (t808Snare* const, float freq)
266266 @brief
267− @param
267+ @param snare A pointer to the relevant t808Snare.
268268
269269 @fn void t808Snare_setTone1Decay (t808Snare* const, float decay)
270270 @brief
271− @param
271+ @param snare A pointer to the relevant t808Snare.
272272
273273 @fn void t808Snare_setTone2Decay (t808Snare* const, float decay)
274274 @brief
275− @param
275+ @param snare A pointer to the relevant t808Snare.
276276
277277 @fn void t808Snare_setNoiseDecay (t808Snare* const, float decay)
278278 @brief
279− @param
279+ @param snare A pointer to the relevant t808Snare.
280280
281281 @fn void t808Snare_setToneNoiseMix (t808Snare* const, float toneNoiseMix)
282282 @brief
283− @param
283+ @param snare A pointer to the relevant t808Snare.
284284
285285 @fn void t808Snare_setNoiseFilterFreq (t808Snare* const, float noiseFilterFreq)
286286 @brief
287− @param
287+ @param snare A pointer to the relevant t808Snare.
288288
289289 @fn void t808Snare_setNoiseFilterQ (t808Snare* const, float noiseFilterQ)
290290 @brief
291− @param
291+ @param snare A pointer to the relevant t808Snare.
292292
293293 @} */
294294
@@ -343,58 +343,58 @@ extern "C" { · 48 unmodified lines
343343 @{
344344
345345 @fn void t808Kick_init (t808Kick* const, LEAF* const leaf)
346− @brief
347− @param
346+ @brief Initialize a t808Kick to the default mempool of a LEAF instance.
347+ @param kick A pointer to the t808Kick to initialize.
348348 @param leaf A pointer to the leaf instance.
349349
350350 @fn void t808Kick_initToPool (t808Kick* const, tMempool* const)
351− @brief
352− @param
351+ @brief Initialize a t808Kick to a specified mempool.
352+ @param kick A pointer to the t808Kick to initialize.
353353 @param mempool A pointer to the tMempool to use.
354354
355355 @fn void t808Kick_free (t808Kick* const)
356356 @brief Free a t808Kick from its mempool.
357− @param
357+ @param kick A pointer to the t808Kick to free.
358358
359359 @fn float t808Kick_tick (t808Kick* const)
360360 @brief
361− @param
361+ @param kick A pointer to the relevant t808Kick.
362362
363363 @fn void t808Kick_on (t808Kick* const, float vel)
364364 @brief
365− @param
365+ @param kick A pointer to the relevant t808Kick.
366366
367367 @fn void t808Kick_setToneFreq (t808Kick* const, float freq)
368368 @brief
369− @param
369+ @param kick A pointer to the relevant t808Kick.
370370
371371 @fn void t808Kick_setToneDecay (t808Kick* const, float decay)
372372 @brief
373− @param
373+ @param kick A pointer to the relevant t808Kick.
374374
375375 @fn void t808Kick_setNoiseDecay (t808Kick* const, float decay)
376376 @brief
377− @param
377+ @param kick A pointer to the relevant t808Kick.
378378
379379 @fn void t808Kick_setSighAmount (t808Kick* const, float sigh)
380380 @brief
381− @param
381+ @param kick A pointer to the relevant t808Kick.
382382
383383 @fn void t808Kick_setChirpAmount (t808Kick* const, float chirp)
384384 @brief
385− @param
385+ @param kick A pointer to the relevant t808Kick.
386386
387387 @fn void t808Kick_setToneNoiseMix (t808Kick* const, float toneNoiseMix)
388388 @brief
389− @param
389+ @param kick A pointer to the relevant t808Kick.
390390
391391 @fn void t808Kick_setNoiseFilterFreq (t808Kick* const, float noiseFilterFreq)
392392 @brief
393− @param
393+ @param kick A pointer to the relevant t808Kick.
394394
395395 @fn void t808Kick_setNoiseFilterQ (t808Kick* const, float noiseFilterQ)
396396 @brief
397− @param
397+ @param kick A pointer to the relevant t808Kick.
398398
399399 @} */
400400
leaf/Inc/leaf-mempool.h+2−1
@@ -94,6 +94,7 @@ extern "C" { · 93 unmodified lines
9494 @param pool A pointer to the tMempool to initialize.
9595 @param memory A pointer to the chunk of memory to be used as a mempool.
9696 @param size The size of the chunk of memory to be used as a mempool.
97+ @param leaf A pointer to the leaf instance.
9798 */
9899 void tMempool_init (tMempool* const pool, char* memory, size_t size, LEAF* const leaf);
99100
@@ -112,7 +113,7 @@ extern "C" { · 12 unmodified lines
112113 @param size The size of the chuck of memory to be used as a mempool.
113114 @param poolTo A pointer to the tMempool to which this tMempool should be initialized.
114115 */
115− void tMempool_initToPool (tMempool* const mp, char* memory, size_t size, tMempool* const mem, LEAF* const leaf);
116+ void tMempool_initToPool (tMempool* const mp, char* memory, size_t size, tMempool* const mem);
116117
117118 /*!
118119 @} */
leaf/Inc/leaf-oscillators.h+69−69
@@ -34,7 +34,7 @@ extern "C" { · 33 unmodified lines
3434 @brief A general wavetable oscillator.
3535 @{
3636
37− @fn void tTable_init (tTable* const osc, float* table, int size, LEAF* const leaf)
37+ @fn void tTable_init (tTable* const osc, float* table, int size, LEAF* const leaf)
3838 @brief Initialize a tTable to the default mempool of a LEAF instance.
3939 @param osc A pointer to the tTable to initialize.
4040 @param table A pointer to the wave table data.
@@ -312,30 +312,30 @@ extern "C" { · 271 unmodified lines
312312 @{
313313
314314 @fn void tTri_init (tTri* const osc, LEAF* const leaf)
315− @brief
316− @param
315+ @brief Initialize a tTri to the default mempool of a LEAF instance.
316+ @param osc A pointer to the tTri to initialize.
317317 @param leaf A pointer to the leaf instance.
318318
319319 @fn void tTri_initToPool (tTri* const osc, tMempool* const mempool)
320− @brief
321− @param
320+ @brief Initialize a tTri to a specified mempool.
321+ @param osc A pointer to the tTri to initialize.
322322 @param mempool A pointer to the tMempool to use.
323323
324324 @fn void tTri_free (tTri* const osc)
325325 @brief Free a tTri from its mempool.
326− @param
326+ @param osc A pointer to the tTri to free.
327327
328328 @fn float tTri_tick (tTri* const osc)
329329 @brief
330− @param
330+ @param osc A pointer to the relevant tTri.
331331
332332 @fn void tTri_setFreq (tTri* const osc, float freq)
333333 @brief
334− @param
334+ @param osc A pointer to the relevant tTri.
335335
336336 @fn void tTri_setSkew (tTri* const osc, float skew)
337337 @brief
338− @param
338+ @param osc A pointer to the relevant tTri.
339339 
340340 @} */
341341
@@ -368,30 +368,30 @@ extern "C" { · 26 unmodified lines
368368 @{
369369
370370 @fn void tPulse_init (tPulse* const osc, LEAF* const leaf)
371− @brief
372− @param
371+ @brief Initialize a tPulse to the default mempool of a LEAF instance.
372+ @param osc A pointer to the tPulse to initialize.
373373 @param leaf A pointer to the leaf instance.
374374
375375 @fn void tPulse_initToPool (tPulse* const osc, tMempool* const)
376− @brief
377− @param
376+ @brief Initialize a tPulse to a specified mempool.
377+ @param osc A pointer to the tPulse to initialize.
378378 @param mempool A pointer to the tMempool to use.
379379
380380 @fn void tPulse_free (tPulse* const osc)
381381 @brief Free a tPulse from its mempool.
382− @param
382+ @param osc A pointer to the tPulse to free.
383383
384384 @fn float tPulse_tick (tPulse* const osc)
385385 @brief
386− @param
386+ @param osc A pointer to the relevant tPulse.
387387
388388 @fn void tPulse_setFreq (tPulse* const osc, float freq)
389389 @brief
390− @param
390+ @param osc A pointer to the relevant tPulse.
391391
392392 @fn void tPulse_setWidth (tPulse* const osc, float width)
393393 @brief
394− @param
394+ @param osc A pointer to the relevant tPulse.
395395 
396396 @} */
397397
@@ -423,26 +423,26 @@ extern "C" { · 25 unmodified lines
423423 @{
424424
425425 @fn void tSaw_init (tSaw* const osc, LEAF* const leaf)
426− @brief
427− @param
426+ @brief Initialize a tSaw to the default mempool of a LEAF instance.
427+ @param osc A pointer to the tSaw to initialize.
428428 @param leaf A pointer to the leaf instance.
429429
430430 @fn void tSaw_initToPool (tSaw* const osc, tMempool* const mempool)
431− @brief
432− @param
431+ @brief Initialize a tSaw to a specified mempool.
432+ @param osc A pointer to the tSaw to initialize.
433433 @param mempool A pointer to the tMempool to use.
434434
435435 @fn void tSaw_free (tSaw* const osc)
436436 @brief Free a tSaw from its mempool.
437− @param
437+ @param osc A pointer to the tSaw to free.
438438
439439 @fn float tSaw_tick (tSaw* const osc)
440440 @brief
441− @param
441+ @param osc A pointer to the relevant tSaw.
442442
443443 @fn void tSaw_setFreq (tSaw* const osc, float freq)
444444 @brief
445− @param
445+ @param osc A pointer to the relevant tSaw.
446446 
447447 @} */
448448
@@ -472,26 +472,26 @@ extern "C" { · 23 unmodified lines
472472 @{
473473
474474 @fn void tPhasor_init (tPhasor* const osc, LEAF* const leaf)
475− @brief
476− @param
475+ @brief Initialize a tPhasor to the default mempool of a LEAF instance.
476+ @param osc A pointer to the tPhasor to initialize.
477477 @param leaf A pointer to the leaf instance.
478478
479479 @fn void tPhasor_initToPool (tPhasor* const osc, tMempool* const)
480− @brief
481− @param
480+ @brief Initialize a tPhasor to a specified mempool.
481+ @param osc A pointer to the tPhasor to initialize.
482482 @param mempool A pointer to the tMempool to use.
483483
484484 @fn void tPhasor_free (tPhasor* const osc)
485485 @brief Free a tPhasor from its mempool.
486− @param
486+ @param osc A pointer to the tPhasor to free.
487487
488488 @fn float tPhasor_tick (tPhasor* const osc)
489489 @brief
490− @param
490+ @param osc A pointer to the relevant tPhasor.
491491
492492 @fn void tPhasor_setFreq (tPhasor* const osc, float freq)
493493 @brief
494− @param
494+ @param osc A pointer to the relevant tPhasor.
495495 
496496 @} */
497497
@@ -522,22 +522,22 @@ extern "C" { · 24 unmodified lines
522522 @{
523523
524524 @fn void tNoise_init (tNoise* const noise, NoiseType type, LEAF* const leaf)
525− @brief
526− @param
525+ @brief Initialize a tNoise to the default mempool of a LEAF instance.
526+ @param noise A pointer to the tNoise to initialize.
527527 @param leaf A pointer to the leaf instance.
528528
529529 @fn void tNoise_initToPool (tNoise* const noise, NoiseType type, tMempool* const)
530− @brief
531− @param
530+ @brief Initialize a tNoise to a specified mempool.
531+ @param noise A pointer to the tNoise to initialize.
532532 @param mempool A pointer to the tMempool to use.
533533
534534 @fn void tNoise_free (tNoise* const noise)
535535 @brief Free a tNoise from its mempool.
536− @param
536+ @param noise A pointer to the tNoise to free.
537537
538538 @fn float tNoise_tick (tNoise* const noise)
539539 @brief
540− @param
540+ @param noise A pointer to the relevant tNoise.
541541 */
542542
543543 /* tNoise. WhiteNoise, PinkNoise. */
@@ -720,36 +720,36 @@ extern "C" { · 176 unmodified lines
720720 @{
721721
722722 @fn void tMBPulse_init(tMBPulse* const osc, LEAF* const leaf)
723− @brief
724− @param
723+ @brief Initialize a tMBPulse to the default mempool of a LEAF instance.
724+ @param osc A pointer to the tMBPulse to initialize.
725725
726726 @fn void tMBPulse_initToPool(tMBPulse* const osc, tMempool* const mempool)
727− @brief
728− @param
727+ @brief Initialize a tMBPulse to a specified mempool.
728+ @param osc A pointer to the tMBPulse to initialize.
729729
730730 @fn void tMBPulse_free(tMBPulse* const osc)
731− @brief
732− @param
731+ @brief Free a tMBPulse from its mempool.
732+ @param osc A pointer to the tMBPulse to free.
733733
734734 @fn float tMBPulse_tick(tMBPulse* const osc)
735735 @brief
736− @param
736+ @param osc A pointer to the relevant tMBPulse.
737737
738738 @fn void tMBPulse_setFreq(tMBPulse* const osc, float f)
739739 @brief
740− @param
740+ @param osc A pointer to the relevant tMBPulse.
741741
742742 @fn void tMBPulse_setWidth(tMBPulse* const osc, float w)
743743 @brief
744− @param
744+ @param osc A pointer to the relevant tMBPulse.
745745
746746 @fn void tMBPulse_syncIn(tMBPulse* const osc, float sync)
747747 @brief
748− @param
748+ @param osc A pointer to the relevant tMBPulse.
749749
750750 @fn float tMBPulse_syncOut(tMBPulse* const osc)
751751 @brief
752− @param
752+ @param osc A pointer to the relevant tMBPulse.
753753 
754754 @} */
755755
@@ -789,36 +789,36 @@ extern "C" { · 33 unmodified lines
789789 @{
790790
791791 @fn void tMBTriangle_init(tMBTriangle* const osc, LEAF* const leaf)
792− @brief
793− @param
792+ @brief Initialize a tMBTriangle to the default mempool of a LEAF instance.
793+ @param osc A pointer to the tMBTriangle to initialize.
794794
795795 @fn void tMBTriangle_initToPool(tMBTriangle* const osc, tMempool* const mempool)
796− @brief
797− @param
796+ @brief Initialize a tMBTriangle to a specified mempool.
797+ @param osc A pointer to the tMBTriangle to initialize.
798798
799799 @fn void tMBTriangle_free(tMBTriangle* const osc)
800− @brief
801− @param
800+ @brief Free a tMBTriangle from its mempool.
801+ @param osc A pointer to the tMBTriangle to free.
802802
803803 @fn float tMBTriangle_tick(tMBTriangle* const osc)
804804 @brief
805− @param
805+ @param osc A pointer to the relevant tMBTriangle.
806806
807807 @fn void tMBTriangle_setFreq(tMBTriangle* const osc, float f)
808808 @brief
809− @param
809+ @param osc A pointer to the relevant tMBTriangle.
810810
811811 @fn void tMBTriangle_setWidth(tMBTriangle* const osc, float w)
812812 @brief
813− @param
813+ @param osc A pointer to the relevant tMBTriangle.
814814
815815 @fn void tMBTriangle_syncIn(tMBTriangle* const osc, float sync)
816816 @brief
817− @param
817+ @param osc A pointer to the relevant tMBTriangle.
818818
819819 @fn float tMBTriangle_syncOut(tMBTriangle* const osc)
820820 @brief
821− @param
821+ @param osc A pointer to the relevant tMBTriangle.
822822 
823823 @} */
824824
@@ -859,32 +859,32 @@ extern "C" { · 34 unmodified lines
859859 @{
860860
861861 @fn void tMBSaw_init(tMBSaw* const osc, LEAF* const leaf)
862− @brief
863− @param
862+ @brief Initialize a tMBSaw to the default mempool of a LEAF instance.
863+ @param osc A pointer to the tMBSaw to initialize.
864864
865865 @fn void tMBSaw_initToPool(tMBSaw* const osc, tMempool* const mempool)
866− @brief
867− @param
866+ @brief Initialize a tMBSaw to a specified mempool.
867+ @param osc A pointer to the tMBSaw to initialize.
868868
869869 @fn void tMBSaw_free(tMBSaw* const osc)
870− @brief
871− @param
870+ @brief Free a tMBSaw from its mempool.
871+ @param osc A pointer to the tMBSaw to free.
872872
873873 @fn float tMBSaw_tick(tMBSaw* const osc)
874874 @brief
875− @param
875+ @param osc A pointer to the relevant tMBSaw.
876876
877877 @fn void tMBSaw_setFreq(tMBSaw* const osc, float f)
878878 @brief
879− @param
879+ @param osc A pointer to the relevant tMBSaw.
880880
881881 @fn void tMBSaw_syncIn(tMBSaw* const osc, float sync)
882882 @brief
883− @param
883+ @param osc A pointer to the relevant tMBSaw.
884884
885885 @fn float tMBSaw_syncOut(tMBSaw* const osc)
886886 @brief
887− @param
887+ @param osc A pointer to the relevant tMBSaw.
888888 
889889 @} */
890890
leaf/Inc/leaf-physical.h+86−86
@@ -43,46 +43,46 @@ extern "C" { · 42 unmodified lines
4343 @{
4444
4545 @fn void tPluck_init (tPluck* const, float lowestFrequency, LEAF* const leaf)
46− @brief
47− @param
46+ @brief Initialize a tPluck to the default mempool of a LEAF instance.
47+ @param string A pointer to the tPluck to initialize.
4848 @param leaf A pointer to the leaf instance.
4949
5050 @fn void tPluck_initToPool (tPluck* const, float lowestFrequency, tMempool* const)
51− @brief
52− @param
51+ @brief Initialize a tPluck to a specified mempool.
52+ @param string A pointer to the tPluck to initialize.
5353 @param mempool A pointer to the tMempool to use.
5454
5555 @fn void tPluck_free (tPluck* const)
5656 @brief Free a tPluck from its mempool.
57− @param
57+ @param string A pointer to the tPluck to free.
5858
5959 @fn float tPluck_tick (tPluck* const)
6060 @brief
61− @param
61+ @param string A pointer to the relevant tPluck.
6262
6363 @fn void tPluck_pluck (tPluck* const, float amplitude)
6464 @brief Pluck the string.
65− @param
65+ @param string A pointer to the relevant tPluck.
6666
6767 @fn void tPluck_noteOn (tPluck* const, float frequency, float amplitude )
6868 @brief Start a note with the given frequency and amplitude.
69− @param
69+ @param string A pointer to the relevant tPluck.
7070
7171 @fn void tPluck_noteOff (tPluck* const, float amplitude )
7272 @brief Stop a note with the given amplitude (speed of decay)
73− @param
73+ @param string A pointer to the relevant tPluck.
7474
7575 @fn void tPluck_setFrequency (tPluck* const, float frequency )
7676 @brief Set instrument parameters for a particular frequency.
77− @param
77+ @param string A pointer to the relevant tPluck.
7878
7979 @fn void tPluck_controlChange (tPluck* const, int number, float value)
8080 @brief Perform the control change specified by \e number and \e value (0.0 - 128.0).
81− @param
81+ @param string A pointer to the relevant tPluck.
8282
8383 @fn float tPluck_getLastOut (tPluck* const)
8484 @brief
85− @param
85+ @param string A pointer to the relevant tPluck.
8686
8787 @} */
8888
@@ -126,58 +126,58 @@ extern "C" { · 37 unmodified lines
126126 @{
127127
128128 @fn void tKarplusStrong_init (tKarplusStrong* const, float lowestFrequency, LEAF* const leaf)
129− @brief
130− @param
129+ @brief Initialize a tKarplusStrong to the default mempool of a LEAF instance.
130+ @param string A pointer to the tKarplusStrong to initialize.
131131 @param leaf A pointer to the leaf instance.
132132
133133 @fn void tKarplusStrong_initToPool (tKarplusStrong* const, float lowestFrequency, tMempool* const)
134− @brief
135− @param
134+ @brief Initialize a tKarplusStrong to a specified mempool.
135+ @param string A pointer to the tKarplusStrong to initialize.
136136 @param mempool A pointer to the tMempool to use.
137137
138138 @fn void tKarplusStrong_free (tKarplusStrong* const)
139139 @brief Free a tKarplusStrong from its mempool.
140− @param
140+ @param string A pointer to the tKarplusStrong to free.
141141
142142 @fn float tKarplusStrong_tick (tKarplusStrong* const)
143143 @brief
144− @param
144+ @param string A pointer to the relevant tKarplusStrong.
145145
146146 @fn void tKarplusStrong_pluck (tKarplusStrong* const, float amplitude)
147147 @brief Pluck the string.
148− @param
148+ @param string A pointer to the relevant tKarplusStrong.
149149
150150 @fn void tKarplusStrong_noteOn (tKarplusStrong* const, float frequency, float amplitude)
151151 @brief Start a note with the given frequency and amplitude.
152− @param
152+ @param string A pointer to the relevant tKarplusStrong.
153153
154154 @fn void tKarplusStrong_noteOff (tKarplusStrong* const, float amplitude)
155155 @brief Stop a note with the given amplitude (speed of decay).
156− @param
156+ @param string A pointer to the relevant tKarplusStrong.
157157
158158 @fn void tKarplusStrong_setFrequency (tKarplusStrong* const, float frequency)
159159 @brief Set instrument parameters for a particular frequency.
160− @param
160+ @param string A pointer to the relevant tKarplusStrong.
161161
162162 @fn void tKarplusStrong_controlChange (tKarplusStrong* const, SKControlType type, float value)
163163 @brief Perform the control change specified by \e number and \e value (0.0 - 128.0). Use SKPickPosition, SKStringDamping, or SKDetune for type.
164− @param
164+ @param string A pointer to the relevant tKarplusStrong.
165165
166166 @fn void tKarplusStrong_setStretch (tKarplusStrong* const, float stretch)
167167 @brief Set the stretch "factor" of the string (0.0 - 1.0).
168− @param
168+ @param string A pointer to the relevant tKarplusStrong.
169169
170170 @fn void tKarplusStrong_setPickupPosition (tKarplusStrong* const, float position)
171171 @brief Set the pluck or "excitation" position along the string (0.0 - 1.0).
172− @param
172+ @param string A pointer to the relevant tKarplusStrong.
173173
174174 @fn void tKarplusStrong_setBaseLoopGain (tKarplusStrong* const, float aGain )
175175 @brief Set the base loop gain.
176− @param
176+ @param string A pointer to the relevant tKarplusStrong.
177177
178178 @fn float tKarplusStrong_getLastOut (tKarplusStrong* const)
179179 @brief
180− @param
180+ @param string A pointer to the relevant tKarplusStrong.
181181
182182 @} */
183183
@@ -238,58 +238,58 @@ extern "C" { · 54 unmodified lines
238238 @{
239239
240240 @fn void tSimpleLivingString_init (tSimpleLivingString* const, float freq, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, LEAF* const leaf)
241− @brief
242− @param
241+ @brief Initialize a tSimpleLivingString to the default mempool of a LEAF instance.
242+ @param string A pointer to the tSimpleLivingString to initialize.
243243 @param leaf A pointer to the leaf instance.
244244
245245 @fn void tSimpleLivingString_initToPool (tSimpleLivingString* const, float freq, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, tMempool* const)
246− @brief
247− @param
246+ @brief Initialize a tSimpleLivingString to a specified mempool.
247+ @param string A pointer to the tSimpleLivingString to initialize.
248248 @param mempool A pointer to the tMempool to use.
249249
250250 @fn void tSimpleLivingString_free (tSimpleLivingString* const)
251251 @brief Free a tSimpleLivingString from its mempool.
252− @param
252+ @param string A pointer to the tSimpleLivingString to free.
253253
254254 @fn float tSimpleLivingString_tick (tSimpleLivingString* const, float input)
255255 @brief
256− @param
256+ @param string A pointer to the relevant tSimpleLivingString.
257257
258258 @fn float tSimpleLivingString_sample (tSimpleLivingString* const)
259259 @brief
260− @param
260+ @param string A pointer to the relevant tSimpleLivingString.
261261
262262 @fn void tSimpleLivingString_setFreq (tSimpleLivingString* const, float freq)
263263 @brief
264− @param
264+ @param string A pointer to the relevant tSimpleLivingString.
265265
266266 @fn void tSimpleLivingString_setWaveLength (tSimpleLivingString* const, float waveLength)
267267 @brief
268− @param
268+ @param string A pointer to the relevant tSimpleLivingString.
269269
270270 @fn void tSimpleLivingString_setDampFreq (tSimpleLivingString* const, float dampFreq)
271271 @brief
272− @param
272+ @param string A pointer to the relevant tSimpleLivingString.
273273
274274 @fn void tSimpleLivingString_setDecay (tSimpleLivingString* const, float decay)
275275 @brief
276− @param
276+ @param string A pointer to the relevant tSimpleLivingString.
277277
278278 @fn void tSimpleLivingString_setTargetLev (tSimpleLivingString* const, float targetLev)
279279 @brief
280− @param
280+ @param string A pointer to the relevant tSimpleLivingString.
281281
282282 @fn void tSimpleLivingString_setLevSmoothFactor (tSimpleLivingString* const, float levSmoothFactor)
283283 @brief
284− @param
284+ @param string A pointer to the relevant tSimpleLivingString.
285285
286286 @fn void tSimpleLivingString_setLevStrength (tSimpleLivingString* const, float levStrength)
287287 @brief
288− @param
288+ @param string A pointer to the relevant tSimpleLivingString.
289289
290290 @fn void tSimpleLivingString_setLevMode (tSimpleLivingString* const, int levMode)
291291 @brief
292− @param
292+ @param string A pointer to the relevant tSimpleLivingString.
293293
294294 @} */
295295
@@ -339,66 +339,66 @@ extern "C" { · 43 unmodified lines
339339 @{
340340
341341 @fn void tLivingString_init (tLivingString* const, float freq, float pickPos, float prepIndex, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, LEAF* const leaf)
342− @brief
343− @param
342+ @brief Initialize a tLivingString to the default mempool of a LEAF instance.
343+ @param string A pointer to the tLivingString to initialize.
344344 @param leaf A pointer to the leaf instance.
345345
346346 @fn void tLivingString_initToPool (tLivingString* const, float freq, float pickPos, float prepIndex, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, tMempool* const)
347− @brief
348− @param
347+ @brief Initialize a tLivingString to a specified mempool.
348+ @param string A pointer to the tLivingString to initialize.
349349 @param mempool A pointer to the tMempool to use.
350350
351351 @fn void tLivingString_free (tLivingString* const)
352352 @brief Free a tLivingString from its mempool.
353− @param
353+ @param string A pointer to the tLivingString to free.
354354
355355 @fn float tLivingString_tick (tLivingString* const, float input)
356356 @brief
357− @param
357+ @param string A pointer to the relevant tLivingString.
358358
359359 @fn float tLivingString_sample (tLivingString* const)
360360 @brief
361− @param
361+ @param string A pointer to the relevant tLivingString.
362362
363363 @fn void tLivingString_setFreq (tLivingString* const, float freq)
364364 @brief
365− @param
365+ @param string A pointer to the relevant tLivingString.
366366
367367 @fn void tLivingString_setWaveLength (tLivingString* const, float waveLength)
368368 @brief
369− @param
369+ @param string A pointer to the relevant tLivingString.
370370
371371 @fn void tLivingString_setPickPos (tLivingString* const, float pickPos)
372372 @brief
373− @param
373+ @param string A pointer to the relevant tLivingString.
374374
375375 @fn void tLivingString_setPrepIndex (tLivingString* const, float prepIndex)
376376 @brief
377− @param
377+ @param string A pointer to the relevant tLivingString.
378378
379379 @fn void tLivingString_setDampFreq (tLivingString* const, float dampFreq)
380380 @brief
381− @param
381+ @param string A pointer to the relevant tLivingString.
382382
383383 @fn void tLivingString_setDecay (tLivingString* const, float decay)
384384 @brief
385− @param
385+ @param string A pointer to the relevant tLivingString.
386386
387387 @fn void tLivingString_setTargetLev (tLivingString* const, float targetLev)
388388 @brief
389− @param
389+ @param string A pointer to the relevant tLivingString.
390390
391391 @fn void tLivingString_setLevSmoothFactor (tLivingString* const, float levSmoothFactor)
392392 @brief
393− @param
393+ @param string A pointer to the relevant tLivingString.
394394
395395 @fn void tLivingString_setLevStrength (tLivingString* const, float levStrength)
396396 @brief
397− @param
397+ @param string A pointer to the relevant tLivingString.
398398
399399 @fn void tLivingString_setLevMode (tLivingString* const, int levMode)
400400 @brief
401− @param
401+ @param string A pointer to the relevant tLivingString.
402402
403403 @} */
404404
@@ -454,70 +454,70 @@ extern "C" { · 49 unmodified lines
454454 @{
455455
456456 @fn void tComplexLivingString_init (tComplexLivingString* const, float freq, float pickPos, float prepPos, float prepIndex, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, LEAF* const leaf)
457− @brief
458− @param
457+ @brief Initialize a tComplexLivingString to the default mempool of a LEAF instance.
458+ @param string A pointer to the tComplexLivingString to initialize.
459459 @param leaf A pointer to the leaf instance.
460460
461461 @fn void tComplexLivingString_initToPool (tComplexLivingString* const, float freq, float pickPos, float prepPos, float prepIndex, float dampFreq, float decay, float targetLev, float levSmoothFactor, float levStrength, int levMode, tMempool* const)
462− @brief
463− @param
462+ @brief Initialize a tComplexLivingString to a specified mempool.
463+ @param string A pointer to the tComplexLivingString to initialize.
464464 @param mempool A pointer to the tMempool to use.
465465
466466 @fn void tComplexLivingString_free (tComplexLivingString* const)
467467 @brief Free a tComplexLivingString from its mempool.
468− @param
468+ @param string A pointer to the tComplexLivingString to free.
469469
470470 @fn float tComplexLivingString_tick (tComplexLivingString* const, float input)
471471 @brief
472− @param
472+ @param string A pointer to the relevant tComplexLivingString.
473473
474474 @fn float tComplexLivingString_sample (tComplexLivingString* const)
475475 @brief
476− @param
476+ @param string A pointer to the relevant tComplexLivingString.
477477
478478 @fn void tComplexLivingString_setFreq (tComplexLivingString* const, float freq)
479479 @brief
480− @param
480+ @param string A pointer to the relevant tComplexLivingString.
481481
482482 @fn void tComplexLivingString_setWaveLength (tComplexLivingString* const, float waveLength)
483483 @brief
484− @param
484+ @param string A pointer to the relevant tComplexLivingString.
485485
486486 @fn void tComplexLivingString_setPickPos (tComplexLivingString* const, float pickPos)
487487 @brief
488− @param
488+ @param string A pointer to the relevant tComplexLivingString.
489489
490490 @fn void tComplexLivingString_setPrepPos (tComplexLivingString* const, float prepPos)
491491 @brief
492− @param
492+ @param string A pointer to the relevant tComplexLivingString.
493493
494494 @fn void tComplexLivingString_setPrepIndex (tComplexLivingString* const, float prepIndex)
495495 @brief
496− @param
496+ @param string A pointer to the relevant tComplexLivingString.
497497
498498 @fn void tComplexLivingString_setDampFreq (tComplexLivingString* const, float dampFreq)
499499 @brief
500− @param
500+ @param string A pointer to the relevant tComplexLivingString.
501501
502502 @fn void tComplexLivingString_setDecay (tComplexLivingString* const, float decay)
503503 @brief
504− @param
504+ @param string A pointer to the relevant tComplexLivingString.
505505
506506 @fn void tComplexLivingString_setTargetLev (tComplexLivingString* const, float targetLev)
507507 @brief
508− @param
508+ @param string A pointer to the relevant tComplexLivingString.
509509
510510 @fn void tComplexLivingString_setLevSmoothFactor (tComplexLivingString* const, float levSmoothFactor)
511511 @brief
512− @param
512+ @param string A pointer to the relevant tComplexLivingString.
513513
514514 @fn void tComplexLivingString_setLevStrength (tComplexLivingString* const, float levStrength)
515515 @brief
516− @param
516+ @param string A pointer to the relevant tComplexLivingString.
517517
518518 @fn void tComplexLivingString_setLevMode (tComplexLivingString* const, int levMode)
519519 @brief
520− @param
520+ @param string A pointer to the relevant tComplexLivingString.
521521
522522 @} */
523523
@@ -577,34 +577,34 @@ extern "C" { · 53 unmodified lines
577577 @{
578578
579579 @fn void tReedTable_init (tReedTable* const, float offset, float slope, LEAF* const leaf)
580− @brief
581− @param
580+ @brief Initialize a tReedTable to the default mempool of a LEAF instance.
581+ @param reed A pointer to the tReedTable to initialize.
582582 @param leaf A pointer to the leaf instance.
583583
584584 @fn void tReedTable_initToPool (tReedTable* const, float offset, float slope, tMempool* const)
585− @brief
586− @param
585+ @brief Initialize a tReedTable to a specified mempool.
586+ @param reed A pointer to the tReedTable to initialize.
587587 @param mempool A pointer to the tMempool to use.
588588
589589 @fn void tReedTable_free (tReedTable* const)
590590 @brief Free a tReedTable from its mempool.
591− @param
591+ @param reed A pointer to the tReedTable to free.
592592
593593 @fn float tReedTable_tick (tReedTable* const, float input)
594594 @brief
595− @param
595+ @param reed A pointer to the relevant tReedTable.
596596
597597 @fn float tReedTable_tanh_tick (tReedTable* const, float input)
598598 @brief
599− @param
599+ @param reed A pointer to the relevant tReedTable.
600600
601601 @fn void tReedTable_setOffset (tReedTable* const, float offset)
602602 @brief
603− @param
603+ @param reed A pointer to the relevant tReedTable.
604604
605605 @fn void tReedTable_setSlope (tReedTable* const, float slope)
606606 @brief
607− @param
607+ @param reed A pointer to the relevant tReedTable.
608608
609609 @} */
610610
leaf/Inc/leaf-reverb.h+37−37
@@ -39,34 +39,34 @@ extern "C" { · 38 unmodified lines
3939 @{
4040
4141 @fn void tPRCReverb_init (tPRCReverb* const, float t60, LEAF* const leaf)
42− @brief
43− @param
42+ @brief Initialize a tPRCReverb to the default mempool of a LEAF instance.
43+ @param reverb A pointer to the tPRCReverb to initialize.
4444 @param leaf A pointer to the leaf instance.
4545
4646 @fn void tPRCReverb_initToPool (tPRCReverb* const, float t60, tMempool* const)
47− @brief
48− @param
47+ @brief Initialize a tPRCReverb to a specified mempool.
48+ @param reverb A pointer to the tPRCReverb to initialize.
4949 @param mempool A pointer to the tMempool to use.
5050
5151 @fn void tPRCReverb_free (tPRCReverb* const)
5252 @brief Free a tPRCReverb from its mempool.
53− @param
53+ @param reverb A pointer to the tPRCReverb to free.
5454
5555 @fn void tPRCReverb_clear (tPRCReverb* const)
5656 @brief
57− @param
57+ @param reverb A pointer to the relevant tPRCReverb.
5858
5959 @fn float tPRCReverb_tick (tPRCReverb* const, float input)
6060 @brief
61− @param
61+ @param reverb A pointer to the relevant tPRCReverb.
6262
6363 @fn void tPRCReverb_setT60 (tPRCReverb* const, float t60)
6464 @brief Set reverb time in seconds.
65− @param
65+ @param reverb A pointer to the relevant tPRCReverb.
6666
6767 @fn void tPRCReverb_setMix (tPRCReverb* const, float mix)
6868 @brief Set mix between dry input and wet output signal.
69− @param
69+ @param reverb A pointer to the relevant tPRCReverb.
7070
7171 @} */
7272
@@ -107,39 +107,39 @@ extern "C" { · 34 unmodified lines
107107 @{
108108
109109 @fn void tNReverb_init (tNReverb* const, float t60, LEAF* const leaf)
110− @brief
111− @param
110+ @brief Initialize a tNReverb to the default mempool of a LEAF instance.
111+ @param reverb A pointer to the tNReverb to initialize.
112112 @param leaf A pointer to the leaf instance.
113113
114114 @fn void tNReverb_initToPool (tNReverb* const, float t60, tMempool* const)
115− @brief
116− @param
115+ @brief Initialize a tNReverb to a specified mempool.
116+ @param reverb A pointer to the tNReverb to initialize.
117117 @param mempool A pointer to the tMempool to use.
118118
119119 @fn void tNReverb_free (tNReverb* const)
120120 @brief Free a tNReverb from its mempool.
121− @param
121+ @param reverb A pointer to the tNReverb to free.
122122
123123 @fn void tNReverb_clear (tNReverb* const)
124124 @brief
125− @param
125+ @param reverb A pointer to the relevant tNReverb.
126126
127127 @fn float tNReverb_tick (tNReverb* const, float input)
128128 @brief
129− @param
129+ @param reverb A pointer to the relevant tNReverb.
130130
131131 @fn void tNReverb_tickStereo (tNReverb* const rev, float input, float* output)
132− @brief
133− @param
132+ @brief
133+ @param reverb A pointer to the relevant tNReverb.
134134
135135 @fn void tNReverb_setT60 (tNReverb* const, float t60)
136136 @brief Set reverb time in seconds.
137− @param
137+ @param reverb A pointer to the relevant tNReverb.
138138
139139 @fn void tNReverb_setMix (tNReverb* const, float mix)
140140 @brief Set mix between dry input and wet output signal.
141− @param
142−
141+ @param reverb A pointer to the relevant tNReverb.
142+
143143 @} */
144144
145145 typedef struct _tNReverb
@@ -181,62 +181,62 @@ extern "C" { · 35 unmodified lines
181181 @{
182182
183183 @fn void tDattorroReverb_init (tDattorroReverb* const, LEAF* const leaf)
184− @brief
185− @param
184+ @brief Initialize a tDattorroReverb to the default mempool of a LEAF instance.
185+ @param reverb A pointer to the tDattorroReverb to initialize.
186186 @param leaf A pointer to the leaf instance.
187187
188188 @fn void tDattorroReverb_initToPool (tDattorroReverb* const, tMempool* const)
189− @brief
190− @param
189+ @brief Initialize a tDattorroReverb to a specified mempool.
190+ @param reverb A pointer to the tDattorroReverb to initialize.
191191 @param mempool A pointer to the tMempool to use.
192192
193193 @fn void tDattorroReverb_free (tDattorroReverb* const)
194194 @brief Free a tDattorroReverb from its mempool.
195− @param
195+ @param reverb A pointer to the tDattorroReverb to free.
196196
197197 @fn void tDattorroReverb_clear (tDattorroReverb* const)
198198 @brief
199− @param
199+ @param reverb A pointer to the relevant tDattorroReverb.
200200
201201 @fn float tDattorroReverb_tick (tDattorroReverb* const, float input)
202202 @brief
203− @param
203+ @param reverb A pointer to the relevant tDattorroReverb.
204204
205205 @fn void tDattorroReverb_tickStereo (tDattorroReverb* const rev, float input, float* output)
206206 @brief
207− @param
207+ @param reverb A pointer to the relevant tDattorroReverb.
208208
209209 @fn void tDattorroReverb_setMix (tDattorroReverb* const, float mix)
210210 @brief
211− @param
211+ @param reverb A pointer to the relevant tDattorroReverb.
212212
213213 @fn void tDattorroReverb_setFreeze (tDattorroReverb* const rev, uint32_t freeze)
214214 @brief
215− @param
215+ @param reverb A pointer to the relevant tDattorroReverb.
216216
217217 @fn void tDattorroReverb_setHP (tDattorroReverb* const, float freq)
218218 @brief
219− @param
219+ @param reverb A pointer to the relevant tDattorroReverb.
220220
221221 @fn void tDattorroReverb_setSize (tDattorroReverb* const, float size)
222222 @brief
223− @param
223+ @param reverb A pointer to the relevant tDattorroReverb.
224224
225225 @fn void tDattorroReverb_setInputDelay (tDattorroReverb* const, float preDelay)
226226 @brief
227− @param
227+ @param reverb A pointer to the relevant tDattorroReverb.
228228
229229 @fn void tDattorroReverb_setInputFilter (tDattorroReverb* const, float freq)
230230 @brief
231− @param
231+ @param reverb A pointer to the relevant tDattorroReverb.
232232
233233 @fn void tDattorroReverb_setFeedbackFilter (tDattorroReverb* const, float freq)
234234 @brief
235− @param
235+ @param reverb A pointer to the relevant tDattorroReverb.
236236
237237 @fn void tDattorroReverb_setFeedbackGain (tDattorroReverb* const, float gain)
238238 @brief
239− @param
239+ @param reverb A pointer to the relevant tDattorroReverb.
240240
241241 @} */
242242
leaf/Inc/leaf-sampling.h+62−62
@@ -40,70 +40,70 @@ extern "C" { · 39 unmodified lines
4040 @{
4141
4242 @fn void tBuffer_init (tBuffer* const, uint32_t length, LEAF* const leaf)
43− @brief
44− @param
43+ @brief Initialize a tBuffer to the default mempool of a LEAF instance.
44+ @param sampler A pointer to the tBuffer to initialize.
4545 @param leaf A pointer to the leaf instance.
4646
4747 @fn void tBuffer_initToPool (tBuffer* const, uint32_t length, tMempool* const)
48− @brief
49− @param
48+ @brief Initialize a tBuffer to a specified mempool.
49+ @param sampler A pointer to the tBuffer to initialize.
5050 @param mempool A pointer to the tMempool to use.
5151
5252 @fn void tBuffer_free (tBuffer* const)
5353 @brief Free a tBuffer from its mempool.
54− @param
54+ @param sampler A pointer to the tBuffer to free.
5555
5656 @fn void tBuffer_tick (tBuffer* const, float sample)
5757 @brief
58− @param
58+ @param sampler A pointer to the relevant tBuffer.
5959
6060 @fn void tBuffer_read (tBuffer* const, float* buff, uint32_t len)
6161 @brief
62− @param
62+ @param sampler A pointer to the relevant tBuffer.
6363
6464 @fn float tBuffer_get (tBuffer* const, int idx)
6565 @brief
66− @param
66+ @param sampler A pointer to the relevant tBuffer.
6767
6868 @fn void tBuffer_record (tBuffer* const)
6969 @brief
70− @param
70+ @param sampler A pointer to the relevant tBuffer.
7171
7272 @fn void tBuffer_stop (tBuffer* const)
7373 @brief
74− @param
74+ @param sampler A pointer to the relevant tBuffer.
7575
7676 @fn int tBuffer_getRecordPosition (tBuffer* const)
7777 @brief
78− @param
78+ @param sampler A pointer to the relevant tBuffer.
7979
8080 @fn void tBuffer_setRecordPosition (tBuffer* const, int pos)
8181 @brief
82− @param
82+ @param sampler A pointer to the relevant tBuffer.
8383
8484 @fn void tBuffer_setRecordMode (tBuffer* const, RecordMode mode)
8585 @brief
86− @param
86+ @param sampler A pointer to the relevant tBuffer.
8787
8888 @fn void tBuffer_clear (tBuffer* const)
8989 @brief
90− @param
90+ @param sampler A pointer to the relevant tBuffer.
9191
9292 @fn uint32_t tBuffer_getBufferLength (tBuffer* const)
9393 @brief
94− @param
94+ @param sampler A pointer to the relevant tBuffer.
9595
9696 @fn uint32_t tBuffer_getRecordedLength (tBuffer* const sb)
9797 @brief
98− @param
98+ @param sampler A pointer to the relevant tBuffer.
9999
100100 @fn void tBuffer_setRecordedLength (tBuffer* const sb, int length)
101101 @brief
102− @param
102+ @param sampler A pointer to the relevant tBuffer.
103103
104104 @fn int tBuffer_isActive (tBuffer* const sb)
105105 @brief
106− @param
106+ @param sampler A pointer to the relevant tBuffer.
107107
108108 @} */
109109
@@ -161,58 +161,58 @@ extern "C" { · 51 unmodified lines
161161 @{
162162
163163 @fn void tSampler_init (tSampler* const, tBuffer* const, LEAF* const leaf)
164− @brief
165− @param
164+ @brief Initialize a tSampler to the default mempool of a LEAF instance.
165+ @param sampler A pointer to the tSampler to initialize.
166166 @param leaf A pointer to the leaf instance.
167167
168168 @fn void tSampler_initToPool (tSampler* const, tBuffer* const, tMempool* const)
169− @brief
170− @param
169+ @brief Initialize a tSampler to a specified mempool.
170+ @param sampler A pointer to the tSampler to initialize.
171171 @param mempool A pointer to the tMempool to use.
172172
173173 @fn void tSampler_free (tSampler* const)
174174 @brief Free a tSampler from its mempool.
175− @param
175+ @param sampler A pointer to the tSampler to free.
176176
177177 @fn float tSampler_tick (tSampler* const)
178178 @brief
179− @param
179+ @param sampler A pointer to the relevant tSampler.
180180
181181 @fn void tSampler_setSample (tSampler* const, tBuffer* const)
182182 @brief
183− @param
183+ @param sampler A pointer to the relevant tSampler.
184184
185185 @fn void tSampler_setMode (tSampler* const, PlayMode mode)
186186 @brief
187− @param
187+ @param sampler A pointer to the relevant tSampler.
188188
189189 @fn void tSampler_play (tSampler* const)
190190 @brief
191− @param
191+ @param sampler A pointer to the relevant tSampler.
192192
193193 @fn void tSampler_stop (tSampler* const)
194194 @brief
195− @param
195+ @param sampler A pointer to the relevant tSampler.
196196
197197 @fn void tSampler_setStart (tSampler* const, int32_t start)
198198 @brief
199− @param
199+ @param sampler A pointer to the relevant tSampler.
200200
201201 @fn void tSampler_setEnd (tSampler* const, int32_t end)
202202 @brief
203− @param
203+ @param sampler A pointer to the relevant tSampler.
204204
205205 @fn void tSampler_setLength (tSampler* const, int32_t length)
206206 @brief
207− @param
207+ @param sampler A pointer to the relevant tSampler.
208208
209209 @fn void tSampler_setCrossfadeLength (tSampler* const sp, uint32_t length)
210210 @brief
211− @param
211+ @param sampler A pointer to the relevant tSampler.
212212
213213 @fn void tSampler_setRate (tSampler* const, float rate)
214214 @brief
215− @param
215+ @param sampler A pointer to the relevant tSampler.
216216
217217 @} */
218218
@@ -291,54 +291,54 @@ extern "C" { · 72 unmodified lines
291291 @{
292292
293293 @fn void tAutoSampler_init (tAutoSampler* const, tBuffer* const, LEAF* const leaf)
294− @brief
295− @param
294+ @brief Initialize a tAutoSampler to the default mempool of a LEAF instance.
295+ @param sampler A pointer to the tAutoSampler to initialize.
296296 @param leaf A pointer to the leaf instance.
297297
298298 @fn void tAutoSampler_initToPool (tAutoSampler* const, tBuffer* const, tMempool* const)
299− @brief
300− @param
299+ @brief Initialize a tAutoSampler to a specified mempool.
300+ @param sampler A pointer to the tAutoSampler to initialize.
301301 @param mempool A pointer to the tMempool to use.
302302
303303 @fn void tAutoSampler_free (tAutoSampler* const)
304304 @brief Free a tAutoSampler from its mempool.
305− @param
305+ @param sampler A pointer to the tAutoSampler to free.
306306
307307 @fn float tAutoSampler_tick (tAutoSampler* const, float input)
308308 @brief
309− @param
309+ @param sampler A pointer to the relevant tAutoSampler.
310310
311311 @fn void tAutoSampler_setBuffer (tAutoSampler* const, tBuffer* const)
312312 @brief
313− @param
313+ @param sampler A pointer to the relevant tAutoSampler.
314314
315315 @fn void tAutoSampler_setMode (tAutoSampler* const, PlayMode mode)
316316 @brief
317− @param
317+ @param sampler A pointer to the relevant tAutoSampler.
318318
319319 @fn void tAutoSampler_play (tAutoSampler* const)
320320 @brief
321− @param
321+ @param sampler A pointer to the relevant tAutoSampler.
322322
323323 @fn void tAutoSampler_stop (tAutoSampler* const)
324324 @brief
325− @param
325+ @param sampler A pointer to the relevant tAutoSampler.
326326
327327 @fn void tAutoSampler_setThreshold (tAutoSampler* const, float thresh)
328328 @brief
329− @param
329+ @param sampler A pointer to the relevant tAutoSampler.
330330
331331 @fn void tAutoSampler_setWindowSize (tAutoSampler* const, uint32_t size)
332332 @brief
333− @param
333+ @param sampler A pointer to the relevant tAutoSampler.
334334
335335 @fn void tAutoSampler_setCrossfadeLength (tAutoSampler* const, uint32_t length)
336336 @brief
337− @param
337+ @param sampler A pointer to the relevant tAutoSampler.
338338
339339 @fn void tAutoSampler_setRate (tAutoSampler* const, float rate)
340340 @brief
341− @param
341+ @param sampler A pointer to the relevant tAutoSampler.
342342
343343 @} */
344344
@@ -380,58 +380,58 @@ extern "C" { · 35 unmodified lines
380380 @{
381381
382382 @fn void tMBSampler_init (tMBSampler* const, tBuffer* const, LEAF* const leaf)
383− @brief
384− @param
383+ @brief Initialize a tMBSampler to the default mempool of a LEAF instance.
384+ @param sampler A pointer to the tMBSampler to initialize.
385385 @param leaf A pointer to the leaf instance.
386386
387387 @fn void tMBSampler_initToPool (tMBSampler* const, tBuffer* const, tMempool* const)
388− @brief
389− @param
388+ @brief Initialize a tMBSampler to a specified mempool.
389+ @param sampler A pointer to the tMBSampler to initialize.
390390 @param mempool A pointer to the tMempool to use.
391391
392392 @fn void tMBSampler_free (tMBSampler* const)
393393 @brief Free a tMBSampler from its mempool.
394− @param
394+ @param sampler A pointer to the tMBSampler to free.
395395
396396 @fn float tMBSampler_tick (tMBSampler* const)
397397 @brief
398− @param
398+ @param sampler A pointer to the relevant tMBSampler.
399399
400400 @fn void tMBSampler_setSample (tMBSampler* const, tBuffer* const)
401401 @brief
402− @param
402+ @param sampler A pointer to the relevant tMBSampler.
403403
404404 @fn void tMBSampler_setMode (tMBSampler* const, PlayMode mode)
405405 @brief
406− @param
406+ @param sampler A pointer to the relevant tMBSampler.
407407
408408 @fn void tMBSampler_play (tMBSampler* const)
409409 @brief
410− @param
410+ @param sampler A pointer to the relevant tMBSampler.
411411
412412 @fn void tMBSampler_stop (tMBSampler* const)
413413 @brief
414− @param
414+ @param sampler A pointer to the relevant tMBSampler.
415415
416416 @fn void tMBSampler_setStart (tMBSampler* const, int32_t start)
417417 @brief
418− @param
418+ @param sampler A pointer to the relevant tMBSampler.
419419
420420 @fn void tMBSampler_setEnd (tMBSampler* const, int32_t end)
421421 @brief
422− @param
422+ @param sampler A pointer to the relevant tMBSampler.
423423
424424 @fn void tMBSampler_setLength (tMBSampler* const, int32_t length)
425425 @brief
426− @param
426+ @param sampler A pointer to the relevant tMBSampler.
427427
428428 @fn void tMBSampler_setCrossfadeLength (tMBSampler* const sp, uint32_t length)
429429 @brief
430− @param
430+ @param sampler A pointer to the relevant tMBSampler.
431431
432432 @fn void tMBSampler_setRate (tMBSampler* const, float rate)
433433 @brief
434− @param
434+ @param sampler A pointer to the relevant tMBSampler.
435435
436436 @} */
437437
leaf/Src/leaf-mempool.c+2−2
@@ -409,7 +409,7 @@ static inline void delink_node(mpool_node_t* node) · 408 unmodified lines
409409
410410 void tMempool_init(tMempool* const mp, char* memory, size_t size, LEAF* const leaf)
411411 {
412− tMempool_initToPool(mp, memory, size, &leaf->mempool, leaf);
412+ tMempool_initToPool(mp, memory, size, &leaf->mempool);
413413 }
414414
415415 void tMempool_free(tMempool* const mp)
@@ -419,7 +419,7 @@ void tMempool_free(tMempool* const mp) · 3 unmodified lines
419419 mpool_free((char*)m, m->mempool);
420420 }
421421
422−void tMempool_initToPool (tMempool* const mp, char* memory, size_t size, tMempool* const mem, LEAF* const leaf)
422+void tMempool_initToPool (tMempool* const mp, char* memory, size_t size, tMempool* const mem)
423423 {
424424 _tMempool* mm = *mem;
425425 _tMempool* m = *mp = (_tMempool*) mpool_alloc(sizeof(_tMempool), mm);
leaf/Src/leaf-oscillators.c+0−1
@@ -76,7 +76,6 @@ float tTable_tick(tTable* const cy) · 75 unmodified lines
7676 samp1 = c->waveTable[intPart];
7777
7878 return (samp0 + (samp1 - samp0) * fracPart);
79−
8079 }
8180
8281 void tTableSampleRateChanged(tTable* const cy)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t