Sound different when entering Android specific values

Asked 2 years ago, Updated 2 years ago, 29 views

Here's the short story.

Simply set the activity and set the sound to be generated when you enter a specific value What should I do to make it sound like Dew Drops when I type 10 in another activity?

android

2022-09-22 20:43

1 Answers

Did you just explain the name of Dew Drops as an example? I remember that there were two main types of audio-reproducing api.

There are two ways to play the sound pool and the midi format It's used to play a relatively short sound, and the midi is used to play a long sound.

I think you can find an example if you google it.

Just to give you a quick idea, you put the music file that you want to play in the resource I put EditText in the blank screen and used an if or case statement to input it If it's 10, I think you can put the condition that Dew Drops 15 plays Ticktock.


2022-09-22 20:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.