Search results

  1. K

    SD card audio library to scan SD card for valid files and make a list?

    Oh it looks like the SD.h example library programs show how to print the contents of files/directories from Root of the SD card. that doesn't use the sdFat.h include? I am just about to test it, it seems like it should work. I'm already using SD.begin() and SD.exists() so I'm sure i can...
  2. K

    SD card audio library to scan SD card for valid files and make a list?

    Hello, In my project, I'd like to play WAV files from the SD card, but first I would like to scan the SD card filesystem and find all the valid sound files on there and return a dynamically allocated list of strings with the valid file names, and then later on I might sort them...
  3. K

    Can the SD Card play WAV sounds into a mixer block for layered/overlapping sounds?

    Frank, I had not considered copying the files into an external flash chip, that sounds like a reasonable plan to check out. My concern is that the users are not necessarily bound to a certain length/size of file and things might fail to copy over and otherwise be a hassle if that happens. My...
  4. K

    Can the SD Card play WAV sounds into a mixer block for layered/overlapping sounds?

    Hey Paul and Frank thanks for the replies! The teensy 3.2 I test with on my own custom audio board (has SD card mount and a texas instruments 25W mono channel class D amplifier IC) has enough internal memory to store ~5 samples of the lengths I work with. I have them assigned indexes for...
  5. K

    Can the SD Card play WAV sounds into a mixer block for layered/overlapping sounds?

    I have a project where the SD card plays gun-shot sound effects, which may have trailing after-effects like bullet casings or a bolt/mechanism sound. If the device fires 3-4 consecutive shots, in rapid succession, I'd like a way to layer the same sound effect starting at the beginning of each...
  6. K

    Flex Timer for input event capture at full system clock rate

    What is the SYSTICK frequency? If the Teensy 3.2 is running at 120Mhz, is that the frequency it runs at?
  7. K

    Flex Timer for input event capture at full system clock rate

    Brooks, I am trying to measure jitter down to tens of nanoseconds, so any sampling delays or possible interrupt latency is unacceptable, that's why I had the idea to try the hardware timer module where it latches the systick (or equivalent) at a hardware level, and then any time in the next 16ms...
  8. K

    Flex Timer for input event capture at full system clock rate

    Oh dear, that difference is huge and cuts it pretty close for the sort of resolution I was hoping to get... Still, it's worth a shot and I have a few T 3.6's hanging around so thanks for the info and the link tni
  9. K

    Flex Timer for input event capture at full system clock rate

    I'm trying to quantify jitter in a single pulse-train, not between multiple inputs, does that change anything? As in, I know it's meant to be exactly 60Hz, and as the clock edges trip the event capture every 16.666ms I read the count value and compute phase, and difference between computed phase...
  10. K

    Flex Timer for input event capture at full system clock rate

    Hello, I have a quick question about the capabilities of the Teensy 3.2 and/or 3.6 (if there's a difference) Flex Timer module and configuring them for event capture mode. I have read the datasheet a enough to see that it LOOKS like I can set the clock source for the 16-bit flex timer counter...
  11. K

    Teensy 3.2 I2C Slave on SCL0/SDA0, I2C master on SCL1/SDA1 at same time

    great, thanks Kurt. I did see some of your other posts regarding the SSD1306 libaries and various other I2C threads. Thanks for your contributions to the community.
  12. K

    Teensy 3.2 I2C Slave on SCL0/SDA0, I2C master on SCL1/SDA1 at same time

    Hi! I have a project where i'd like to talk to an IMU using the SCL1/SDA1 pins underneath the Teensy 3.2 where the teensy is a master, but I also need the teensy to act as a slave for a beaglebone black to talk to it (beaglebone is the master on that bus). Is there currently library support...
  13. K

    Bat detector

    The flying foxes make audible sounds, and yes they have good eyes. If you do a sensor network comprised of teensy logging devices, then a base station from a raspberry pi with GPRS module or SIM card with 3G/4G internet data connection you could instead of comparing these devices, make them...
  14. K

    Bat detector

    haha, that's cool. I worked as an engineer for a university's robotics lab and one of the projects I did was a GPS flying-fox (large bat) monitoring device that is glued to the back of the animal and logs their flight paths, for the purpose of population monitoring. I think there was also plans...
  15. K

    Bat detector

    Just a random comment here, these bat monitoring devices could be interesting to researchers in ecology/biology so whoever "owns" this idea/prototype (DD4WH) should approach their local universities and offer the designs/assistance in producing a batch of these with a mesh networking topology...
  16. K

    Teensy 3.2 audio library pin configuration defaults without STGL5000

    thanks for the replies everyone, defragster's post was the most helpful, and from the looks of the prop shield and example code the audio library doesn't change any pins (like to the SPI alternative pins) unless the SGTL5000 is used. This is good to know! I was worried that the audio library...
  17. K

    Teensy 3.2 audio library pin configuration defaults without STGL5000

    Hi there, I'm intending to use the Teensy's DAC and the audio library to output to my own PCB with an audio class-D amplifier chip (TPA3112D1) for a 20W mono-speaker sound unit. I'm doing the schematics for the main teensy part, using the audio board and teens 3.2 schematics for reference to...
Back
Top