Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8023

SDK • Re: Need help understanding why core1 audio pwm is affected by core0 display

$
0
0
What I mean by unstable is that the PWM generated on core1 seems to slow down or speed up depending on what is being displayed on core0.

The Bytebeat class evaluates a mathematical formula represented as a string and returns a result as an integer. This result allows me to modulate the duty cycle of the generated PWM and produce bytebeat.

I suspect that the formula evaluation is relatively heavy, but it’s odd that its performance is impacted by what core0 is doing. Isn’t core1 supposed to run independently?

Statistics: Posted by Sercurio — Wed Jun 04, 2025 10:05 pm



Viewing all articles
Browse latest Browse all 8023

Trending Articles