Can anyone point me to an example of playing a sound from a file in ctrulib? The only example I can find reads the audio data from the mic and then plays it back, whereas I need to load the sound data from a file on the SD card. Thanks in advance
Perfect - thanks buddy. Just need to work out how to convert to the bin file on the fly now so the user can just drop sound files in.
Do you know of an example of this? I know nothing about the WAV file format...Adding support for reading a wav file is not too hard
Oh I didn't see that branch. Should I switch to that branch for building everything from now on? Or should I stick with the current master branch until the great-refactor is merged into master?Mashers, check ctrulib's great-refactor branch since cnsd will be deprecated shortly in ctrulib.
Oh I didn't see that branch. Should I switch to that branch for building everything from now on? Or should I stick with the current master branch until the great-refactor is merged into master?
Ok, thanks. I can't actually see any difference in the audio example in the great-refactor branch. It still seems to be using csnd.It's up to you, but if you like to keep up with the latest and 'greatest' (opinion-based, of course), you might want to make a separate branch of your code that's beginning to get ready for it. Some functions have different names and take different amounts of arguments with that branch.
Is there an example of the dsp sound? I can only find the ctrulib example.I'm not aware of how stable that branch is, dsp sound has been there for like two weeks, but I haven't messed around with it.
I'll ask in the irc channel how stable that is, but I don't think it is if it hasn't been merged yet, or maybe they are just waiting until ctrulib is more complete.
planning to put the homebrew theme in gridlauncher?Ok, thanks. I can't actually see any difference in the audio example in the great-refactor branch. It still seems to be using csnd.
Just looking into adding UI sound effects and background musicplanning to put the homebrew theme in gridlauncher?
noice.Just looking into adding UI sound effects and background music
Do you know of an example of this? I know nothing about the WAV file format...