Search results

  1. B

    Tons of noise while reading from SD card

    That's a great article! It seems like the conditioning circuit required for the Piezo pickup is simple enough. Would the circuit be any different for this Piezo vs a disk Piezo: This is the exact pickup I'm currently using, which connects to my LR Baggs preamp. I'm weary to cut that cable...
  2. B

    Tons of noise while reading from SD card

    Good idea about removing the preamp from the circuit to determine if the buck converter is the culprit, or is the nose due to unwanted interaction between the preamp and the Teensy. I'll look into it. I was thinking that connecting the Piezo under saddle pickup to the mic input on the audio...
  3. B

    Tons of noise while reading from SD card

    Yes, the under saddle piezo pickup in the guitar goes into the guitar's preamp, then the output of the preamp, instead of going to the output jack on the guitar, goes into circuitry I designed that contains the Teensy. So the guitar output is fed into the Teensy via Line In, is mixed in the...
  4. B

    Tons of noise while reading from SD card

    Yeah I think it's definitely doable, though my stock preamp has additional features aside from preamplification that I'd probably want to recreate, such as a tuner, Bass/Mid/Treb adjustments, sweepable notch eq filter, phase inverter, and volume control. Would probably turn out to be a pretty...
  5. B

    Tons of noise while reading from SD card

    I don't remember if I mentioned earlier, but I'm using the SD card on the Audio Adaptor board, which is plugged directly on top of the Teensy. How would I even go about powering the SD card separately if all the pins between the Teensy and the Audio Adaptor are connected?
  6. B

    Tons of noise while reading from SD card

    Hmm that's good thought to troubleshoot, unfortunately my vacation is nearing it's end and I need to return the guitar to a functional configuration for now. Since I've been having this noise issue, which I'm fairly convinced stems from the fact that I'm powering both the Teensy and the preamp...
  7. B

    Tons of noise while reading from SD card

    The preamp get 9v directly from the battery, and the battery also is connected to the buck, which supplies power to the Teensy, so the buck doesn't power the preamp directly.
  8. B

    Tons of noise while reading from SD card

    Meaning I should measure the voltage at the output of the buck converter with a multimeter while the Sd card is reading? Update: I just tried this measurement. Before turning on the SD card, the voltage measured on the output pins of the buck converter goes between 4.97 and 4.96v. Once the SD...
  9. B

    Tons of noise while reading from SD card

    This is the buck converter I'm using: https://a.co/d/3bmmtTD They have a little pot to manually adjust the out voltage, or you can cut a trace on the bottom and solder together a pad for a fixed 5v voltage, which is what I did. Perhaps if I try the pot with another buck converter and give...
  10. B

    Tons of noise while reading from SD card

    Hmm any way to mitigate this noise? It's clearly bus activity. The pattern of the noise changes as one song ends and the next song is started, then returns to the normal noise pattern.
  11. B

    Tons of noise while reading from SD card

    I don't have something like that on hand, though I might be able to rig something up with AAs. If it were the buck converter though, wouldn't the noise be consistent? The noise is only present while the SD card is active...
  12. B

    Tons of noise while reading from SD card

    Give a listen to the attached audio sample. I'm trying to build a break music player with the teensy to fit inside of my guitar, I'm powering the Teensy off of the 9v battery in the guitar's preamp, going through a buck converter first before power goes to the Teensy. As soon as I start playing...
  13. B

    Adding a third sound introduces noise to the first two?

    You're right btw. I looked at it in my DAW and the noise stops at the exact same time the sound stops. Trimming the sound files to reduce the tails can help conceal the noise, but you can definitely still hear it if you listen for it. What's really driving me crazy is that if I just loop...
  14. B

    Adding a third sound introduces noise to the first two?

    The audio adapter is right on top of the Teensy (see photo) The circuit I have there would power on the Teensy only when a TS guitar cable is inserted (the same way the guitar's preamp is turned on and off) Once I can get the noise removed, I plan to test running the Teensy at lower CPU speeds...
  15. B

    Adding a third sound introduces noise to the first two?

    So a bit of an update: For all these tests, I had the Teensy and Audio Adaptor mounted on a breadboard, with all the various circuitry required for my project. I removed the teensy from the breadboard and just plugged in into my pc via usb, and connected the lineouts to a headphone jack. NO...
  16. B

    Adding a third sound introduces noise to the first two?

    I'm not sure to be honest. I just took the links to the .wav files in the demo sketch and ran them through wav2sketch in the hopes that a different output configuration might remove the noise, but to be clear, my original post was using .cpp and .h files directly from the github repo.
  17. B

    Adding a third sound introduces noise to the first two?

    Just tried it, no change to the noise... I tried to find some info on the observation you made yesterday that the noise tends to appear every 1024 samples or so, but didn't find much. I did read something interesting in the Audio Play Memory Documentation: "AudioPlayMemory automatically decodes...
  18. B

    Adding a third sound introduces noise to the first two?

    Thanks for weighing in. I'll give lowering the mixer levels a try, but my guy is that it isn't a clipping issue, as the noise is most noticeable in the tail after the peak, where clipping is usually nose right at the peak. Plus, the waveforms have plenty of headroom, even with the noise. I'm...
  19. B

    Adding a third sound introduces noise to the first two?

    I tried a few different settings while converting the drum sounds through wav2sketch, and the noise was different, but I wasn't able to eliminate it. Re-converting the .wav of the Hihat to 22050/16bitPCM caused a bunch of noise on the Hihat sound. Going back to the original Hihat.ccp, and...
  20. B

    Adding a third sound introduces noise to the first two?

    To further test these theories, I just tried a sketch that played only the kick and snare, but both on playMem1. Quite a strange result actually. The very first time the kick drum and snare drum play, there is noise. Subsequent kick and snare sounds are clean... This is really strange. It's...
  21. B

    Adding a third sound introduces noise to the first two?

    I tried your suggestion, adding playMem3 and playing the Hihat through playMem3, still noise... My understanding is if you use the same playMem to play a second sound before the first sound played through it, the first sound is stopped and the second sound begins. You use multiple playMems so...
  22. B

    Adding a third sound introduces noise to the first two?

    Just ran the tests you suggested. If I play the snare on mem2 instead of the high hat = no noise. If I play the Hihat on mem1 = noise (though possibly slightly less noise. I'm not sure though as I'm just listening to it through a speaker) Interesting that the noise seems to happen every 1024...
  23. B

    Adding a third sound introduces noise to the first two?

    You're meaning that the snare waveform in the clean sample is shorter than the snare wavefrom in the dirty sample? If so, the noise is what makes the waveform of the snare in the dirty sample longer. The snare drum in the clean and dirty samples were generated from the exact same .cpp file.
  24. B

    Adding a third sound introduces noise to the first two?

    I'm using a Teensy 4.0 with the Audio Adaptor Board, using the Line Out on the Audio Adaptor, to play some sounds I converted from .wav to .cpp using wav2sketch. If I loop through just two of the sounds, they're nice and clean (cleandrums.zip below), but as soon as I uncomment line 47 in my...
  25. B

    Any idea why I'm seeing a difference in the audio quality between the Audio Adaptor Board and the PT8211 Audio Kit?

    Hmm could it be my soldering? I feel like I'm fairly handy with an iron, but maybe I should inspect/reflow my joints? Any particular pins I should focus my attention on?
  26. B

    Any idea why I'm seeing a difference in the audio quality between the Audio Adaptor Board and the PT8211 Audio Kit?

    Sure here's the original .wav file: kick10.wav I've been using the wav2sketch tool to convert .wav files like this to .cpp and .h, though I did notice an error when trying to compile (I use PlatformIO on VScode, mainly for Git integration). I did have a few issues with the compiled .cpp...
  27. B

    Any idea why I'm seeing a difference in the audio quality between the Audio Adaptor Board and the PT8211 Audio Kit?

    I recently picked up a Teensy 4.0, The Audio Adaptor Board, and the PT8211 Audio Kit for my drum project. I converted a .wav kick drum sample to .cpp and .h using wav2sketch. I've managed to get both the Audio Adaptor Board and the PT8211 Audio kit working, but I've noticed that the PT8211 has...
Back
Top