Multiple AM modes selection in application API.

This commit is contained in:
Jared Boone
2016-01-30 19:03:32 -08:00
parent a1e1677b8b
commit a97cd642ac
3 changed files with 40 additions and 5 deletions

View File

@@ -189,6 +189,29 @@ constexpr fir_taps_real<32> taps_6k0_decim_2 {
} },
};
constexpr fir_taps_complex<64> taps_6k0_dsb_channel {
.pass_frequency_normalized = 3000.0f / 12000.0f,
.stop_frequency_normalized = 3300.0f / 12000.0f,
.taps = { {
{ -70, 0 }, { -142, 0 }, { 121, 0 }, { 90, 0 },
{ -134, 0 }, { -136, 0 }, { 200, 0 }, { 170, 0 },
{ -278, 0 }, { -209, 0 }, { 378, 0 }, { 251, 0 },
{ -505, 0 }, { -294, 0 }, { 665, 0 }, { 336, 0 },
{ -868, 0 }, { -378, 0 }, { 1131, 0 }, { 417, 0 },
{ -1479, 0 }, { -453, 0 }, { 1965, 0 }, { 484, 0 },
{ -2698, 0 }, { -510, 0 }, { 3967, 0 }, { 528, 0 },
{ -6829, 0 }, { -540, 0 }, { 20819, 0 }, { 32767, 0 }, /* TODO: Saturated peak! Originally 33312. */
{ 20819, 0 }, { -540, 0 }, { -6829, 0 }, { 528, 0 },
{ 3967, 0 }, { -510, 0 }, { -2698, 0 }, { 484, 0 },
{ 1965, 0 }, { -453, 0 }, { -1479, 0 }, { 417, 0 },
{ 1131, 0 }, { -378, 0 }, { -868, 0 }, { 336, 0 },
{ 665, 0 }, { -294, 0 }, { -505, 0 }, { 251, 0 },
{ 378, 0 }, { -209, 0 }, { -278, 0 }, { 170, 0 },
{ 200, 0 }, { -136, 0 }, { -134, 0 }, { 90, 0 },
{ 121, 0 }, { -142, 0 }, { -70, 0 }, { 0, 0 },
} },
};
// USB AM 2K80J3E emission type ///////////////////////////////////////////
// IFIR prototype filter: fs=12000, pass=3000, stop=3300, decim=1, fout=12000