Audio Internal Spaking (Earpiece)

Is it possible to create a button that when pressed starts an audio in the internal speaker of the smartphone?

Hi @wox76 and welcome,

It’s easy enough to play a sound, check the following audio examples:

The sound will automatically play on the default audio output device selected. There isn’t an API though to change the selected audio output device to a different one in PlayCanvas.