History

tWavetable; untested

Matthew Wang committed 5 years ago

Commit 32f24271 parent 4317a559 files · +250 −53Browse files

Showing the changes to Examples (2 of 9 files). Show all

Unified · Split

2 files
  1. Examples/basic-oscillators.c +4 −2
  2. Examples/basic-oscillators.h +1 −1
Examples/basic-oscillators.c+4−2
@@ -12,9 +12,11 @@ · 11 unmodified lines
1212
1313 void exampleInit()
1414 {
15− LEAF_init(44100, 64, mempool, 1000, &exampleRandom);
15+ LEAF leaf;
1616
17− tCycle_init(&cycle);
17+ LEAF_init(&leaf, 44100, 128, mempool, 1000, &exampleRandom);
18+
19+ tCycle_init(&cycle, &leaf);
1820 tCycle_setFreq(&cycle, 220);
1921 }
2022
Examples/basic-oscillators.h+1−1
@@ -8,7 +8,7 @@ · 7 unmodified lines
88 ==============================================================================
99 */
1010
11−#include "../LEAF/leaf.h"
11+#include "../leaf/leaf.h"
1212
1313 char mempool[1000];
1414 tCycle cycle;

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