![]() |
Quote:
Quote:
Quote:
Quote:
Let's say our frequency resolution is 1hz/1second sample and we want to use specific detune amount. Now I can determinate the exact amount of saw waves that are needed to create all the possible different combinations of the waveform. You see putting a saw wave at 30.5hz does NOTHING, that putting one at 30hz second at 31hz etc. doesn't already accomplish. Except we are dealing with saw waves here so there is actually a difference with the upper harmonics. That's why I used 16khz, and not 30hz... Look at the FFT plot in the video I provided earlier. Once you have one sine wave at each of the FFT bins, generating more sine waves does nothing that can't be already done. That's the point... |
Correct me if I'm wrong here: but the number of points within a second is determined by our choice of sample rate, right?
so this would give us 44100 points a second, for example. If you divide this number by 30,5 you get 1445,9016393442623 points per cycle, right? While for 30Hz you'd have 1470 points. For 31Hz it would be 1445,9016393442623 points. Of course the problem is there's nothing but whole numbers in there. So you're saying that we need more time so that there's enough points to get to a whole number and thus completing a perfect cycle, I think. And I'm saying that the mere phase difference should be enough to distinguish these pitches even within such a short time frame. That the time duration of the cycles is enough to determine pitch with precision, provided there's at least one complete cycle (???). |
Quote:
Quote:
Quote:
What you are describing is simply that periodic signals in analog domain may not be periodic in the digital domain in the sense that the sample points would repeat themselves periodically as the analog wave does. To get around this some of the digital cycles are going to have more points, this is unimportant, because they will still fit into the one second window perfectly. However, this does mean we can't take a fourier transform of a 1.0000001 second signal, because the FFT size of 44100.1 samples does not exist. So there is that type of restriction with digital, which can be overcome with oversampling though. |
I thought that interpolation had become integrated with most audio applications by now, but I'm merely presenting a guess here - as I'm not and don't pretend to be an expert on such matters, at the time being we're sailing outside the waters that are most familiar to me, so keep that in mind.
Your last sentence kind of confirms what I was trying to say with the point numbers, I can picture a scenario where a perfectly contoured waveform in analogue wouldn't translate well in digital due to it not being aligned with the points and where that signal would happen to translate into that grid - this is interesting and honestly haven't thought much about it just yet. No developer here either, but it feels like some algorithm could be implemented to make a good guess based on some results. Meaning, that the estimative could be almost spot on based on the behaviour of the wave at certain points. Always thought that was what interpolation means and does to the waveform. But I'm guessing efforts in that are made to work within a minor error margin, but we're never talking about absolute precision here, just not so good guesses and better guesses - and we still have to factor further latency introduced by the processing of this somehow, I guess. |
Quote:
Quote:
Anyway, oversampling or in other words interpolation with sinc function (also goes by the name of low pass filter) gives you more points along the analog signal - well extremely close anyway (analog filters are usually worse than digital ones, and won't be linear phase). But once again, oversampling affects the frequency domain so that higher frequencies can be produced, the frequency resolution remains the same. Only way to increase frequency resolution is to have a longer signal. If you want to know how the analog signal is constructed from digital check: http://lavryengineering.com/pdfs/lav...ing-theory.pdf |
While we're at it, check this out:
http://www.gearslutz.com/board/maste...hoes-past.html This is a very interesting thread where developers are going about minimum versus linear phase EQ and go about many interesting things, certainly worth a read. |
All times are GMT. The time now is 02:12 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2002-2022, Infekted.org