United Kingdom
Asked — Edited

Sound Board (Pc) Question

Just a quick question.

How many songs (CD quality, MP3 format) can a PC sound board, or in fact an ARC project hold? So far I have added 9, but if I add any more and save the project I get the following message...

User-inserted image

I wanted to add a load of songs (far far more than 9) to use with voice recognition and the stop, pause and random Cheat Sheet commands. Any ideas?


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

United Kingdom
#25  

Okay Alan, not a problem. I'm grateful to you for looking in to this for me. In the mean time I'll keep playing with it to see if I come up with anything.:)

Steve.

#26  

Your issue was a syntax error in the exec script command.

The synatax is:

exec("path and name of your program","any parameters for the program")

So, a simple example, I already loaded and paused a song in Winamp, and my clever.exe is in c:\clever\

The following script plays the loaded song for 5 seconds than pauses it again.


exec("c:\clever\clever.exe","play")
sleep(5000)
exec("c:\clever\clever.exe","pause")

You could use other commands to load mp3s, and should be able to use variables within the command.

Alan

United Kingdom
#27  

Well I tried a few other variations of script to control Winamp via CMD paths, but none of which worked, so I'm officially out of ideas. confused

#28  

I think we were posting at the same time. Look at the example I posted just above your reply.

Alan

#29  

Ha, ha... I bit my lip on this because I knew Alan you would eventually catch the syntax error....

It does work, I tried in before a while back albeit using the exec command in a slightly different way...

#30  

One note: Clever requires winamp to already be running before you can use any of the load commands, so your first script command (or in your initialization script) you will need an exec command to start Winamp.

Alan

United Kingdom
#31  

@Alan.

Indeed we were posting at the same time, lol. I had a look at what you posted and see I missed the "quote marks" around the play, stop commands and breaking the code up with a "," . I was already aware that Winamp had to already be running so that's cool, just havn't got around to setting up an INIT script to launch it yet (busy weekend). I'll give it a try tomorrow.

Thanks Alan.:)

United Kingdom
#32  

Just to confirm Alan, I tried your script example you posted... It worked beautifully. I see the error of my ways now in how I was writing the execute script, so it was also a good learning curve.

Thanks for all of your help. Much appreciated.:)