First post, by superfury
How high (in absolute percentage of the maximum output) can an input range be (from 0 to max voltage(the same for negative voltage)) before a overflow is occurring?
I have a nyquist low-pass filter on each sound channel (depending on the used samplerate given by SDL/SDL2) and a 18.2Hz high-pass filter on the final output (after summing and clipping all channels) before being sent to the rendering OS/DAC(using SDL/SDL2's sample-based sound rendering function).
Anyone? It's currently reducing the sound to become a range of (0.5*0.99999) of the 16-bit signed samples before passing it through the low-pass filter on each channel(clipping said channel after applying the low-pass filter to 16-bit range).
Said reduction of the volume will cause the sound to not clip yet.
How high can I go with this without it causing clipping using said filters?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io