Looks like h4yn0nnym0u5e already answered, I would second using his library for these purposes. I have been meaning to try it for the longest time but I've had too much other stuff going and have not...
Type: Posts; User: Myreauks
Looks like h4yn0nnym0u5e already answered, I would second using his library for these purposes. I have been meaning to try it for the longest time but I've had too much other stuff going and have not...
Sounds good! I’ll check it out as soon as I get my testing hardware back together!
That approach sounds good. Here is a set of samples I have been using for testing:
https://theremin.music.uiowa.edu/MISpiano.html
So far I've tested them with FrankB's waveplayer, which plays the...
Hi!
Looks to be a great project. I am wondering how this would work in the following use case:
Say, I have a set of 88 piano samples in wav files, or it could even be as high as 264 wav files if...
Hi!
I hand-soldered the chip and turns out it had solder bridges just on the headphone-pins. It's quite a small chip so no wonder, a pretty big challenge to solder on a normal soldering iron....
Aaand never mind, problem solved.
Hi!
I am trying to interface the MAX98089 audio codec with Teensy 4.1. Mainly I am interested in this codec, as it has integrated speaker amp and some more interfacing options compared to...
Hi blakeAlbion!
Could you share code for your solution, I have been battling the exact same problem with sample playing from SD, but memory allocation is still a bit too much for my skills at the...
Thanks for the reply, Paul!
That seems to be way over my skill level currently. Guess I will stick to T4.1 and its QSPI for now.
Hi Paul!
If I understand correctly, the standard SPI has plenty of speed for supporting, for example, multiple delays for different audio streams, but the problem is that the software implementation...
Hi Robz!
Did you ever end up trying the Frank's memory board with 6x PSRAM chips? I'm interested in trying this out myself but would like to double check before ordering anything.
Another more...
Thanks, got it working!
I just discovered the latest progress on Teensy-support for arduino-cli. I must say this is great news. Finally an easy way to use my favourite IDE for editing without having to rely on the Arduino...
And I have finally managed to solve the source every last click and pop that was still happening. I am powering some speakers and a 5W amp from the same source as the Teensy and the USB host has some...
So far so good with testing the WaveplayerEx for my project. I have managed to make a drum sampler that can be played quite reliably. I was testing it really hard and smashing a lot of keys on my...
I have finally managed to fix the click.
I updated to the newest version of the WaveplayerEx and upgraded my sd card during this process, but finally the solution that stopped all the clicks was...
I reformatted my SD card with the SD Formatter and rearranged the audio files into three folders as per your example. The crackle is almost completely gone! There is just a very faint audible click...
Thanks a lot for your efforts. Frank!
I will go and buy the recommended SD card to see if that helps with the troubles I'm having. It's only around 15 euros here so definitely worth the shot....
It definitely got much better by changing the AUDIO_BLOCK_SAMPLES from 128 to 512, but there are still noticeable cracks in the audio. I will try the new files later!
-Miro
Here is a short recording done from Teensy 4.1 through USB audio on my Mac.
The crackle happens as new notes are triggered, but not after that.
I guess it has something to do with retrieving data...
Hi Ben!
Did you ever go on with your plans of creating a flash/ram buffer for AudioPlaySdWav?
-Miro
It only seems to happen in the first second of the file, after that multiple notes play just fine. Here is my current code with some changes to the mixer volumes. I also changed the max amount of...
Hi!
I just tested out the MidiPiano example posted in this thread: https://forum.pjrc.com/threads/69373-Best-Method-for-Fast-Playing-of-Samples-with-8-voice-Polyphony
I am using Teensy 4.1...
I am also highly interested in playing multiple audio files from NAND flash simultaneously. Have any tests been conducted on this? I have a 1GB Winbond chip waiting to be soldered on my Teensy 4.1...
Thanks for the tip Kurt, I will check the debug with this the next time the midi-keyboard stops working.
Thanks for the suggestions again. So far it has gone like this:
At first, the midi...
Thanks for the reply! I have also thought about it being a problem with power. However, my usb hub doesn't have a separate power supply. This makes me think that power is fine.
Maybe it could be...
Hi!
I am creating a synth with Teensy 4.1. It is currently controlled with a M-Audio Keystation Mini32 MK3 via the USB-Host connection on Teensy 4.1 board. The Teensy has been programmed with...
Thanks, these will be helpful!
Hi Paul!
Thanks for the reply. I am currently using the newest beta with T4.1.
Limitations in performance come for me when trying to play eight samples at the same time, triggering them with...
Hey Dionysus!
Did you ever manage to solve how to transfer files from SD to ram on the fly? I am currently working on a similar project (albeit with T4.1 and PSRAM chip) and would really...
And indeed it was a problem with my wiring/breadboard. I should never trust breadboards without trying at least a couple of different holes for the connections...
Anyhow, problem solved.
Best,...
I will do as you suggested and see what comes up.
Thanks!
-Miro
Hi Paul! Thanks for the reply.
Unfortunately not. The USB-host connection works just fine when I power the Teensy from the micro-usb port even with just a phone charger. This makes me think that the...
Hi!
I have managed to establish USB-Midi communication between my USB-Midi keyboard and Teensy 4.1 through the USB Host port, I am even powering the keyboard through the Teensy! This is pretty...
Yes, that cable is always a good choice for fast prototyping and when space is not an issue. But as I mentioned in my original post, instead of the cable I want to use a plain USB port. In my case...
Yup, that looks handy!
Thanks!
-Miro
Thanks Paul!
Silly me, didn't occur to me to check the underside of the board.
The most obvious place is always the last to come to mind.
Although, I must say that it wouldn't hurt to have it...
Hi!
I have searched the PJRC site and the forum, but have found no information on the pinout of the Teensy 4.1 USB host pins. There was no information either on the 4.1 pinout card supplied with...
Hi!
Haha, I always get those two wrong. I most definitely meant 100 megabytes.
I took a look at the speeds you reached in your tests and the fastest was around 5MBytes/sec.
In this thread Bill...
Hi!
I am trying to figure out what would be the absolute fastest storage for large amounts (>100Mb) of data like audio samples and such.
So far, the options I have come across are:
The...