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.
I will look into this today and figure out what is happening. I know my team has been using the speaker but that are also still using V3.65 (ie. not V4.XX)
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.
I’m using audacity to convert our sound clip. It just gives me the NXT error and doesn’t play at all. I have it set to play when we press the lower left trigger on our joystick. How do I solve it?
So doing something practical and cool ( like from the link tabor shared ) or having something ‘in good taste’ like cool music when you win or something should be fine :).
I’m trying to figure out how to get it to play! The sound clip is for during autonomous or at the end of driver control. Can someone tell me what the NXT/EV3 error means and how to fix it?
My team has a similar issue. I tried formatting our file twice, and I tried formatting the test file, but it didn’t work. I did the 8 bit mono, microsoft wav, etc…
The James Pearman revolution at RobotC has begun! Thanks for taking care of that…could never quite understand why we were getting a Lego (I believe) error code.
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.