Unified · Split
| @@ -1,3 +1,4 @@ | ||
| 1 | +/* mk && ./plan9_example | audio/pcmconv -i f32c2r44100 > /dev/audio */ | |
| 1 | 2 | #include "leaf.h" |
| 2 | 3 | #include <bio.h> |
| 3 | 4 | |
| @@ -31,9 +32,7 @@ main(int, char **) · 27 unmodified lines | ||
| 31 | 32 | float f[2]; |
| 32 | 33 | tCycle_setFreq(&cycle2, 3 + 2*tCycle_tick(&cycle3)); |
| 33 | 34 | tCycle_setFreq(&cycle, 800 + 400*tCycle_tick(&cycle2)); |
| 34 | − tDattorroReverb_tickStereo(&reverb, tCycle_tick(&cycle)/10.0f, f); | |
| 35 | − f[0] /= 2.0f; | |
| 36 | − f[1] /= 2.0f; | |
| 35 | + tDattorroReverb_tickStereo(&reverb, tCycle_tick(&cycle), f); | |
| 37 | 36 | Bwrite(&out, f, sizeof(f)); |
| 38 | 37 | } |
| 39 | 38 | |