unmuteAllSounds
unmuteAllSounds(): void;
Unmute all sounds that were previously muted via muteAllSounds. Each sound returns to its original volume level before muting.
Example
await soundManager.loadSounds([
{ id: 'tokyo-train', url: 'tokyo-train-melody.mp3' },
{ id: 'bells-melody', url: 'bells-melody.mp3' },
{ id: 'techno-tune', url: 'techno-tune.mp3' }
]);
soundManager.play('tokyo-train', { loop: true });
soundManager.play('bells-melody', { loop: true });
soundManager.play('techno-tune', { loop: true });
// Mute everything, then restore
soundManager.muteAllSounds();
soundManager.unmuteAllSounds();
🔇 Press "Play All" to start
Try it: Play three sounds together, then use Mute All / Unmute All to toggle all sounds at once.
toggleGlobalMute switches between muted and unmuted — useful for a single master mute button.