History

no need to be so quiet

Sigrid Solveig Haflínudóttir committed 3 years agomaster

Commit a1334701 parent 3857bca1 file · +2 −3Browse files

Unified · Split

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

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