Access to internal speaker?

Is there a command that allows you to make the motherboard speaker turn on/off? I’d like to use it to play a series of tones at specific times. I have been playing wav files until now, but there seems to be some hardware delays around the onset of the sound files - I think using the motherboard speaker will remove this delay.

Thanks in advance,
Bobby.

There’s no access to this in lime or openfl that I know of,
you could make a native extension for this.

While it may help with the delay it’s probably muted in a lot of cases, you can’t have volume selection or headphones support and is extremely limited.
Might be better to try and resolve your delay issue.

Is it a delay to load the sound, or play it when loaded?