After writing the common programs for LED blinking, fading etc,
i started porting my Envelope Generator to my new developing platform.
I used the two built in 12bit DACs to generate the CVs. The update rate is 1ms.
This envelope is triggerd by one Gate signal and the attack Rate is controlled by the NoteOn velocity.
The LFOs are DDS based implementations with 12Bit resolution and a tablesize of 256 elements.
Generating the two EGs lasts 2µs with no compiler optimizations -O0
With full optimization -O3 it’s only 1 µs