Dekrispator on Daisy Pod

Marcu, did you follow the examples in the wiki?

If you do not want to compile you can upload the bin file Xavier shared through the web uploader specified in this wiki.

1 Like

Thank you! I’ll be giving this a try soon!

Love it, sounds like a bunch of Cylons battling R2D2 in a lumber mill. Thanks for sharing the binary!

1 Like

This looks awesome! But i’m not able to build it / or flash it to my daisy pod? when i try to build it, i get this error region 'FLASH' overflowed by 20132 bytes. And when I just try to flash the bin file supplied in this thread via the webprogrammer, it successfully flashes to my pod, however I don’t get any audio.

Any help would be greatly appreciated!

You could try this to reduce code size - Jellybeans - Diatonic Quantizing Arpeggiator for Daisy Patch - #8 by antisvin

1 Like

Well, same here. Daikrispator won’t fit anymore in Daisy’s Flash…
I tried Os and lto optimizations but it’s not enough.
Maybe recompile all the libs with Os ?
I knew 128k Flash was not enough !!! Value line STM32H7 suck ! :grin: :grin: :grin:

Yes, it’s very annoying. And really you end up using about ~80kb for firmware, leaving very little space for your own patch code.

You could also try to use the new bootloader and store code on QSPI - Creating a Bootloader via the Uart - #18 by shensley

Thank you for the link @antisvin !
The new bootloader and QSPI trick seems a bit complex for me.
I didn’t understand how to load this new bootloader.

I can’t get under 106 % of Flash with Os-ing all libs.
I could get rid of my minBlep oscillators (and wave tables) and use DaisySP oscillators.

By flashing this file instead of normal firmware - https://github.com/electro-smith/libDaisy/blob/master/core/dsy_bootloader_v4.bin?raw=true

Generally, the state of art in DSP is to use polyblep rather than minBlep - it’s computationally cheap (only requires computing 2 polynomials per discontinuity) and doesn’t need a precomputed LUT. As for sine table, you could compute it on the fly when the code starts.

Thank you again @antisvin !
I managed to use daisySP polyblep oscillators. I’m now at 71% !
As far as I remember, minBlep oscillators had better sound than polyblep. I guess the difference is slight.
Anyway I’ll stick to that solution at the moment.
The github repository has been updated.