Integrating Music with Movement

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
4 postsPage 1 of 1
4 postsPage 1 of 1

Integrating Music with Movement

Post by TechnoBuff » Wed Jul 01, 2009 4:48 pm

Post by TechnoBuff
Wed Jul 01, 2009 4:48 pm

In his recent response to Chanverlain's query about Robonova falling down, i-bot wrote "Ahh! Music = BAD! It stops the servo updates."

I need my Robonova to "conduct" 16 bars of Carmen repeated three times with increasing tempo and more agitated body movement each time through.

I have written the music (with some inexplicable off-notes) and am embarking on the movements. I expected to have to coordinate movements about every eighth note to keep things together.

Does "Music = BAD!" mean that my goal is impossible?

If not impossible, any suggestions on preventing fall down and on the squence of program code would be welcome.

Thanks - TechnoBuff
In his recent response to Chanverlain's query about Robonova falling down, i-bot wrote "Ahh! Music = BAD! It stops the servo updates."

I need my Robonova to "conduct" 16 bars of Carmen repeated three times with increasing tempo and more agitated body movement each time through.

I have written the music (with some inexplicable off-notes) and am embarking on the movements. I expected to have to coordinate movements about every eighth note to keep things together.

Does "Music = BAD!" mean that my goal is impossible?

If not impossible, any suggestions on preventing fall down and on the squence of program code would be welcome.

Thanks - TechnoBuff
TechnoBuff offline
Robot Builder
Robot Builder
Posts: 16
Joined: Mon Jun 08, 2009 4:51 am

Post by i-Bot » Wed Jul 01, 2009 10:59 pm

Post by i-Bot
Wed Jul 01, 2009 10:59 pm

I have not spent to much time analysing the music code of the RoboNova. It has major impact on the servo operation, so I just avoided it.

I guess that it is possible to moderate the demand of the music on the processor, but this may take some art and experiment.

You may find it easier to use an external music player synced to the controller. If not we can look at the music code to try to find compromise where the servos get updated regularily.

The servos are updated every 12 ms and the update process needs over 50% of the CPU power. Music seems to damage the update process, but it is not the only thing. IR control and reading servo position also have a big impact. Fixing the servo update may damage the music !

Let me know if you think I can help
I have not spent to much time analysing the music code of the RoboNova. It has major impact on the servo operation, so I just avoided it.

I guess that it is possible to moderate the demand of the music on the processor, but this may take some art and experiment.

You may find it easier to use an external music player synced to the controller. If not we can look at the music code to try to find compromise where the servos get updated regularily.

The servos are updated every 12 ms and the update process needs over 50% of the CPU power. Music seems to damage the update process, but it is not the only thing. IR control and reading servo position also have a big impact. Fixing the servo update may damage the music !

Let me know if you think I can help
i-Bot offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Integrating Music with Movement

Post by TechnoBuff » Fri Jul 03, 2009 6:18 pm

Post by TechnoBuff
Fri Jul 03, 2009 6:18 pm

Thanks, i-Bot.

I will try cobbling together a small audio amp chip, sound recorder chip, and speaker to be triggered by an AD port on the controller.

Too bad about servo rotation. I will alter the routine as dismounting a shoulder and resettting it is too much work.

You saved me much wasted time by your answers. You asked if I thought you could help. How many nights per week can you come to Bowie, Maryland,USA?

TechnoBuff
Thanks, i-Bot.

I will try cobbling together a small audio amp chip, sound recorder chip, and speaker to be triggered by an AD port on the controller.

Too bad about servo rotation. I will alter the routine as dismounting a shoulder and resettting it is too much work.

You saved me much wasted time by your answers. You asked if I thought you could help. How many nights per week can you come to Bowie, Maryland,USA?

TechnoBuff
TechnoBuff offline
Robot Builder
Robot Builder
Posts: 16
Joined: Mon Jun 08, 2009 4:51 am

Post by dneo » Mon Nov 16, 2009 8:29 am

Post by dneo
Mon Nov 16, 2009 8:29 am

hi, i do not want to intergrate music in my robonova-I.
however, i just want it to detect sound like a clap and then react to my clapping and do some actions like clapping its own grippers too.
May i know how to go about it with my sound sensor codes?
hi, i do not want to intergrate music in my robonova-I.
however, i just want it to detect sound like a clap and then react to my clapping and do some actions like clapping its own grippers too.
May i know how to go about it with my sound sensor codes?
dneo offline
Robot Builder
Robot Builder
Posts: 7
Joined: Tue Nov 10, 2009 3:29 am


4 postsPage 1 of 1
4 postsPage 1 of 1