I have this project, its more complicated, but I reduced it to narrow the problem down, I need to stack this sound up to 10 times, but it just won’t.
The Player component has a When Player Ended (?) event block that can fire when the Player finishes a sound file.
If you combine that with a global list of pending sound files to be played in a row, you will have your very own player piano.
Deplete the list by 1 item when that item is complete.
Test if the Player is running before deciding to start it.
Post a sample aia with the sound file, so we can code a sample for you.
P.S. You could alternatively use a Clock Timer and a global counter variable.
This is weird, I just tested it on my old Android and it worked flawlessly, its only waiting for the sound to finish on my iPhone.
Post the aia (or a simple test aia),
Main.aia (447.7 KB)
Main_2.aia (448.3 KB)
![]()
Yes
A nice example of how NOT to do it
Follow rhe DRY principle - don't repeat yourself... there is really no need for n Players... generally just one would do it
Taifun
Problem is, there’s only 1 instance of the sound, if you type rapidly, it doesn’t stack/overlap, it just stops and starts over.
Maybe my old Android is so old, its bugged in my favor?
But thanks, I’m really thankful for the support.
Try this ...
Main_3 (1).aia (448.9 KB)
It should be platform independent.
I tested in the web browser (startling my wife.)
Hmm, and how long should it overlap?
Hey y’all I’m so sorry for the hastle, I don’t know what’s up, but I tested the original with my parents’ phone and it worked! I don’t even know anymore, the iPhone should work, but it [mod edit] doesn’t. Anyways, if you have the same problem, just try with another phone m8. ![]()
![]()
![]()
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.





