Search results

  1. L

    No sound from line-out on T4+Audio shield

    Hey Paul, The connections are correct. However I was able to get this one to work by just putting on the magnifiers and going over each solder connection one-by-one. If I saw anything that looked off the pad it was removed and apparently one of those did the trick! I've been using the 3.2...
  2. L

    No sound from line-out on T4+Audio shield

    I don't see anything from the Teensy that is touching the SD card housing. I checked that thread and checked the pins again and do no see a short as described there (not that there couldn't be somewhere else.) Also, I have the setup connected to a powered speaker, and if I crank it all the way...
  3. L

    No sound from line-out on T4+Audio shield

    No sound from line-out on T4+Audio shield (updated) Here are pics of a SECOND set of boards put together. Same issue. Headphones jack works but not the line-out. Loaded the WavFilePlayer example provided by Teensy in the Arduino IDE to make sure it wasn't my sketch and same results. Any...
  4. L

    No sound from line-out on T4+Audio shield

    Hey All, I've run into something for the first time. I've been building an audio project for several years now using Teensy+Audio, and today after assembling and testing one I cannot get sound to come out of the line-out port. The headphone port works fine. It's a simple project that has a...
  5. L

    Teensy 4.0 Freezes when opening multiple files on SD

    Teensy 4.0 Freezes when opening multiple files on SD - SOLVED I was able to solve this by using the AudioNoInterrupts() and AudioInterrupts() functions: void showFile(const char *filename) { AudioNoInterrupts(); File file = SD.open(filename); if (file) { char c; while...
  6. L

    Conflict between some SD functions and touchRead?

    I was able to solve my issue by using the AudioNoInterrupts() and AudioInterrupts() functions: AudioNoInterrupts(); ... read and display text file AudioInterrupts(); Give that a try.
  7. L

    Conflict between some SD functions and touchRead?

    I'm experiencing a similar issue: https://forum.pjrc.com/threads/69744-Teensy-4-0-Freezes-when-opening-multiple-files-on-SD I have an audio file playing and while that is playing am reading a text file from the SD and it locks up with a buzzing sound. Maybe we watch each other's threads to...
  8. L

    Teensy 4.0 Freezes when opening multiple files on SD

    Hey All, I have a audio app that I have been running on Teensy 3.2, but am finally being forced to upgrade to Teensy 4 ;) It starts off playing a long (5 mins) audio file and while that file is playing it needs to be able to read a text file from the SD. This app worked on my Teensy 3.2 +...
  9. L

    [posted] Predator costume with active 3D head tracking by the plasma cannon

    Thanks for the modded PCA9685 lib! Going to try it later this week with a Teensy 3.2. Did you have to use the resistors on the RX line between the PCA and the Teensy?
  10. L

    Feeling Dumb About Servos :/

    Ok got it working....just started from scratch, made sure to test all wires used, etc. Thank you!
  11. L

    Feeling Dumb About Servos :/

    Yesterday I posted a question about getting a PCA9685 working with Teensy 3.2 : https://forum.pjrc.com/threads/57819-Teensy-3-2-and-Adafruit-PCA9685 I decided to just pull the PCA9685 out of the equation for now and run the servos (there are only 4) directly. I had them working using the...
  12. L

    Teensy 3.2 and Adafruit PCA9685

    Hey guys, I have been trying to get a Teensy 3.2 talking to a PCA9685 servo controller using the AdaFruit library with no luck so far. I was originally using an Arduino Uno, but decided to try a 3.2 as I need more memory (the sketch was bumping up against Arduino limits) and the arduino took...
  13. L

    Anyone Doing Pitch Shifting?

    I got it working, but was still having some tonal quality issues and then had to put it down for a while. In the meantime, the Audio lib has been updated with a pitch shifter that works pretty well. It does have some artifacting depending upon settings.
  14. L

    Teensy 3.2 + Audio Adapter: Memory Spikes and Playback Stutters

    I got my SanDisk Ultra SDHC 16G in the mail today and so far so good. Have been playing the loop continuously for over an hour and no stutters, the memory is consistent, and memory usage is SO much lower as you stated! Next test is the reformatting issue I mentioned. I'll write up a sketch to...
  15. L

    Teensy 3.2 + Audio Adapter: Memory Spikes and Playback Stutters

    I started off using the SanDisk, but was having to reformat the card every couple of weeks or so as all of a sudden I couldn't read it. I switched to ADATA and have never had to reformat, but get the stutter. I am also getting it with Samsung and PNY. Going to try it with the SanDisk again, and...
  16. L

    Teensy 3.2 + Audio Adapter: Memory Spikes and Playback Stutters

    I was actually testing this again today. I have tested it on several different devices (all Teensy 3.2 with an Audio adaptor.) One of them is from parts I received about 6 (?) weeks ago. The other two are probably around a year old (I was wondering if maybe it "could" have been related to...
  17. L

    I2C communication on Teensy 3.2

    Try setting the SCL and SDA pins in your Wire setup (change them to the pins you are using of course): Wire.setSDA(17); Wire.setSCL(16); I'm using those two instead of the standard pins because I have the audio adapter attached.
  18. L

    Teensy 3.2 + Audio Adapter: Memory Spikes and Playback Stutters

    I've been trying to diagnose an issue whereby the Max Processor Usage (see code) suddenly spikes and a loop I have playing from SD will stutter for a second. This cycle continues at a seemingly random interval (spike, stutter, drop to normal, spike, stutter....) I am playing a 1 minute loop...
  19. L

    Memory Spikes and Playback Stutters

    **** moving to technical support forum ****
  20. L

    Is this possible? Teensy 3.2 + Audio Shield + Lipo Charger + Lipo Fuel Gauge?

    I got this working using a Teensy 3.2 with Audio Adaptor, the lipoly backpack from Adafruit and the Lipo fuel gauge from Sparkfun. You have to set the SDA and SLC pins using the Wire library: Wire.setSDA(17); Wire.setSCL(16); Wire.begin(); And you have to do it AFTER initializing the...
  21. L

    Memory Spikes and Playback Stutters

    Hey All, I've been trying to diagnose an issue whereby the Max Processor Usage (see code) suddenly spikes and a loop I have playing from SD will stutter for a second. This cycle continues at a seemingly random interval (spike, stutter, drop to normal, spike, stutter....) I am playing a 1...
  22. L

    Audio files corrupt after some time !

    I have not tried Kingston. I do have a PNY that has also had no problems. My SanDisks I was having to reformat every couple of weeks or so.
  23. L

    Audio files corrupt after some time !

    I was having this same issue. My solution was to stop using SanDisk. I've begun using ADATA brand SHDC cards. If you have access to a MicroCenter store, their branded SD cards are actually ADATA and are about half the price ;) So far so good. No more file corruptions.
  24. L

    Is this possible? Teensy 3.2 + Audio Shield + Lipo Charger + Lipo Fuel Gauge?

    I am trying my setup with the separate charger and lipo fuel gauge. I have it all connected, and the battery charges and powers the teensy+audio adaptor just fine. I also found this code: http://www.lucadentella.it/en/max17043-libreria-per-arduino/ That will work with the MAX17043 chip...
  25. L

    Is this possible? Teensy 3.2 + Audio Shield + Lipo Charger + Lipo Fuel Gauge?

    As you can tell I had to put this project down for quite a while and am just now able to resume it ;) After a bit of more research, I found this: https://www.sparkfun.com/products/13777 which is a charger/monitor in one. They have an Arduino library...
  26. L

    Dynamically Change Chorus and Flange Sample Lengths?

    Hi All, Just started experimenting with the chorus effect and flanger effects, and the docs say the only modification you can make to the chorus is the number of voices once you have called begin. On the flanger, you can change offset, depth and freq after calling begin. I have noticed a...
  27. L

    Anyone Doing Pitch Shifting?

    Great thank you...got it working. Also checked out the video on the link you provided. I'm wanting to use this with a voice input and change the pitch of the voice up or down. It's compiled and running, but the voice is full of static and the waveforms are creating the random sounds ;) I...
  28. L

    Anyone Doing Pitch Shifting?

    @omjanger Getting a compiler error that 'DelayWave' is not declared. I do not see it anywhere in the example you provided. Is this something you declare in your code somewhere? 'DelayWave' was not declared in this scope Thank you!
  29. L

    Anyone Doing Pitch Shifting?

    Thank you so much! I will definitely try this tonight!
  30. L

    Anyone Doing Pitch Shifting?

    Hey Everyone, Just wondering if anyone is doing pitch shifting (i.e. voice changing/modulation) with Teensy 3.2 and Audio Shield? I have been doing some research on how to accomplish this and have experimented with some code (using the existing audio library objects) to see if I could...
  31. L

    Is this possible? Teensy 3.2 + Audio Shield + Lipo Charger + Lipo Fuel Gauge?

    Hey guys, I've been working on converting a project that uses a Teensy 3.2 + Audio Adaptor to work on a lipo battery and have the lipo charger (https://www.adafruit.com/product/2124) connected and working fine. I really need to be able to tell how much voltage the battery has, but have not...
  32. L

    Help with detecting battery level and when USB is connected

    Thanks for those! The battery babysitter looks great, but it's too big for my project (but I might use that for something in the future...) I ordered the other battery monitor and will integrate it into my project.
  33. L

    Help with detecting battery level and when USB is connected

    Hi All, I have a Teensy 3.2 using the audio shield and am using a Trinket Backpack LiPoly adapter to power it. I cut the Vin/VUSB trace and have soldered the connections from the backpack to the Teensy. I can run the boards with the battery or the USB and program it...that works great. I am...
  34. L

    Battery and charger add on for 3.2

    Glad I found this post! Was using the Adafruit but really wanted something that would mount to the Teensy. So if I am reading this correctly (I could tell from the Tindie page) the STBC08 does not have a monitor pin for battery charging?
  35. L

    Preventing Speaker Pop When Switching on Teensy 3.2 with Audio Adaptor

    Here is a video where you can here the pop when it is turned on and off. https://youtu.be/KPCN3QVxX-o I have the Trinket LiPoly Backpack connected to the Teensy like so (Vin/VUSB connection is cut as specified): Bat pin to VIN on Teensy 5V pin to VUSB on Teensy GND to GND The speaker is a...
  36. L

    Preventing Speaker Pop When Switching on Teensy 3.2 with Audio Adaptor

    Sorry yes I am just connecting a 3.5mm cable from the headphone port to a powered speaker, so now am thinking it's on the powered speaker's side.
  37. L

    Preventing Speaker Pop When Switching on Teensy 3.2 with Audio Adaptor

    I'm using the built-in speaker port, so I don't think I have the ability to add the relay? For the line-out I could do that. Thank you!
  38. L

    Preventing Speaker Pop When Switching on Teensy 3.2 with Audio Adaptor

    Hi All, I have a Teensy 3.2 that is connected to the Audio Adaptor and have cut the Vin/VUSB pads and am powering it with the Trinket LiPoly backpack from Adafruit. There is a switch on the Trinket that lets me turn the Teensy on/off (when the USB is connected it will charge the battery, or...
  39. L

    Can't List Files on SD Card Teensy 3.2 + Audio Adaptor

    Ok, I upgraded to Arduino 1.8.2 and TeensyDuino 1.36. Still not listing all the folders. I created a sample sketch using SDFat and it lists all of the folders on the card. Below is the SDFat sketch I used: /* * Print size, modify date/time, and name for all files in root. */ #include...
  40. L

    Can't List All Directories on SD Card

    Oops sorry I forgot I had posted about this before...I'll continue in that post: https://forum.pjrc.com/threads/41872-Can-t-List-Files-on-SD-Card-Teensy-3-2-Audio-Adaptor?highlight=list+files
  41. L

    Wire Line-In and Microphone to Same Jack?

    Thanks for the replies. I ended up just wiring it to the mic jack for both types of inputs. I noticed with the L/R lugs wired to both line-in and mic with a common ground there was signal loss and I didn't want to risk damage. Even though the input for the Audio Adaptor was set to either...
  42. L

    Can't List All Directories on SD Card

    I have 5 directories on my SD card, but for some reason it only finds 4. They are all 8 characters or less. I can access it directly through the code (ex SD.open("/thedir")) but it won't show up in a list. Here is my code: const int SETTING_ENTRY_MAX = 50; const int MAX_FILE_COUNT = 99...
  43. L

    Wire Line-In and Microphone to Same Jack?

    Hey All, Just wondering if wiring the positive side of Line-In and Microphone to the same lug on a 3.5mm jack and then just wiring either the ground of the Line-In or Microphone to the ground lug would cause any problems. I have an app where users can choose between microphone or line-in, and...
  44. L

    Help with Connecting Lipo Battery and Charger to Teensy 3.2

    Great guys thanks for the responses. Seems easy enough...just didn't want to fry the Teensy ;) Thanks again, going to wire it up today.
  45. L

    Help with Connecting Lipo Battery and Charger to Teensy 3.2

    Awesome thank you! And yes good idea I will try that.
  46. L

    Help with Connecting Lipo Battery and Charger to Teensy 3.2

    Hi All, I'm using a Teensy 3.2 with the Audio Adapter and am wanting to power it with a Lipo battery and accomplish the following: 1. Micro USB is used to program Teensy as normal 2. Micro USB is used to charge Lipo battery 3. Micro USB can still be used to power Teensy I am piecing...
  47. L

    Eh...Is my Teensy 3.2 Dead?

    Hi Paul, Thanks for the info and links! Before seeing your post I was looking at the board and noticed the wafer in the micro usb port was tilted down a little and higher on one end. I adjusted it back and plugged in the cable and it starting working again! I have a couple other boards that...
  48. L

    Only Read Some of the Folders on SD Card

    Update: Tried a different SD card and same results. I used SDFormatter again to reformat the card, this time choosing the option to rewrite the logic when you click the "options" button, and that seems to have fixed the issue. Will post more if I find something else.
  49. L

    Only Read Some of the Folders on SD Card

    There is code at the bottom that filters those out. But now that you mention it, I will delete those from the SD and see if that fixes anything.
  50. L

    Only Read Some of the Folders on SD Card

    I have a simple program that recursively iterates through the SD card, starting at root, and prints out all of the directories. However, it's only finding about half of the directories. I have tried reformatting the card and using all upper or lowercase letters. For some reason it does not...
Back
Top