laughingrice
Member
I'm in the process of building an electric piano controller using the synth_wavetable library and a teensy 3.6
The problem right now is to figure out how to be able to replace instruments in memory, as there is not enough memory available for multiple instruments.
From what I see the instruments are loaded into flash memory (program memory) at compile time. Each instruments when pushing it (loading only some of the sound range) takes close to 1MB.
I tried looking into loading only one dummy instrument and then replacing it's data, but it's read only memory, so that won't work.
Is there any other solution that may work, software or physical? i.e. adding some kind of additional physical storage that can be accessed directly as program memory, writing to program memory, low cost stand along midi player that the teensy can send midi to, etc.?
I also looked at letting the raspberry pi do the actual midi synthesizer and run the teensy only as the midi controller to work the keyboard, but the boot times and sensitivity to pulling the power cable on the pi are an issue and I would rather avoid trying to build a minimal custom setup on the pi to reduce those issues.
Thanks
The problem right now is to figure out how to be able to replace instruments in memory, as there is not enough memory available for multiple instruments.
From what I see the instruments are loaded into flash memory (program memory) at compile time. Each instruments when pushing it (loading only some of the sound range) takes close to 1MB.
I tried looking into loading only one dummy instrument and then replacing it's data, but it's read only memory, so that won't work.
Is there any other solution that may work, software or physical? i.e. adding some kind of additional physical storage that can be accessed directly as program memory, writing to program memory, low cost stand along midi player that the teensy can send midi to, etc.?
I also looked at letting the raspberry pi do the actual midi synthesizer and run the teensy only as the midi controller to work the keyboard, but the boot times and sensitivity to pulling the power cable on the pi are an issue and I would rather avoid trying to build a minimal custom setup on the pi to reduce those issues.
Thanks