Is anyone interested in integrating mutable instruments code (for example the various algorithms from braids / plaits or maybe even the sequencer / quantizer from Marbles) to a format that would be compatible with the daisy? I’m assuming it would be okay to parse out separate elements and add them to the DaisySP library but I have no idea how to go about that. It looks like there is one little limiter originally from Mutable Instruments already included in the DaisySP library so it seems like it should be totally doable.
Does anyone have any resources on how I might be able to get started on this?
Totally interested here! If you look through the code base, we’ve already started porting some of the stuff from her stmlib library.
It would be very cool to create some daisysp modules based on various mutable instruments modules.
That said, stmlib can be used with the daisy as well. And with a little bit of wrapper code it would be possible to port entire modules as daisy projects.
One thing to note is many of the processors for mutable instruments modules have flash sizes that are a bit larger (up to 1MB I believe). So some of those would either need to have some code run from the from external flash (support for this is coming soon), or be reworked to use less flash memory.
@shensley MI modules use lots for LUTs, many of those functions can be calculated on the fly due to more powerful CPU.
Based on MI linker scripts, only STM32F4 MCUs with APPLICATION_LARGE flag in makefile use >512 flash. This is the case for Clouds, Elements, Marbles, Rings, Warps. However, I would expect that some of them won’t even use flash fully for program/data. Some sectors are reserved for module state saving (data is appended to reduce amount of page erases).
I’ve mostly been using the arduino libraries and exploring the examples through that. Is there any easy way to make the STMlib from mutable compataible with arduino? I keep getting errors when I try.
@Casual_Decay I haven’t tried it personally, but one thing I’ve noticed with arduino is it tries to compile all of the files in your folder even if they’re not all being included. So you may try just pulling in specific files you’d like to use in your program.
A lot of the DSP in the mutable instruments Eurorack repos should play well with the DaisySP stuff, but its probably best to bring pieces in one at a time to see what Arduino complains about.
Feel free to post any specific errors so we can give a bit more directed advice.
Yeah, that’s what I was thinking too. Porting straight from mutable seems easier than doing it from somewhere else. Unfortunately that’s not something I’m capable of doing yet with my skill set ¯_(ツ)_/¯
Patch uses stm32H750
1mb of RAM
480Mhz
128kb flash program size
, while Plaits uses STM32F373CCT6
32kb of RAM
72Mhz
256kb flash program size
Do you the wavetables can be loaded from SD card and kept in RAM, it looks like it has to spare.
Braids uses STM32F103CBT6 with 128kb flash also. That should be able to be ported as is right? I think I might have a crack at it, following your port.