Skip to content

MQTT Audio Player

3

The MQTT Audio Player node allows you to remotely control a network-connected audio player. It simplifies the complex MQTT commands usually required for media control into standard ERGS action pins.

When to use this node: * Atmospheric Soundscapes: Playing background music or ambient loops on a dedicated network audio player. * Sound Effects: Triggering a specific audioFile when a player solves a puzzle. * Synchronized Playback: Using the playerIndex to control multiple different speakers or audio zones from a single diagram.

Pro Tip: Connect the onFinish output to a set Game State node to automatically advance the game once a narrative voice-over has finished playing.

Connectors in

  • audioFile [type: variant]
  • playerIndex [type: integer]
  • loop [type: bool]
  • play [type: action]
  • stop [type: action]
  • pause [type: action]
  • resume [type: action]

Connectors out

  • onFinish [type: action]

Node properties

  • audioFile [type: string]
  • loop [type: bool]
  • mqtt path [type: string]
  • MQTT QoS [type: integer]
  • MQTT retain [type: bool]
  • name [type: string]
  • playerIndex [type: integer]