HFP AG problem
-
- Posts: 6
- Joined: Sat Nov 18, 2023 12:44 pm
HFP AG problem
Hello everyone. I am studying the hfp ag project and saw this picture. The sine table has a size of 100 int16_t, hence 200 bytes. The mSBC codec requests 240 bytes from the user every 7.5 ms. Therefore, it requests about 133 packets in 1 second (1000/7.5=133). 200 bytes of the sine table is the full period. And in 240 bytes, for which mSBC is designed for approximately 1.2 periods. Therefore, the sine frequency = 133*1.2 =160 Hz. And on the analyzer I see only 80. Why am I seeing half of it and how can I fix it? Or it's not a mistake and I don't understand something.
-
- Posts: 2045
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: HFP AG problem
Don't know what signal you're 'analyzing', but could the reason for the unexpected frequency by lying in
?
Code: Select all
#define WBS_PCM_SAMPLING_RATE_KHZ (16)
#define PCM_SAMPLING_RATE_KHZ (8)
Who is online
Users browsing this forum: Corand and 111 guests