This type represents a speaker peripheral. See the CC:T docs for more information on the methods.
peripheral_speaker: Implements for networked speakers.
playNote(instrument: string[, volume: number[, pitch: number]]): boolean: Plays a note block note on the speaker.
playSound(name: string[, volume: number[, speed: number]]): boolean: Plays a sound event on the speaker.
playAudio(audio: [number][, volume: number]): boolean: Plays PCM audio on the speaker.
stop(): Stop any sounds playing on the speaker.
speaker_audio_empty: Sent when the
playAudiobuffer is emptied.
device: string: The path of the speaker that sent the event