mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 11:19:58 +00:00
CTCSS bugfix, reading of title in wav files
Added wav file title (INFO chunk) display in soundboard UI Added CTCSS frequency next to PL code Increased CTCSS tone amplitude Added Family Radio Service channels file FRS.TXT
This commit is contained in:
@@ -55,7 +55,7 @@ void AudioTXProcessor::execute(const buffer_c8_t& buffer){
|
||||
|
||||
if (ctcss_enabled) {
|
||||
ctcss_sample = sine_table_i8[(ctcss_phase & 0xFF000000U) >> 24];
|
||||
sample_mixed = ((sample * 217) + (ctcss_sample * 38)) / 256; // ~15%
|
||||
sample_mixed = ((sample * 205) + (ctcss_sample * 50)) / 256; // ~20%
|
||||
ctcss_phase += ctcss_phase_inc;
|
||||
} else {
|
||||
sample_mixed = sample;
|
||||
|
Reference in New Issue
Block a user