How often does the music play?

The Sound component can only play sounds for about 6 sec.

I think this doesn't make really sense for nature sounds. So you should use the Player component or the TaifunPlayer extension if you want to loop sounds gaplessly.

1 Like

If it is a quiz based on short sounds it makes perfect sense - there is a round in a UK TV Nature Quiz that does exactly that :koala:

1 Like

Sharpei

:sheep:TV SharPei Barking

1 Like

A

The above program refers to:
First, play the sound file: wolf.wav.
After 0.5 seconds, the sound file: Birds.wav is played again.

After the program is installed on the phone, execute it.
No sound is heard: wolf.wav.
Only the sound is heard: Birds.wav.

What is the reason?

1 Like

blocks do not wait, see also
The model of event processing in App Inventor by @Franklyn_A_Turbak
let me suggest you to use the Player component, which offers a Completed event and start the second sound in that event

Taifun


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

This is now the third thread from you on the same topic.

A

An error occurred during program debugging?

error 703 means some firewall or anti virus is blocking it
vbh

1 Like

follow the suggestions which already have been provided earlier twice, I will not repeat them a third time...
Taifun

2 Likes

The computer operating system ubuntu is installed on the U disk.
The ubuntu firewall is:
sudo ufw default deny

The apk program is installed on the phone. It also has problems.

M.aia (52.0 KB)

Try this: M2.aia (53.4 KB)

1 Like

Three, or more than three sound files.
How to write a program?
Give an example.

B

There are 10 sound files.

Pictured above.
It means to execute the following program statement after all ten sound files are played.
Or, it means to execute the following program statement after a sound file is played.

How about saying thank you first instead of coming up with further questions that should have been asked right at the beginning. :frowning_face:

Thank you !

:japanese_ogre:

B

There are 10 sound files.

Pictured above.
It means to execute the following program statement after all ten sound files are played.
Or, it means to execute the following program statement after a sound file is played.

That will be each time a sound file finishes.

How about if you try something yourself? I've already given you a blueprint.

A

The above components.

Play three or more sound files.
How to write a program?

Give an example.