Search results

  1. 1

    SD Card WAV Files Analyze

    I don't know anything about FFT, but there is a "listfile" example provided with the SD library which does the equivalent of a unix "find" command on the SD card. That should show you how to list directories and files in a directory.
  2. 1

    audio file continuous loop

    Look at the Audio -> Tutorial -> Part_1_03_Playing_Music example for how to loop a sample. If you want to trigger it to start by a button one way would be to add a flag variable and have the button press set the flag, and only play if it's not currently playing and the flag is set.
  3. 1

    Teensy 3.6 died mysteriously x 2

    Thanks @bmillier! I work on this project off and on and it has been off lately, so i wasn't thinking about the difference between LINE OUT and headphone out when i read the above and got scared. :) Coarse volume output is perfectly fine. This plays audio files from an SD card through an old...
  4. 1

    Teensy 3.6 died mysteriously x 2

    I want to interface a teensy audio adapter to this SLIC http://www.silvertel.com/images/datasheets/Ag1171-datasheet-Low-cost-ringing-SLIC-with-single-supply.pdf The Audio In to the SLIC is ground-referenced, but Teensy says not to short GND and VGND (as you have noted above). Is there a any...
  5. 1

    Using Audio objects within class

    I don't think Audio objects can be instantiated at run time. You need to design your audio "pipeline" (objects and connections) and declare all the objects/connections when you initialize. If you declare more later, they have no connection to the output. However, you can have wrapper classes...
  6. 1

    tonesweep weirdness

    Did you use Pete's example program as-is on your hardware and it didn't work? Or you had some modifications to it? If the latter, can you post your failing code or at least what was changed? The control object doesn't usually get used (from code perspective) after the setup, so the difference...
  7. 1

    Teensyduino 1.30 Beta #4 Available

    In the GUI tool documentation sidebar for AudioSynthToneSweep->play function, it states that time parameter is in milliseconds, but it is really (float) seconds. Makes for some funny moaning noises when you put in 100. :)
  8. 1

    tonesweep weirdness

    Thanks Pete! Those changes help mine too!
  9. 1

    tonesweep weirdness

    Thanks, Pete! If it helps, on my original program a few iterations after things started going weird, the AudioMemoryUsage and Max functions started returning 255. And it wasn't always the tone sweep that stopped working. On one combination everything except the tonesweep stopped. I'm kind of...
  10. 1

    tonesweep weirdness

    I am making a rudimentary sort of beat generator, and have noticed oddities whenever I include a tonesweep. The exact details vary based on the exact effects and timing i am using, but it always involves the audio dropping on one or more of the effects after a few iterations. Here is a simple...
  11. 1

    Teensyduino 1.30 Beta #2 Available

    Audio.h still needs #include "synth_simple_drum.h" to make AudioSynthSimpleDrum work, and keywords.txt needs AudioSynthSimpleDrum KEYWORD2 (plus maybe some methods of AudioSynthSimpleDrum)
  12. 1

    Teensyduino 1.29 Beta #3 Available

    AudioSynthSimpleDrum needs to be added to Audio library's keywords.txt I am a n00b and not sure if that affects more than syntax highlighting in the Arduino IDE. But I'm also getting "error: 'AudioSynthSimpleDrum' does not name a type" when trying to compile a sketch that includes a drum...
  13. 1

    Versioning for Audio Designer?

    The current audio designer at http://www.pjrc.com/teensy/gui includes some features (AudioSynthSimpleDrum is the one that got me) that are not included in the version of the Audio library distributed with the latest stable teensyduino (1.28). Once i realized what was going on, i used the...
  14. 1

    Replacing CPU on Teensy 3.0

    First, wiltwong, let me congratulate you on your soldering skills. I can barely even see all those little wires, let alone attempt to solder them... But second, my teensy 3.1 failed in exactly this same way, with a pop, point source glow + smoke, followed by a bump in that same place. To...
Back
Top