-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Wavelet (Android Headphone DSP app) #1221
Comments
Hey @inodentry , good news! I tested Wavelet with Spotube configured with the AudioTrack audio output (see issue #571 ) and it works in Legacy mode. If you're able to compile from source, you're good to go. |
When I use Jiosaavn audio source, Wavelet works, otherwise it doesn't work with Youtube or Piped audio source. |
Legacy mode does not seem to be compatible with my phone (Fairphone 5). I used it on my old phone (Samsung Galaxy S10 5G), it worked fine there, but I can't use it on this phone. When I tried to do some research about it, the only info I found was related to the "Disable Hardware Bluetooth A2DP Handling" setting in Developer Settings. I tried messing with that option, but changing it completely broke my audio. Either Wavelet has no effect, or I have no audio at all whatsoever. This is why I'd like all the apps I use to work in the normal (not Legacy) mode in Wavelet. Spotube is the only one that doesn't. So I filed this issue, so we can investigate why that might be. I would try your commit you linked, but I don't know how to compile/build Android apps. I've never really developed for Android before. I see the commit is already in the repo / merged. Is there going to be a new release soon? Looking at the commit and the issue, it does seem like it could fix it. |
Do you know of any open source android player that work in the normal (not Legacy) mode in Wavelet?
Unlikely, I only committed in a fork I own and haven't submitted a pull request. I found something that fixes the issue by luck and have absolutely no idea what that change will do on other android devices. |
Oh okay i didnt realize the link was to a fork. Sorry. Okay. I will try to learn how to build the Spotube Android app from source so that I can try it out. I can try some open-source media players to see how they behave. I'll report findings later. :) |
For reference, here's a high level overview of how equalizer apps, like Wavelet, attach to other players on android. Also, 2 implementations of a how to broadcast the audio session id to other apps: moneytoo/Player and NewPipe |
@inodentry it works! 🎉 Wavelet-small.mp4 |
…o other apps. Fixes KRTirtho#1221
…ion id (#1221 & #1247) * this change fixes the garbled audio on my Pixel 6a while the screen is off. Not familiar with libmpv, but seems to favor audiotrack audio output over opensles. #571 * get audio session id, send it to AudioTrack in libmpv, broadcast it to other apps. Fixes #1221 --------- Co-authored-by: Kingkor Roy Tirtho <[email protected]>
@inodentry, can you test the nightly and report back if it works as expected? |
Yes! Just tried it, and it is detected! That's awesome. Should I close the issue or leave it open until there is an actual release with the fix? |
I think issue will be closed automatically once it's merge in master |
…ion id (#1221 & #1247) * this change fixes the garbled audio on my Pixel 6a while the screen is off. Not familiar with libmpv, but seems to favor audiotrack audio output over opensles. KRTirtho/spotube#571 * get audio session id, send it to AudioTrack in libmpv, broadcast it to other apps. Fixes KRTirtho/spotube#1221 --------- Co-authored-by: Kingkor Roy Tirtho <[email protected]>
Is there an existing issue for this?
Current Behavior
I'd like to use Wavelet for Headphone DSP/EQ while listening to music. When I start playing music in other apps, Wavelet detects that there is an "audio session" and enables the settings. Spotube is not detected and does not work.
Expected Behavior
When playing music in Spotube, Wavelet detects it and is able to apply EQ and other effects to the audio.
Steps to reproduce
Operating System
Android
Spotube version
No response
Installation source
Play Store (Android)
Additional information
Their website has some instructions for other music players that might not work out of the box: https://pittvandewitt.github.io/Wavelet/Configuration/ . My interpretation of what I am reading there seems to suggest that if a music player is not compatible out of the box, it might be because of the APIs it uses to play audio, and in most such players, enabling any setting for in-app audio processing (such as in-app EQ or something, whatever the player offers) forces it to use some sort of different API or mode for audio playback, which can be detected by Wavelet. Spotube does not seem to have any settings that could affect how it plays audio via the Android OS.
I am reporting this issue with Spotube rather than Wavelet, because of this. It seems to me like the problem is with how Spotube plays audio in Android, and not what Wavelet does.
Self grab
The text was updated successfully, but these errors were encountered: