SoundEmitterDevice.StopSound
Skip to content
mnscript
SoundEmitterDevice.StopSound() 

Description ​

Stops the sound emitter

Example ​

msc
using Device;
using System;

SoundEmitterDevice emitter = Device.FindSoundEmitter("My Sound Emitter");

// Plays the sound then stops it after one second
emitter.PlaySound();
System.Sleep(1);
emitter.StopSound();