ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

PRO
Canada
#1  

To output audio on your PC rather than on the EZ-InMoov Robot Head, you should use the Audio.Say() function instead of Audio.SayEZB(). The Audio.Say() function will utilize the PC's audio system for text-to-speech output.

Here's a step-by-step guide to achieve this:

  1. Ensure AudioToolbox plugin is Configured:

    • Make sure the AudioToolbox plugin is properly configured to use the desired audio output device on your PC. You can set the default audio device using the plugin's interface.
  2. Use Audio.Say() in Your Scripts:

    • Replace any instances of Audio.SayEZB() with Audio.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:

Audio.SayEZB("Hello, I am your robot.");

You should change it to:

Audio.Say("Hello, I am your robot.");

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:

  1. Add Soundboard (PC) Skill:

    • In ARC, go to the Project tab, click on "Add Control," and then select the Soundboard (PC) skill from the Audio category.
  2. Load Audio Files:

    • Load your audio files into the Soundboard (PC) skill by clicking on the tracklist area and selecting the files you want to use.
  3. Play Audio Files via Script:

    • Use the ControlCommand() function to play specific tracks from the Soundboard. For example:
ControlCommand("Soundboard", "Track_0");

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

  • Text-to-Speech on PC: Use Audio.Say().
  • Pre-recorded Audio on PC: Use the Soundboard (PC) skill and 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.
PRO
Belgium
#2  

sayezb("comes out head " )

say("comes out pc" )

#3  

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.