Documentation here specifies that music.ringTone() will continue to make a sound until music.stopAllSounds() is called. However, this pauses the tone but does not permanently stop it. The only way to make the tone stop is within the forever() {} loop to continuously call music.stopAllSounds() on every frame.
Documentation here specifies that music.ringTone() will continue to make a sound until music.stopAllSounds() is called. However, this pauses the tone but does not permanently stop it. The only way to make the tone stop is within the forever() {} loop to continuously call music.stopAllSounds() on every frame.