On Android
There are applications that play music such as melons and basic music apps.
Can I know when the music ends and starts again while playing music on the music app?
I want to print out any sound or frequency before the music starts again after the music is over
I don't know if it's possible.
Thank you Have a good day, everyone~
android
Number 1 broadcasts the playback status and meta-information of the sound source when the sound source is played in a music app, so you can find it out using a broadcast receiver in another app. Please refer to the answers in the article below for information on broadcast receivers.
I think it would be better to make a code that plays the sound source for number 2 and 3 and test it yourself.
© 2024 OneMinuteCode. All rights reserved.