[LAU] Rolling off high frequencies when mastering?

Arnold Krille arnold at arnoldarts.de
Wed Apr 21 22:19:27 UTC 2010


On Wednesday 21 April 2010 23:02:19 Arnold Krille wrote:
> Okay, the answers teach me that this is wrong. I didn't yet think about
>  this as in-depth as I should have before writing that.

I did some thinking...

Attached is a small python script that generates some sinus data at 0.5, 0.49 
and 0.25 the sampling rate, phase shifted pi/2 to the sampling clock. But the 
phase shift can be adapted in the first lines.
Then it does fft on these. While the nyquist frequency shows up as amplitude 0 
(for phase = pi/2) and 2 (for phase 0), the others remain at amplitude 1 no 
matter what the phase is.
Sounds strange, especially when you see the perceived amplitude-modulation for 
f=0.49, but in the end its up to the analog filters to create a smaller than 
nyquist frequency sinus from the steps returned by the dac...

It is also clear, why f=0.5, phase=0 shows an amplitude of 2: All the 
frequencies are endlessly mirrored to the left and right. And at f = 
0.5*samplingrate, the mirror and the original are the same.

So sorry for the fuss I tried to spread. Should have done this little exercise 
earlier.

Have fun,

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samplingtest.py
Type: text/x-python
Size: 613 bytes
Desc: not available
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20100422/e29c4ff1/attachment.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20100422/e29c4ff1/attachment.pgp 


More information about the Linux-audio-user mailing list