Canada
Asked — Edited

Mp3 Trigger - Set Volume

Hi DJ,

Hope your having fun at Maker Faire.

I finally got my MP3 Trigger in from Sparkfun.

It's up and running.

A question, maybe I'm missing it in ARC or it's not possible.

  1. Is there any command line to set volume for the MP3 Trigger? All I can find is the drop down on the MP3 Trigger control panel. I do not want to run external triggers to control volume.

Would it be possible to add a command line like this to EZ-Script?

MP3TriggerPlayTrack( d0, 38400, 6, 1 )

MP3TriggerPlayTrack( digitalPort, baud, volume, trackNumber ) Plays the specified MP3 track from the MP3 Trigger Shield, sets the volume for that individual track.

and/or

MP3TriggerVolume( d0, 38400, 6 )

MP3TriggerPlayVolume( digitalPort, baud, volume ) Sets MP3 Trigger volume. Range 0-6. 6= Loudest

I'm no programmer and have no idea if this is doable?

I'd like to be able to voice commands to set volume levels.

Eg: Robot Set Volume 4

And also specify volumes for specific tracks.

Let me know id this is doable or not. It would sure be nice to have.

I know your away, so maybe we can discuss when your back.

Cheers!

Kris


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

Canada
#9  

Damn you and your smiley!:D I tried using the SendSerial and documentation. I failed at it. lol

In your example you use SendI2C(Port, Data, ...)

I tried SendMP3Trigger but it doesn't work. Couldn't figure out what command to send.

Tried SendMP3Trigger(d7, 38400, 0x00) but it doesn't like it.

I'm no programmer. :(

Help me DJ #1 You're my only hope!