Android Question JUCE Framework Android Audio Application doesn't work properly with bluetooth headphone

yetkin95

New Member
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.
 

Shelby

Well-Known Member
Licensed User
Longtime User
You may not get much response here since you don't specify what code language you have started with on you project. You should consider posting some or all of your code here remembering to surround your code with one of the options at the top of the window where you will post that code.
 
Upvote 0
Top