We are trying to program our vex speaker to play part of the mortal kombat theme. But we keep on getting this one error that says** illegal NXT/EV3 file name **or something like that. I’ve checked online but the wiki doesn’t seem to offer any help.
Try uploading the file that you have used here so we can give it a try. I personally have not had issues using the play file function. Most people just mess up the format or mess up using the file utility.
The error is generated by the compiler incorrectly (in V4.XX) , it is trying to validate the filename for some non-VEX platforms. If the file is a valid sound file in the correct format (8 bit, mono wav, less than 64k (I think) ) then it will download and play correctly. I will and try and get a fix in the next release.
I always create my sound files using a program called Audacity. Export the audio and select “other compressed files” as the format. Click the options button and then select “WAV (Microsoft)” and “Unsigned 8-bit PCM” as the encoding. I usually set the sample rate down at 8KHz, other sample rates will work but not all.
I have heard about some people not being able to pass inspections because they had music on their speakers, I don’t know but I think you will be ok if you get it to work. If all else fails just take it off. It really isn’t that big of part of your robot to be worth wasting time or getting delayed in inspection with.
We were having trouble with it yesteday, the problem was that the RobotC wiki guide doesn’t tell you to make sure it’s mono. In Audacity, click on the dropdown of the track, then ‘split stereo to mono’. Delete one of the two tracks before you export.