Main Site Documentation

Project - Working Music module driver for 4.3


#1

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


#2

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?


#3

Need more details. Hw? Board?


#4

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


#5

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?


#6

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


#7

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.


#8

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