Search found 4 matches

Go to advanced search

by InnoBoy
Tue Dec 08, 2020 11:36 pm
Forum: How to... ?
Topic: play music fluently
Replies: 6
Views: 12890

Re: play music fluently

Thank you for the replies, I'll try it.
by InnoBoy
Tue Dec 08, 2020 5:52 pm
Forum: How to... ?
Topic: play music fluently
Replies: 6
Views: 12890

Re: play music fluently

When a bot touches an obstacle, it emits a small sound according to the sensor in contact with the obstacle. I use for the moment a system command "play music.mp3". lua code function step() sensingLeft = robot.proximity[3].value + robot.proximity[4].value + robot.proximity[5].value + robot...
by InnoBoy
Tue Dec 08, 2020 11:54 am
Forum: How to... ?
Topic: play music fluently
Replies: 6
Views: 12890

Re: play music fluently

hello,
The aim is to play music when a bot hits an obstacle.
what does real-time mode mean? and what is the difference between this type of execution and normal execution?
thanks
by InnoBoy
Mon Dec 07, 2020 11:08 pm
Forum: How to... ?
Topic: play music fluently
Replies: 6
Views: 12890

play music fluently

Hello,
I am making a simulation to play music with Lua.
However, when a bot plays music, the simulation stops for as long as the music ends.
Is there a way to run two bots' algorithms in parallel?
For example that bots can play music simultaneously without disturbing the simulation.

Thanks

Go to advanced search