mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 00:59:28 +00:00
Testing Messagepack for saving/loading stuff from SD card
This commit is contained in:
@@ -78,7 +78,7 @@ void EPARProcessor::execute(const buffer_c8_t& buffer) {
|
||||
} else {
|
||||
current_tu++;
|
||||
}
|
||||
sample = 0;
|
||||
sample = -127;
|
||||
}
|
||||
|
||||
sample_count = 0;
|
||||
@@ -91,7 +91,7 @@ void EPARProcessor::execute(const buffer_c8_t& buffer) {
|
||||
}
|
||||
|
||||
//FM
|
||||
frq = sample * 1000; // ~25kHz wide
|
||||
frq = sample * shared_memory.excursion; // 500=~3kHz wide
|
||||
|
||||
phase = (phase + frq);
|
||||
sphase = phase + (256<<16);
|
||||
|
||||
Reference in New Issue
Block a user