I am trying to sync the output of the teensy with audio library and I2S Audio output to an external trigger (coming from MIDI Start command), from an external device.
My finding is that the output delay at start is...
I think going over 2x is too much to ask, anyway. I would be happy with a +-5 semitone pitchshift.
About the code, yes i've seen that and think that is doable but i have trouble to revert from Nics file-access...
I only use mono samples and i think this will never change.
In the meantime i have reverted to an older version of the variable_playback before Nic introduced the additional file abstraction layer for serialflash and...
As a side topic - i think this is an issue with the audio library in general with wav files,
when stopping samples, so they are not playing to the true end, there are always clicks or glitches.
I tried to fix it...
Yes, there is definitly a difference when putting in more yield().
If i disable all or most of the other sound generation beside the samples, i can get 3-4 samples playing nearly without glitches.
I retried the PSRAM...
Yes, i need to work with git more regulary, i am still kind unfamilar with it and can use only the most basic functionality. So until getting to the next breakthrough we will concentrate on the code and our users prefer...
That are great news!
I tried several times with much stripped out code of our project but all in all, so far no real difference. My feeling is that the SD Card loading is not getting enough/long enough cycles to get...
i did however not have so much sucess with the setBufferInPSRAM(true), i tried to call it before the ->playWav, after it and both but the results were equal or worse than without it.
Maybe something in the main...
I can confirm this helped a lot in certain circumstances. Instead of crashing or very nasty audio artefacts, it is more solid now with less agressive audible issues. I will provide a audio demo shortly.
Very helpful tips, thank you. As one of the first steps i will try to strip out everything possible and observe if any step of it makes an difference. Since everything is interwoven, that might take a moment :_)
will...
Hey h4yn0nnym0u5e,
i am not sure how fast i can come with an demo code.
I don't think it is that much helpful but hope to get you more involved somehow:_) first half of the video is Nics Library playing from flash....
Hey, moo -
very happy to hear some news from you after a while about your library. You know i am more on a novice level but when you would ask me, i would drop the littlefs and extra stuff for flash. The default...
That will be complicated but i understand your point. That was the reason why i tried to drag you in to see actualy the same issues we see :_) Since your help is priceless i wil try to find a method to show it otherwise...
I understand you do not have much free time but just to let you know - you can test/experience our project with just a bare teensy 4.1 and your PC connected via the onboard MicroUSB and a Webbrowser.
You even will hear...
Thank you for putting in time and work on this, h4yn0nnym0u5e.
Currently i can't get your branch working for more than 0.5-1sec. but that very well might have reasons out of your scope and i will try to find it.
One...