Consider below:
These are zoomed in sections of a saw wave crossing the 0. Grey is the filtered (low-passed) output
1 is the original (16/48)
2 is the original with twice the horizontal resolution (16/96)
3 is the original with twice the horizontal resolution and twice the vertical resolution (17/96)
When we upsample from 48kHz to 96kHz in a program like foobar2000, does each sample just get stretched to twice as wide, as illustrated in figure 2?
Usually samples don't go from 0 to + 1 to +2 to +3 on both the x and y axis at the same time in digital audio, like my stupid illustrations do (too late, I made 'em)
so let's say you have 0 10, 24, 44, 60 on sample 1, 2, 3, 4, and 5. If you double the amount of samples to 10, is foobar2000 going to interpolate the line of best fit and send 0, 6, 10, 19, 24, 35, 44, 54, 60, 68? Or will there be two 10s, two 24s, two 44s, and two 60s?
Also, when we convert 16 bit audio to 24 bit, are there only samples on 65,536 levels with large gaps between possible levels (with 0 = 0 and 65536=~16,700,000)??
Or does a bunch of interpolation (like above) end up happening?
These are zoomed in sections of a saw wave crossing the 0. Grey is the filtered (low-passed) output
1 is the original (16/48)
2 is the original with twice the horizontal resolution (16/96)
3 is the original with twice the horizontal resolution and twice the vertical resolution (17/96)
When we upsample from 48kHz to 96kHz in a program like foobar2000, does each sample just get stretched to twice as wide, as illustrated in figure 2?
Usually samples don't go from 0 to + 1 to +2 to +3 on both the x and y axis at the same time in digital audio, like my stupid illustrations do (too late, I made 'em)
so let's say you have 0 10, 24, 44, 60 on sample 1, 2, 3, 4, and 5. If you double the amount of samples to 10, is foobar2000 going to interpolate the line of best fit and send 0, 6, 10, 19, 24, 35, 44, 54, 60, 68? Or will there be two 10s, two 24s, two 44s, and two 60s?
Also, when we convert 16 bit audio to 24 bit, are there only samples on 65,536 levels with large gaps between possible levels (with 0 = 0 and 65536=~16,700,000)??
Or does a bunch of interpolation (like above) end up happening?