|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
|
#1
|
|||
|
|||
Sampling Theorem/Nyquist
Hi,
I know this is random, but I am taking online courses for my bachelors in music production. Since I am online, reaching my teachers on weekends isn't the easiest achievement, so I figured I would post on here to see if anyone would be able to help me with my question, since google and wiki hasn't been much help. My question is regarding the sampling/Nyquist theorem. Our teacher had us take 2 files with the same bit depth (16b) and same sample rate (44.1kHz) (file 1 is 2.6MB/ 11 seconds and file 2 is 2.1 MB/ 14 seconds) and reduce both to 16 bit 22.05 kHz (file 1 reduced to 1.3 MB and file 2 is reduced to 1.1 MB) and we have to explain, based on what we have been taught about the sampling theorem, which file is less adversely affected. Well from what I have been taught I know that the sample rate is twice the frequency and if there is a frequency above the Nyquist frequency, that is called the alias. So I'm not understanding what it is that I am looking for to explain why one was more affected than the other, besides the fact of my opinion of the sound quality. Is it based on the file size reduction or the file duration? Any info on this or a point in the right direction would be VERY helpful! -Nate |
#2
|
||||
|
||||
Re: Sampling Theorem/Nyquist
Quote:
First off, there's something fishy about the file sizes. If they are both 44.1/16, then the 14 sec file should be bigger. After sample-rate converting to 22.05 kHz., the new Nyquist is 11.025 kHz. The anti-aliasing filter should have removed any content above that so the file that originally had more content above 11.025 kHz is the one that is more adversely affected. So, what tones or content is in the two files?
__________________
James Cadwallader Mac Studio, 64GB RAM, 1 TB SSD, Glyph 2TB USB3 HDD, OWC drive dock, Mac OS Monterey 12.6.8 Pro Tools Ultimate 2023.9, HD Native, Focusrite Red 8Pre Presonus Faderport, Pro Tools | Control |
#3
|
|||
|
|||
Re: Sampling Theorem/Nyquist
You've probably seen this comment all over these forums before but we need a lot more information to help people out e.g. see Help us Help You - READ THIS Before Posting!. In this case we would settle for your school, student number, and lecturer/instructor email address.
-- Seriously while you should really do this yourself I hope this question actually came with a bit more explanation including file encoding assumptions etc... Darryl |
#4
|
|||
|
|||
Re: Sampling Theorem/Nyquist
@Jimmy
So it has nothing to do with the numbers per say, it's the loss of the distinct sound? See that's what I'm not getting, I can hear the difference and which one has lost it's quality worse than the other, but how does the theory prove it if both files were exported to the same bit depth and sample rate? @Daryl Sorry but I am not handing out my student number, I go to full sail university if that helps. Here is a bit more depth: 1) he gave us 2 test files (both 16 bit depth @ 44.1 kHz) File 1 is 2.6 MB, file 2 is 2.1MB 2) import them into pro tools 3) 1st export: file 1 to 16 bit depth @ 22.05 kHz (rain, 2 birds chirping) (file 1 becomes 1.3 MB and 2 becomes 1.1 MB) 3a) describe the size and quality compared to original 4) 2nd export: file 1 to 16 bit depth @ 11.025 kHz (file 1 is 643 KB, 2 is 532 KB) 4a) describe file compared to original 5) Do previous steps to file 2 (bass, kick, snare beat) 6) "Which file was less adversely affected by sample rate reduction, 01_Test.wav or 02_Test.wav?" 7) "Based on what you know of the sampling theorem, why should this be so?" 8)Then we repeat this process but changing the bit depth to 8 instead of 16 So based on the theorem, from my understanding, quality is determined from the bit depth and sample rate, alais, alias filter, and Nyquist frequency. So how do I prove why one is better than the other when they are set at the same depth and frequency? I'm sorry if it seems like I am trying to have this all spoon fed to me, but I have been reading on this theorem for 3 days now and I just can't pull this solution from anything I have read. -Nate |
#5
|
|||
|
|||
Re: Sampling Theorem/Nyquist
If I play this game can I get course credits? (not sure if you will however for crowd sourcing your assignment questions). But anyhow...
Can you post the files online _exactly_ as they were originally given to you. Don't convert or re-encode them on a music file sharing service. Drop them on dropbox or similar. I want to see how the files were encoded since you are not telling us - and they can't both be PCM or any other uncompressed data. Can you post the exact text of the question i.e. exactly verbatim with any and all other information you were given about the files. Darryl |
#6
|
||||
|
||||
Re: Sampling Theorem/Nyquist
Quote:
He also described what's in the files. One is rain and birds twittering. The other is bass, kick and snare. The answer is obvious. Which one of those sources will lose more in a rate conversion to 22.05 and why? This kid already has enough information. He needs to step out and intuit the answer.
__________________
James Cadwallader Mac Studio, 64GB RAM, 1 TB SSD, Glyph 2TB USB3 HDD, OWC drive dock, Mac OS Monterey 12.6.8 Pro Tools Ultimate 2023.9, HD Native, Focusrite Red 8Pre Presonus Faderport, Pro Tools | Control |
#7
|
|||
|
|||
Re: Sampling Theorem/Nyquist
How do I have the answer that is what I don't get. Am I reading too much into this? Is it because of the file size reduction? You have to realize I am only into this degree by 3 months and the second week into this class. Before Friday I have never heard of this theorem.
|
#8
|
|||
|
|||
Re: Sampling Theorem/Nyquist
Quote:
Darryl |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sample Rates (Nyquist) | filosofem | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) | 9 | 10-25-2005 06:31 AM |
Nyquist Filters on PT hardware | schpazboy | General Discussion | 0 | 01-20-2004 01:25 PM |
Sampling With PT | hookiefree | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) | 6 | 08-26-2003 03:02 PM |
OT.. Phrase sampling and sampling. What are the differences? | Jayson Torres | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) | 1 | 03-31-2003 01:24 PM |
Sampling | Thomas Chiu | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 5 | 08-21-2001 07:11 PM |