dimitre
Well-known member
Hello, some years ago I've built a nice project using a serial flash chip and Teensy 3.x
It was a different kind of looper with three different recordable tracks.
I was using the play_serialflash_raw.cpp with some modifications to have the ability of looping audio and seeking arbitrary position. fork here:
https://github.com/dimitre/Audio
I had some performance issues because of Flash slow erasing and the fact the library has to erase the entire drive at once (something between 30 / 40 seconds for the drive size)
Now I've got Teensy 4.1 and new audio board, and two PSRAM chips, finally I'm going to be able to have a nice performance for this usage.
Questions:
I was using the nice play_serialflash_raw object to record and play but I suppose it doesn't support PSRAM instead of Flash right?
I've noticed the LittleFS recent changes which support PSRAM, but from what I've seen there is no Audio Library object.
In the other hand I don't need a filesystem because I can record directly in available PSRAM and playback there too using a custom object and one EXTMEM array like this example here
https://forum.pjrc.com/threads/6249...n-audio-object?p=252844&viewfull=1#post252844
I think my first try will be using a new Audio Object, based on delay object or @houston Reverser here
https://forum.pjrc.com/threads/6360...e-using-Teensy?p=255500&viewfull=1#post255500
Thanks
It was a different kind of looper with three different recordable tracks.
I was using the play_serialflash_raw.cpp with some modifications to have the ability of looping audio and seeking arbitrary position. fork here:
https://github.com/dimitre/Audio
I had some performance issues because of Flash slow erasing and the fact the library has to erase the entire drive at once (something between 30 / 40 seconds for the drive size)
Now I've got Teensy 4.1 and new audio board, and two PSRAM chips, finally I'm going to be able to have a nice performance for this usage.
Questions:
I was using the nice play_serialflash_raw object to record and play but I suppose it doesn't support PSRAM instead of Flash right?
I've noticed the LittleFS recent changes which support PSRAM, but from what I've seen there is no Audio Library object.
In the other hand I don't need a filesystem because I can record directly in available PSRAM and playback there too using a custom object and one EXTMEM array like this example here
https://forum.pjrc.com/threads/6249...n-audio-object?p=252844&viewfull=1#post252844
I think my first try will be using a new Audio Object, based on delay object or @houston Reverser here
https://forum.pjrc.com/threads/6360...e-using-Teensy?p=255500&viewfull=1#post255500
Thanks