PDA

View Full Version : Audio Objects in Teensy Audio Library



Hutchcmu
01-20-2016, 11:17 PM
After watching the Teensy Audio Library tutorial I was under the impression there was flash storage on the board pre-loaded with some audio objects to play quick sounds. Snare, kick bass, tom tom, etc... After some research, I can't find anything to support this. And now, I'm wondering if the audio board has memory at all or if those audio objects in the tutorial were played from the Teensy storage and need to be loaded by the user. Can anyone provide a little insight on this topic?

Thanks!

PaulStoffregen
01-20-2016, 11:22 PM
In Arduino, click File > Examples > Audio > Tutorial > Part_2_03_Samples.

Then in the window with the code, notice the other tabs. Those are the sample data. They get compiled into your program and uploaded to the internal flash memory, together with your code.

PaulStoffregen
01-20-2016, 11:36 PM
Also, in the video, start watching at 13:34. The sample data is shown and briefly explained.

https://youtu.be/wqt55OAabVs?t=13m28s

Hutchcmu
01-20-2016, 11:42 PM
That makes sense. Thanks for your help, and quickly!