XV11 LIDAR icon XV11 LIDAR — Real-time 2D mapping from Neato XV-11 360° LIDAR via GetSurreal controller; exports $LIDARDistance/$LIDARIntensity, configurable angles, color, zoom. Try it →
Australia
Asked — Edited
1 Participant

How Can You Stop A Track Using Voice Command ?

I'm really enjoying the EZ-b voice recognition but can't seem to find an example of how to stop a music track once it starts playing. Can anyone help please ?

For example I say "Bob play The Eagles" and the track assigned plays which is really cool but I want to be able to stop it if I can to go onto a different command.

Any assistance much appreciated.


ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

With the latest ARC, it can be done by using this syntax:


ControlCommand("Sound Board", Stop)
Author Avatar
Australia
#2  

Thanks DJ :)

Author Avatar
Australia
#3  

I gave that a try and it worked but only for a second, then the track would keep playing so I got the idea - why not use the command to send it to a track sound effect and that worked perfectly.:D

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#4  

The stop command will stop any currently playing track. If it continues to play, your script is telling it to start again.