pheromone-party
Member
Hi all,
I'm writing some custom audio library objects for my teensy 4.1 + PSRAM IC, and I was wondering if there's a way to initialize variables (a 2D array in my case) into the PSRAM from the audio library .cpp/.h files themselves?
I've tried EXTMEM, but (I guess fairly obviously lol) that doesn't work. Any other ideas? My worst case scenario is a workaround involving pointers, which isn't that bad and tbh would be a good learning experience, but curious to know if anyone's aware of another a way to do it
Thanks!!
I'm writing some custom audio library objects for my teensy 4.1 + PSRAM IC, and I was wondering if there's a way to initialize variables (a 2D array in my case) into the PSRAM from the audio library .cpp/.h files themselves?
I've tried EXTMEM, but (I guess fairly obviously lol) that doesn't work. Any other ideas? My worst case scenario is a workaround involving pointers, which isn't that bad and tbh would be a good learning experience, but curious to know if anyone's aware of another a way to do it
Thanks!!