Hi everyone,
My team and I are having problems with playing sound from our speaker. We are using robotc, and the code that we wrote up can be found below:
task usercontrol()
{
playSoundFile(“mario.wav”);
while(1)
{
wait1Msec(1000);
}
}
This piece of coding has worked for us before, but after updating to 4.26 it no longer does. Also, in the error box, this line is displayed:
Error:Illegal NXT / EV3 filename ‘mario.wav’
NXT and EV3 has something to do with the lego programming, correct? After the update, we did change our platform back to Vex Cortex, so not sure what’s going on there.
We also re-uploaded the sound file into our cortex’s storage after the update, so the file not being present shouldn’t be the problem. The file is also in the correct folder, and 8-bit format. Due to the error that is displayed, we have tried re-naming the file many different times (but perhaps we just haven’t followed the ‘correct’ naming procedure). Has anyone else had this problem, or any idea as to how to fix it? I feel as though I am missing something simple, but can’t figure it out.
Thanks in advance,
Team 4149G