Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

Help Whit Script

how can i play soundfile and motionfile at desame time in script.


User-inserted image


ARC Pro

Upgrade to ARC Pro

ARC Early Access will give you immediate updates and new features needed to unleash your robot's potential!

AI Support Bot
Related Content
Synthiam
#1  
Make two different scripts, one for each function and then call each from a third script using CC commands Is one very simple way.
PRO
Belgium
#2  
hi dave

thanks for your respond.make two scripts i understand but am not familiar whit CC
#3  
@Nomad Why don't you just add what you want to the same script? Just insert your code to play the sound file at the point in the script where you want the file to be played to happen.

Code:


# play sound file
# next line do movement
PRO
Belgium
#4  
rr

just like in the pic ubove line 6 and 8 i want them to act same time.
i just mounted the ping sensor on the roli on win8 thinking it work before.
it will work here to.but he doesn seems to detect anything.
#5  
@nomad, Maybe make the sleep on line 7 shorter - like Sleep(50)
#6  
@nomad, for future info, "CC" = ControlCommand.
PRO
Belgium
#8  
thank you robo-doc

Bhouston i try that.
PRO
Belgium
#10  
i try them all whithout any luck.maybe i chould tell you that ,
CC line 6 is a AutoPosition whit sound in.
i can play it separt,but not in the script.