I have just started using the Music Module and have realised that the Play() method wants a byte array but I would like to play a file larger than the 4.5mb flash memory on the Spider. When I try and play my file I get a System.OutOfMemoryException (I can’t remember the exact exception name but it’s to that effect).
I am playing the sound files from an SD Card using the SD module which can return a System.IO.FileStream object to the file, but the music module doesn’t seem to be able to take a FileStream object as input.
Is there any way around this? Or any plans for writing a way to play a FileStream rather than a byte dump? Or will I just have to work with smaller sound files?
On a seperate note, I was just looking at the RecordOggVorbis() function for audio in and was wondering how we use this function? I don’t really understand what the parameters are asking for.
Thanks for your time,