• ### How much is a signal aliasing?

Is there any way to measure or estimate how much an arbitrary signal is aliasing in PD? I'm thinking it might go something like [1] generate the signal at 16X oversampling, [2] perform an FFT, [3] figure out which bins are above the original 44.1khz Nyquist limit and add up all their...um...powers? amplitudes?...then [4] express that as a percentage of the total power/amplitude?

I'd also be interested to know if this question is complete nonsense!

• Posts 4 | Views 78
• seems like you could estimate by generating using 16x upsampling and then using a sharpish highpass filter at nyquist?

• @seb-harmonik.ar, thanks, I'll take that as evidence that my oversampling idea isn't completely bonkers . Then how would you measure the strength of the remaining signal, and how does that strength relate to the strength of the frequencies that would be reflected back into the audio spectrum?

• I guess you could use whatever time-domain rms or peak amplitude measurement you would use normally and compare both signals. then just divide the higher-than-nyquist volume by the total volume to see what ratio is going to be aliased.

for example if the volume of the would-be aliased part is 1 and the volume of the total signal is 2 then you know that 1/2 of the signal will be aliased

one thing to consider when using a highpass vs. using an fft is that the sine-wave components will have their phases changed by the filter, so the amplitude might not be reflective of the actual amplitude of the aliased signal (so maybe rms is better since it uses averages, so the phases won't matter as much I think).

if you want to measure using amplitude I guess it might be best to sum the FFT magnitudes of each bin and/or use some kind of spectral/FIR brickwall to separate the 2.. but rms might be a better measurement anyways

honestly idk that much about it & am just guessing maybe someone better at dsp will chime in..

Posts 4 | Views 78
Internal error.

Oops! Looks like something went wrong!