Compare commits
No commits in common. "3ce93a08bfcd66b8b106adb6b2a6cb2aaa9e28a6" and "63b977f937a89afce479a58d42ce716aa6ba4eb9" have entirely different histories.
3ce93a08bf
...
63b977f937
13
main.cc
13
main.cc
@ -11,6 +11,9 @@
|
|||||||
#include "state.h"
|
#include "state.h"
|
||||||
#include "daisysp.h"
|
#include "daisysp.h"
|
||||||
|
|
||||||
|
daisysp::Oscillator osc;
|
||||||
|
daisysp::Svf filter;
|
||||||
|
|
||||||
state_t state;
|
state_t state;
|
||||||
|
|
||||||
void init_all() {
|
void init_all() {
|
||||||
@ -38,15 +41,7 @@ void init_all() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
daisysp::Oscillator osc;
|
__attribute__((noreturn)) int main() {
|
||||||
|
|
||||||
__attribute__((noreturn))
|
|
||||||
int main() {
|
|
||||||
init_all();
|
init_all();
|
||||||
|
|
||||||
osc.Init(SAMPLE_RATE);
|
|
||||||
|
|
||||||
while (1) {
|
|
||||||
osc.SetFreq(state.vco_freq * 1760);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user