Asked
— Edited
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...
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?
Alan
Same subject but slightly off topic, one thing I didn't take in to account was controlling the music tracks that are playing. I was thinking along the lines of the soundboard writing my scripts and completely overlooked the fact that this is a whole different ball of wax. What I overlooked was the fact that, apart from playing music, I can't adjust the volume, pause a track, or stop it altogether. Does anyone know the pathways for the "Stop" button for windows media player, or indeed where to look for them in Windows 8?
Alan
It stayed in my mind that it was still the soundboard I was working on, which was what I originally was doing. It was a poor oversight on my part, but at least I can at tracks on command so not a total loss. I just need to keep thinking of a workaround (if possible) to get more control of the track scripts. I might have a look at Winamp to see if it's workable. Thanks for the advice.
And an alternative: http://www.etcwiki.org/wiki/Winamp_command_line
Alan
I found that Winamp changed ownership from AOL to Radionomy, but they haven't released their version yet. But I managed to find an older version of Winamp that works, and made it my default player. I also got hold of CLEveR for Winamp, and tried out the music controls from the command lines using CMD.exe. So from the Windows start menu, I hit"Run" and typed in "CMD" to pull up the CMD.exe window, typed in...
Code:
and all worked well, so I'm a few steps closer. The only problem I'm running in to now is how to use and execute the CLEveR.exe commands using a script. I tried the following...
Code:
but get the message "Error on line 1: The system cannot find the file specified". Any ideas how this script should be written?
Alan
I thought you might say that ;). I spotted it too (although that's how it shows in the command in the CMD window (pic below)), but didn't make any difference when I changed it.
Alan
Thanks.
Code:
still comes up with the same error message. And that was using the "\" or the ">" simbols.
Alan
Steve.
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.
Code:
You could use other commands to load mp3s, and should be able to use variables within the command.
Alan
Alan
It does work, I tried in before a while back albeit using the exec command in a slightly different way...
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.
Thanks for all of your help. Much appreciated.