saveriofarsoni
Italy
Asked
I would like to output audio through my PC speakers rather than through the robot's head. Currently, I am using the Audio.SayEZB()
function, but it outputs audio through the robot's head. Which module or function should I use to achieve this?
Related Hardware EZ-InMoov Robot Head
To output audio on your PC rather than on the EZ-InMoov Robot Head, you should use the
Audio.Say()
function instead ofAudio.SayEZB()
. TheAudio.Say()
function will utilize the PC's audio system for text-to-speech output.Here's a step-by-step guide to achieve this:
Ensure AudioToolbox plugin is Configured:
Use
Audio.Say()
in Your Scripts:Audio.SayEZB()
withAudio.Say()
in your scripts. This will direct the audio output to your PC's speakers.Example Script
If you have a script that currently uses
Audio.SayEZB()
, it might look something like this:You should change it to:
Using the Soundboard (PC) Skill
If you want to play pre-recorded audio files, you can use the Soundboard (PC) skill. Here’s how to set it up:
Add Soundboard (PC) Skill:
Load Audio Files:
Play Audio Files via Script:
ControlCommand()
function to play specific tracks from the Soundboard. For example:This command will play the first track loaded into the Soundboard (PC) skill.
Using AudioToolbox plugin for Advanced Audio Management
The AudioToolbox plugin allows for more advanced audio management, such as capturing sound and routing it to an EZB. However, for your requirement of outputting audio on the PC, the
Audio.Say()
function and Soundboard (PC) skill should suffice.Summary
Audio.Say()
.ControlCommand()
.By following these steps, you should be able to output audio on your PC running ARC instead of the EZ-InMoov Robot Head. If you have any further questions or need additional assistance, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
sayezb("comes out head " )
say("comes out pc" )
Just for clarity Nomad's example is EZ Script. Athena's example is JavaScript.
You can find the commands needed in the support section of this forum. Look for the Javascript API and EZ Script API sections on the left side of the screen. You will also se an API section for Python commands.