Long time Arduino synth maker (not with huge success), short term Mozzi user here. I've been reading around the
github.io for Mozzi trying to find answers for how HiFi works, but I can't seem to find any definitive answers. So far I've found:
HiFi "Doesn’t need a notch filter on the audio signal because the carrier
frequency is out of hearing range (STANDARD_PLUS also doesn’t need it)". This makes me think that the sample rate is pushed to 32 kHz for the system. But at the same time "
updateAudio() is where audio synthesis code should be placed. This runs on
average 16384 times per second, so code here needs to be lean." This seems to imply that the sample rate is always at 16 kHz, even if the carrier frequency of the PWM is doubled.
Does this mean that when running in Standard+ and HiFi that the audio buffer repeats a sample to double the carrier frequency but maintain the sample rate? Or is there something that I've missed entirely?