I have created a simple audio player application for Android that plays MP3 files stored on the phone. It calculates the BPM of the currently playing song and applies basic effects like reverb and EQ. However, I am experiencing an interesting issue. The BPM calculation works fine when playing audio through the phone’s speaker or wired headphones, but when I choose to play the sound through Bluetooth (such as Bluetooth headphones or speakers), the BPM calculation doesn’t work and shows a tempo of 0.
I’m wondering if the Bluetooth connection is changing the sampling rate or block size, or if this strange error is caused by something else. Do you have any ideas?
What could the Bluetooth connection have to do with the BPM calculation? This function doesn’t seem to work when audio is streaming through Bluetooth.
I’m wondering if the Bluetooth connection is changing the sampling rate or block size, or if this strange error is caused by something else. Do you have any ideas?
What could the Bluetooth connection have to do with the BPM calculation? This function doesn’t seem to work when audio is streaming through Bluetooth.