Project - Working Music module driver for 4.3

I just posted Working Music module driver for 4.3 on Codeshare. Feel free to discuss and make suggestions here.

5 Likes

Hello,

I am trying to compile your driver, but the type or namespace SpiFatory does not exist in the namespace Gadgeteer.Socketnterfaces. Is there something else I need to reference?

Need more details. Hw? Board?

Hello,

I am using the FEZ Raptor board.

Adding the reference to Gadgeteer.SPI did the trick, thank you andre.m!

Also, in order to be able to play the file more than once, I found it necessary to close the FileStream after the playback had finished. So I had a class level variable to hold the reference to the Filestream, then close it in the MusicFinished event.

Thank you very much for the help!
Danny

Great Danny, never got to testing with same file twice. Let’s collaborate on new version. Do you have time to modify the driver with these simple mods based on your experience?

Yes, I can do that I think. I will let you know when I have it working.

Is this the same code you shared with me a couple months ago? I haven’t played with the 4.3 version but I haven’t had any problems with the 4.2 release.

@ JustMike - no, and there is a bugfix coming soon.