Sorry, my thoughts keep pouring in instead of altogether at once. First, thank you so much again, really inspired by this progress. I was kind of dreading the current state of sampling on my box, and now I'm looking forward to seeing how far I...
Though, with lowering the RESAMPLE_BUFFER_SAMPLE_SIZE to 512 it seems better playback wise and I haven't encountered a crash yet, less slop between various samples firing at the same time vs. when I had it at 2048. I think I could even get away...
Ok, yeah not surprising about the buffer size issue, I was wondering if that might be it.
Also interesting is that the two patterns it cycles through switch the track assignments so that the sample voices are already swapping between different...
Actually, so long as the programmer makes just a bit of effort to parse fairly basic WAV files, they're a lot easier than RAW. They contain vital information about how many channels you have, the sample rate, and whether the file is really 16-bit...
Thanks @h4yn0nnym0u5e and I was also thinking if the specifics of the WAV parsing are a hangup, we could work with RAW files instead. I know WAV is more user-friendly, but I'm not really planning on having stereo sample support at first, and I...
Just jumping in here to say that I'm using Nic's library in my O_CT4.1 development, building a 2-deck DJ-style file player, experimenting on this branch (watch out, it's messy). I've hacked in a few things: tolerating unknown WAV metadata to find...
@h4yn0nnym0u5e here's a sketch I made. Don't want to post it inline here in the forum since the formatting is not super great. Here is a google drive link to the samples I'm using if you want to run it.
I haven't messed around with any pitch...
Alright, I'll give it a shot with a small Arduino sketch prototype, I've been needing to solder together another Teensy anyway.
Yes, any direction I end up going in with the sample playback, I will want to be using that clock library which uses...
@h4yn0nnym0u5e I think there's a couple things giving me pause after thinking about it. Sure, I'm sacrificing 16MB of PSRAM primarily for samples / sample swap, which seems kinda sad, but the benefits of having instant playback with Nic's...
@graydetroit, you could give my changes a try. Please see posts #104 and #122 for links to my branch, and ways of tuning that for (possibly) better results - I wasn't very generous with my default buffer allocations.
In order to "cue up" a...
Sorry for resurrecting this thread, but I just wanted to describe how I'm managing samples for my groovebox so far:
I have the Teensy 4.1 fitted with 16MB of PSRAM, and I've been using Nic's teensy-variable-playback library in conjunction with...