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