mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 18:19:08 -04: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:
parent
66b58ce433
commit
6ac911feb7
6 changed files with 119 additions and 43 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue