Audio player's ".completed" block wont work

Heya, using the audio player as a "forever" command along with being a "delay" command, since neither of those exist. When each "loop" completes (aka the audio file finishing), it wont execute the command, and the variable stays the same. Anybody know how to fix this?


w/ loop

also tried it with a manual loop

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like

Right, sorry! I updated it to include a screenshot

Try this one:
audioLooping.aia (140.4 KB)

grafik

Note:
There is no way to get rid of the gap as long as you try to do so via the Player.Completed event (regardless of the audio format, mp3, wav, ogg etc.). You must use the TaifunPlayer extension to get gapless looping. This has been mentioned many times on the forum. Search the forum.

Or if you mean something like this (a delay between music tracks):
audioLooping2.aia (140.6 KB)

grafik

Post the aia.

If only using the player completed as a "delay" use the clock timer instead.

Yes, but I think you would need a second Clock component for that.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.