mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 06:32:35 -04:00
Adding_WFM_AM_mode_to_Audio_App (#2644)
* Adding_WFM_AM_mode_to_Audio_App * more precise values for cos and sin theta, fix sen_theta to sin_theta * fix sen_theta to sin_theta
This commit is contained in:
parent
bd781ce37b
commit
4342f5c0ee
18 changed files with 448 additions and 49 deletions
|
@ -56,8 +56,8 @@ constexpr iir_biquad_config_t audio_12k_hpf_300hz_config{
|
|||
{1.00000000f, -1.77863178f, 0.80080265f}};
|
||||
|
||||
// scipy.signal.butter(2, 1500 / 6000.0, 'low', analog=False)
|
||||
constexpr iir_biquad_config_t audio_12k_lpf_1500hz_config{
|
||||
// Added to lpf the audio in wefax mode , before sending to SD card or spk.
|
||||
constexpr iir_biquad_config_t apt_audio_12k_lpf_1500hz_config{
|
||||
// Added to lpf the apt audio in wefax mode , before sending to SD card or spk.
|
||||
{0.09763107f, 0.19526215f, 0.09763107f},
|
||||
{1.00000000f, -0.94280904f, 0.33333333f}};
|
||||
|
||||
|
@ -108,4 +108,15 @@ constexpr iir_biquad_config_t audio_48k_deemph_2122_6_config{
|
|||
{0.12264116f, 0.12264116f, 0.00000000f},
|
||||
{1.00000000f, -0.75471767f, 0.00000000f}};
|
||||
|
||||
// scipy.signal.iirnotch(f0, Q, fs) = signal.iirnotch(2400, 15, 12000)
|
||||
constexpr iir_biquad_config_t apt_audio_12k_notch_2k4_config{
|
||||
{0.95977357f, -0.59317269f, 0.95977357f},
|
||||
{1.00000000f, -0.59317269f, 0.91954714f}};
|
||||
|
||||
// scipy.signal.butter(2, 2000 / 6000.0, 'low', analog=False)
|
||||
constexpr iir_biquad_config_t apt_audio_12k_lpf_2000hz_config{
|
||||
// Added to lpf the apt audio in NOAA mode , before sending to SD card or spk.
|
||||
{0.15505103f, 0.31010205f, 0.15505103f},
|
||||
{1.00000000f, -0.6202041f, 0.24040821f}};
|
||||
|
||||
#endif /*__DSP_IIR_CONFIG_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue