TinyCircuits Forum

TinyCircuits Products => Tiny Arcade & Pocket Arcade => Topic started by: EJoftheVern on July 17, 2017, 12:57:25 PM

Title: Playing Audio from SD
Post by: EJoftheVern on July 17, 2017, 12:57:25 PM
Im in the process of making a game and it just feels empty without any background music. By copying the source code from the SuperOteme game and writing a small script in visual basic converting .wav files to comma separated denary values I have managed to include snippets of audio however as expected it takes up pretty much all the space available for a game and can only have ~ 20 seconds of audio. I noticed that the tiny audio board can run .wav files from an sd card not being familiar with your eco-system I dont know if guides for the tiny audio board would be compatible with the tiny arcade regardless my attempt to follow that tutorial came up with an error in the WaveHC library that had to be downloaded. Has anyone had experience with running large audio files off of an sd with the tiny arcade if so some source code would be appreciated
Title: Re: Playing Audio from SD
Post by: Ben Rose on July 25, 2017, 04:12:48 PM
Hi- The TinyTris source code is a good place to start( https://github.com/francescom/Tinytris-For-TinyArcade ). We should add this to our basic game tutorial, I'll see if that's possible- we're currently updating documentation etc for a new revision(mainly changes to improve assembly).