Add audio playback ability to WAV Viewer app (#1829)

This commit is contained in:
Mark Thompson 2024-01-30 13:55:32 -06:00 committed by GitHub
parent 8068517808
commit 125184f300
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 211 additions and 35 deletions

View file

@ -105,6 +105,7 @@ void MicTXView::configure_baseband() {
transmitting ? transmitter_model.channel_bandwidth() : 0,
mic_gain_x10 / 10.0,
shift_bits(), // to be used in dsp_modulate
8, // bits per sample
TONES_F2D(tone_key_frequency(tone_key_index), sampling_rate),
(mic_mod_index == MIC_MOD_AM),
(mic_mod_index == MIC_MOD_DSB),