PHAL ALSA

Listens to

Message Type Message Data Description Emitted Response Type Handled by
mycroft.volume.get Requests the current volume level. mycroft.volume.get.response handle_volume_request
mycroft.volume.set 'percent': float
'play_sound': bool
Sets the volume level. mycroft.audio.play_sound
mycroft.volume.get.response
handle_volume_change
mycroft.volume.increase 'percent': float
'play_sound': bool
Increases the volume level. mycroft.audio.play_sound
mycroft.volume.get.response
handle_volume_increase
mycroft.volume.decrease 'percent': float
'play_sound': bool
Decreases the volume level. mycroft.audio.play_sound
mycroft.volume.get.response
handle_volume_decrease
mycroft.volume.mute Mutes the audio. mycroft.volume.get.response handle_mute_request
mycroft.volume.unmute Unmutes the audio. mycroft.volume.get.response handle_unmute_request
mycroft.volume.mute.toggle Toggles between mute and unmute. mycroft.volume.get.response handle_mute_toggle_request

Emits

Message Type Message Data Description Emitted by / In response to
mycroft.audio.play_sound 'uri': 'snd/blop-mark-diangelo.wav' Plays a sound indicating a volume change. set_volume
mycroft.volume.get.response 'percent': float
'muted': bool
Reports current volume mycroft.volume.get