Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Audio Objects in Teensy Audio Library

  1. #1
    Junior Member
    Join Date
    Jan 2016
    Posts
    15

    Audio Objects in Teensy Audio Library

    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!

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,957
    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.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,957
    Also, in the video, start watching at 13:34. The sample data is shown and briefly explained.

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

  4. #4
    Junior Member
    Join Date
    Jan 2016
    Posts
    15
    That makes sense. Thanks for your help, and quickly!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •