Compare commits

..

No commits in common. "b85741879510f8310fc468a52629c2adea60bed9" and "c515c1e07e5f3987f6182b4d48d7b9bd774a180b" have entirely different histories.

3 changed files with 1 additions and 12 deletions

3
pwm.c
View File

@ -2,7 +2,6 @@
#include <pico/types.h>
#include "const.h"
#include "synth.h"
#include "pwm.h"
@ -14,7 +13,7 @@ void pwm_isr(void) {
pwm_clear_irq(slice);
// TODO:
float sample = get_sample();
float sample = 0.0f;
uint16_t level = (uint16_t)((sample + 1.0f) * 0.5f * 3400.0f);
pwm_set_chan_level(slice, chan, level);

View File

@ -1,6 +0,0 @@
#include "synth.h"
float get_sample(void) {
return 0;
}

View File

@ -1,4 +0,0 @@
#pragma once
float get_sample(void);