I'm trying to use custom soundfiles from within RobotC. I converted a WAV-file with WAV2RSO and renamed the file-extention to RSF (I found this trick somewhere on Internet). This works fine from within EV3-software and I can play this custom soundfile directly from the EV3-brick. So the soundfile seems to be OK.
But when using this soundfile in RobotC I hear no sound and I wonder what I'm doing wrong. Here's what I've done: in the end I stored the custom soundfile in the same directory as all the original EV3 soundfiles in de RobotC environment (directory Soundfiles in EV3 System Files). Furthermore I manually uploaded the soundfile to the EV3-brick, just to be sure it's on the brick. I wrote the following testprogram:
Result when running this program:
- Soundfile One.rsf is played successfully.
- Custom soundfile is not. At the first call the soundfile is not found (bExists = false), at the second call the custom soundfile is found on the EV3-brick (bExists = true), but still there's no sound.
Anyone can help me?