eh2k / squares-and-circles

squares-and-circles is an alternate firmware for the Eurorack module O_C, targeting Teensy 4.
https://eh2k.github.io/□●/
167 stars 12 forks source link

Buffer underrun - 4 oscillator engines #50

Open eh2k opened 1 year ago

eh2k commented 1 year ago

Hello, Tried to play 4 oscillator engines at the same time and the module doesn't seem to like it very much. Having 2 is fine, 3 is almost critical and some sort of digital artefacts start to appear. To be clear I'm talking here about the MI implementations.

Also pitch was a bit glitchy and getting out of control every now and then. I was sending a mix of envelopes being sampled and held by the intellijel shifty, for context.

Originally posted by @lancerotti in https://github.com/eh2k/squares-and-circles/issues/1#issuecomment-1674067114

Hello @lancerotti,

Thank you for your hint.

At the moment, different engines need different amounts of CPU. Depending on the combination, it may well be that there is not enough time to calculate a frame.

Can you please tell me the exact engines you are using? It is quite possible that something could be optimised. For example, the plaits engines are currently running in stereo (out+aux) although only one channel is actually output.

lancerotti commented 1 year ago

Hi @eh2k

thanks for the quick feedback.

I was trying out a configuration with 4 plaits in mono, so each one of them would be routed to each of the outputs. It was a greedy moment ;-)

I kinda wanted to see where the limits are for this module.

I'm actually giving a better go today in daylight instead of during the night yesterday and with 4 different plaits algorithms (virt analog, waveshaping, FM and grain) it seems to be working fine. Maybe mixing in some of the more complex waveforms from plaits took me by surprise yesterday.

Apologies, I was certainly a bit too quick in my conclusions. Nicola