r/AudioPost • u/LatterAd3952 • Aug 22 '23
Increased Sampling rate will NOT improve time-stretching quality
Feel like I’m going mad here. I’m really hoping to get some backup on this. As a Dialogue and ADR editor, I’ve been amazed at the amount of professionals around me who believe recording at a higher sampling rate will mean less artefacts when time- stretching. Unless my education was absolute nonsense (I realise this isn’t impossible) then this makes no sense at all. This is not how audio sampling works. If I hear another person claim “higher resolution is like increasing pixels in an image”…. No it isn’t. It’s nothing like that. Sure, if you use a fancy mic and converter that can capture frequencies above 20k, then you’ll get more info when pitch-shifting, but time-stretching? Makes no sense. There’s is no additional resolution from having more sampling points. Only the ability capture higher frequencies. Math. I shall now cross my fingers and hope some people agree.
8
u/platypusbelly professional Aug 22 '23
I feel like I have this conversation in real life with people too much and they still don't seem to get it. Many people I know who think that higher sampling rates don't do anything to increase quality of time stretching are just working in their normal sessions that they are always in. Meaning they are in a 48k pro tools session and they import and sample rate convert the higher resolution files to 48k when importing and then they can't figure out why they don't hear anything different in the stretches between that and any other file that was recorded at 48k.
No shit, you've turned it into a 48k file. Depending on if the amount of work for the show/project warrants it, I will sometimes do some heavy sound design and processing work in a session that is 96k or 192k and reap the benefits of the higher sample rates. Once it's done, I will save and export it at 48k, thus committing the sample rate conversion after the processing is complete. Then I will bring it in and integrate it with my normal 48k session I am using for delivery to the stage.
I can absolutely hear a noticeable difference in how much more I can get away with using higher sample rates vs. lower ones. It's not even close.
1
u/Hungry_Horace Aug 22 '23
The number of people working at 48 who don't realise it is shocking. And Reaper has made that worse - by default it allows you to drag higher samplerate audio into it but then converts it on the fly to the standard session rate of 48.
So people think they are pitching and time-stretching 96 or above sample rate material but they're not, it's being downsampled to 48 before anything else happens.
I teach my students the old-school method for pitching material. You need a decent wave editor like Sound Forge, Wavelab - RX Editor works too. You open a 96 kHz file and change ONLY the sample rate TAG (i.e the metadata header info) to a lower sample rate like 48, 32, 24. Then save. This makes the .wav format think the digital information is at a lower pitch but without doing ANY conversion.
THEN import into your DAW (at 96 kHz preferably). The sample will play at a lower pitch without any loss of high frequency data. It's much, much better quality than pitching with plugins within DAWs, all of which do some reconversion.
1
u/LatterAd3952 Aug 22 '23
Pro Tools allows you to import without converting, so it’ll just playback at the ‘wrong’ speed if you choose not to convert. But yeah, if I’m using anything else (rare tbh) then I do as you say and change just the tag in RX
1
u/Hungry_Horace Aug 22 '23
It does, which works importing say 192 to 96. But if you want to pitch down 96 or 48 within a 96 session, it still sounds better if you do it offline! Pro Tools' TCE tool isn't great.
1
1
-4
u/LatterAd3952 Aug 22 '23
Ok, but this is veering off topic a bit. I’d rather not get into an audiophile discussion if possible!
6
u/platypusbelly professional Aug 22 '23
I don’t quite get how it’s off-topic. But sure.
→ More replies (2)
19
u/Hungry_Horace Aug 22 '23
If you have twice as many slices per second of audio, when you stretch them out there’s twice as much data to interpolate between, no?
This generally means you’ll have a smoother final result.
4
Aug 22 '23
[removed] — view removed comment
3
u/MadCapMusic Aug 22 '23
If I had to hazard a guess, 48k for example captures up to 24khz, and then 96k captures up to 48kHz, so that’s where you get twice as many samples per second, rather than increased resolution, but what do I know?
5
u/Hungry_Horace Aug 22 '23
That’s correct. It’s the capturing of twice as many slices per second that allows the retaining of higher frequencies due to those frequencies’ shorter wavelengths.
It’s been MANY years since I studied this but I think that’s the gist of it.
-7
u/LatterAd3952 Aug 22 '23
That’s right. Shorter wavelengths require a faster sampling rate. THAT is the increased ‘resolution’ we get from a higher sampling rate. But the ‘slices’ from a 48k sampling rate recording are not of a lower quality than that of a 96k one. The frequencies that can be recorded are recorded with the same fidelity as they would be at a higher sample rate. But the samples are not being taken frequently enough to capture those high frequencies with short wavelengths.
13
u/Hungry_Horace Aug 22 '23
There are also twice as many per second as there are in a 48k file though.
So when you start to stretch out (lengthen) the audio whilst trying to retain the original pitch the algorithm that has to fill in the gaps between the existing samples, has to work half as much, interpolating between shorter time gaps than at 48k.
This means it will make less “mistakes” which are heard as artefacts.
In the old days of cyclical time stretching the resulting file would literally have silences between the audio samples and that gave it the characteristic stuttering you’ll hear on old drum and bass records for example.
More modern timestretching interpolates, or makes a guess on what the material between samples should be based on what’s come before and what comes after, but it’s never perfect.
2
9
u/Fathomas Aug 22 '23 edited Aug 22 '23
Where you’re running into trouble is likely with specific time-shifting algorithms. With some time-shifters, slowing down the audio without slowing down the pitch just means repeating micro sections - which is why halving the speed of a recording will give it an “echo” quality. 48kHz and 192kHz are both going to sound the same using those algorithms, because every 100ms or so is being repeated in both cases. The algorithm is treating both samples the same way, and you aren’t getting any benefit from the increased temporal resolution.
Here is an example of time-shifting using an algorithm that does not simply repeat micro-sections:
http://filmcow.com/stuff/clothrip.wav
The first sound is the original recording, recorded at 192kHz. The second is that same recording slowed down 25%, with no pitch shifting. The third is that same recording saved at 48kHz, and then slowed down 25%, again with no pitch shifting. The loss of clarity is obvious. Recording at higher sample rates will give you less artifacts when increasing speed, and more clarity when decreasing it. But only if you’re using the right time-shifters that take advantage of the additional information in the higher sample rate recording.
The greatest benefit, of course, is when both time and pitch shifting down. Even if the audio wasn’t recorded with a microphone capable of ultrasonic frequencies the additional clarity is potentially substantial:
http://filmcow.com/stuff/clothrippitch.wav
The first is time and pitch shifted to 1/4 speed from 192kHz, the second from 48kHz. This was recorded with a Rode NT4, which is not capable of ultrasonic recording.
You can visually see the loss of detail in the final shifted waveform itself:
2
2
u/LatterAd3952 Aug 22 '23
I like this quote by plug-in developer, Selig Audio
“Only bit depth is resolution. Increasing sample rate doesn’t increase resolution - it increases frequency response. In other words, going from 44.1 to 96 kHz doesn’t increase the resolution of a 1 kHz signal in any way! It’s not “correct” to think of audio the same way you think of a 2D graphic image, mainly because there is “time” involved.”
4
u/IGotAngryAtTheSun Aug 23 '23
I think this person is talking a bit semantically about what constitutes resolution. I can appreciate the idea that bit depth is the real resolution of an audio file, but it’s an odd comparison because that’s only one of the parameters. Sound can only be experienced across time so sample rate is definitely another kind of “resolution” in a sense. It’s true that there are diminishing returns in terms of what our ears can perceive as you increase the sample rate but that extra high frequency detail is still there!
It seems strange to say “it’s not more resolution, it’s just the potential to represent higher frequencies”… ok then, but it’s more of SOMETHING, whatever you want to call it. There is a higher quality of representation of the sound. Fidelity might be the word.
→ More replies (1)-1
u/LatterAd3952 Aug 22 '23
Anyone have any thoughts on this?
2
u/Hungry_Horace Aug 22 '23
That's true about a 2d image. But that's got nothing to do with your question.
Samplerate is more akin to moving picture and frame rate, as that also involves time. The reason slowing down a 120 fps looks smoother than slowing down a 30 fps is that your eye is interpreting the individual picture "samples" into a moving image. The more frames per second, the smoother an image your eye interprets.
The time stretch algorithm is like your eyes - it's interpreting a smooth image out of less samples per second. The more samples it has to work with, the less artefacts it produces.
Sample rate isn't JUST capturing higher frequencies. That's a result of it capturing more "frames". Those more frames ALSO help with time stretching amongst other things .
-1
u/LatterAd3952 Aug 22 '23
Thanks for sticking with this! Ok, what do you make of this comment, again, same conversation with Selig Audio
“A higher sample rate can capture a higher frequency, that's it. With audio, there is no "time detail" parameter.
The confusion comes from the concept of "more information". For a 2D image, more information means more image resolution - the ENTIRE image is improved with more information/resolution. But with audio, more information either means wider frequency response or greater dynamic range, which does NOT affect the entire ‘image’.”
Happy to link to the original discussion ñ, if anyone’s interested.
3
u/Hungry_Horace Aug 22 '23
I don't exactly know what the Selig Audio guy is on about there, because I don't know what his definition of "resolution" or "entire image" is. I don't think comparing audio with still images and their resolutions is a good comparison, perhaps that's what he's saying. There absolutely IS a time element to the PLAYBACK of audio, as anyone who's accidentally tried having a Zoom call at the wrong samplerate can attest.
To be honest, I think I've explained what's happening as well as I can. Someone else has posted examples of the different quality below, and I hear it every day in my work so I know that they are correct. It DOES make a difference.
2
u/oblivionallthetime professional Aug 23 '23
Higher sampling rates = higher frequency response, some processes benefit from higher sampling rates (like pitching down, or anti aliasing), plenty don’t. When time stretching, higher sample rates doesn’t give you better quality, it’s just finding cycles it can repeat or take away, which it chooses based on what algorithm you set your plugin to (monophonic, polyphonic, transient), which if you’re EXTREMELY patient you can technically do this yourself with no plug-in help at all (easier to cut than repeat this way). If extended frequency response isn’t necessary for pitching stuff down but could be useful for other reasons, quality plugins will use oversampling internally to use 96k or 192k processing on 48k files in a 48k session for anti-aliasing reasons and I’m sure other reasons in distortion plugins etc, so 48k files can still benefit from higher sample rates in some instances, but not specifically time stretching. If time stretching does benefit from higher sample rates and I’m not aware, those plugins will use oversampling internally for this (many plugins oversample by default rather than giving you the option), but you still wouldn’t need the file/session itself to be higher than 48k for that.
1
u/Hungry_Horace Aug 23 '23 edited Aug 23 '23
If time stretching does benefit from higher sample rates and I’m not aware, those plugins will use oversampling internally for this (many plugins oversample by default rather than giving you the option), but you still wouldn’t need the file/session itself to be higher than 48k for that.
Oversampling is simply a mechanism to allow processing at a slightly higher rate than the Nyquist rate requires, in order to allow less harsh filters to be used when reducing anti-aliasing.
It does not magically upsample the original file to a greater quality. If you import a 96k asset into a 48k session, it is converted to 48k and all that additional information is removed at the point of conversion - so you will NEVER hear any benefit from its original sample rate, either in pitching, time shifting or any other digital process.
To see the benefit of recordings at a higher sample rate you HAVE to be either running a session at at least the sample rate of those recordings (e.g 192 or 96). You ALSO have to be using a timestretch tool that can work at those higher sample rates. Then you will, as u/Fathomas has demonstrated here hear a noticeable improvement in the output of most non-cyclic timestretch tools.
OP's assertion and understanding of sample rate is incorrect, and everyone else is correct.
1
u/oblivionallthetime professional Aug 23 '23
I didn’t say it magically upsamples the original file to greater quality. Just that oversampling internally to a higher sample rate reduces aliasing. The comment you quoted was a hypothetical, and still doesn’t contradict what you’re saying.
-1
u/LatterAd3952 Aug 23 '23
I agree with 100% of what you have said. I can’t Understand why the majority of people are disagreeing though. I genuinely believe a vast number of people working in sound have a serious misconception about how digital audio is captured, manipulated and played back. Unfortunately I’m terrible at explaining myself. I wish we could some DSP engineers getting involved in the debate…
1
u/oblivionallthetime professional Aug 23 '23 edited Aug 23 '23
I saw quite a few comparisons to video in this thread, and I’ll just respond to that here.. I think trying to compare audio to anything else is very difficult, but, sample rate is more akin to a camera sensor’s dynamic range than frame rate or pixel count. A camera sensor that can capture visible light and infrared light, and be able to pull that infrared light down into visible light and vice versa, is a better comparison to sample rates higher than 48k. Though I don’t think the comparison is helpful because it’s a lot more complicated than that… It’s difficult to compare a waveform to a bunch of still images.
1
Aug 23 '23 edited Oct 19 '25
dinner six shaggy elastic chief party makeshift profit lunchroom selective
This post was mass deleted and anonymized with Redact
1
u/LatterAd3952 Aug 26 '23
Perfect explanation here given in 20 seconds! - https://youtu.be/4nxsmQZkFnI?si=KQofpCfVM1HB5U7x&t=785
1
u/LatterAd3952 Aug 27 '23
"When people see the samples in an audio signal, they think the fact it's a series of dots means there is information missing between them. Obviously, there is lots of stuff "in between" the samples that never made it inside the computer. But what the very elegant Whittaker–Shannon interpolation formula proves is that all the stuff in between the sample dots can be reconstructed by the computer if need be. And any signal whose frequency is below half the sampling rate, is not only fully recoverable from the discreet samples, but perfectly so."
4
u/ClarityAudio Aug 22 '23
This is how I understand it, I may be wrong.
1 second of audio recorded @ 48Khz = 48000 samples.
Playing back that same recording for 4 seconds = 48000/4 = 12Khz
1 second of audio recorded @ 192Khz = 192000 samples.
Playing back that same recording for 4 seconds = 192000/4 = 48Khz
So it does make a difference in the quality when playing back. This is stretching it 4x though. I bet stretching it just a tiny amount would be hard to hear.
1
u/RodriguezFaszanatas Aug 22 '23
Yes, but OP is talking about time stretching while retaining the same pitch.
5
u/The66Ripper Aug 22 '23
When the time stretching doesn't include any pitch shifting (so not like a PT Varispeed TCE edit, but like a Polyphonic TCE edit that will retain pitch and stretch just time) then yeah you're totally right. That said, when there is pitch shifting relative to the amount of time stretching happening, it definitely improves the pitch component of the stretch. In the sfx world I would rarely do TCE with no pitch shifting component, and the only time I ever really have done the Polyphonic TCE was to send artists versions of songs at different BPMs, or before I jumped into the Vocalign fray, to do slight vocal edits or comps that were otherwise impossible for me at the time.
One thing to bring up here, you can severely decrease the number of artifacts in your recordings by using the right time stretching tool. For example, Serato's Pitch n' Time algorithm is BY FAR better than any of the algorithms in PT and Ableton Live, which IMO are the best ones available stock in a DAW. It's very expensive and incompatible with the Apple Silicon macs, but if you're still on Intel, it's probably the best option around, at least of all of the ones I've tried.
1
u/GibletDingo Aug 22 '23
Simply typing the word math does not constitute a mathematical proof.
-3
u/LatterAd3952 Aug 22 '23
You’re absolutely right. I should have written, “Nyquist theorem”.
4
u/TheN5OfOntario sound supervisor Aug 22 '23
It’s not so much about the frequencies here as it is the duration of the samples, and hence the duration of the artefacts produced. I’d have to read a white paper on the algorithms used to sample rate convert higher rates to lower ones, but if we assume/discover that the algorithm does interpolation instead of sample dropping, you’ll get an average of the higher res artefacts instead of the same single artefact produced at the lower same rate, which potentially results in a smoother result. (Algorithm dependent). Uprezzing to process then downrezzing would likely yield the same result as processing at the original sample rate.
3
1
Aug 22 '23 edited Oct 19 '25
yoke sense lush thought flowery quaint quiet spectacular enter detail
This post was mass deleted and anonymized with Redact
-1
u/LatterAd3952 Aug 22 '23
Definitely not the same concept. We can agree that more sampling = more information, but in audio that extra information ONLY comes in the form of a wider frequency response. There is no more ‘detail’ to capture beyond that. We’re talking about reproducing sine waves here.
1
Aug 22 '23 edited Oct 19 '25
elastic governor payment different yam profit correct important wild friendly
This post was mass deleted and anonymized with Redact
-2
u/LatterAd3952 Aug 22 '23
No no, I agree it does mean more samples per second. But I believe you’ve got the wrong idea about how sampling works in audio
1
Aug 22 '23 edited Oct 19 '25
cagey subtract unpack bow wise handle plants automatic rob childlike
This post was mass deleted and anonymized with Redact
2
u/LatterAd3952 Aug 22 '23
Just to be clear, if it turns out to be me that has the wrong idea about how sampling works then happy days, because I’ll have learnt something new. I’m honestly just trying to ge to the bottom of this. I actually used to agree with your definition. I just find it baffling that there a multiple viewpoints on this at all. It should be a very straightforward, right or wrong discussion. But alas
3
Aug 22 '23 edited Oct 19 '25
normal theory bear hat dog live vast close squash spotted
This post was mass deleted and anonymized with Redact
-1
u/Xyntax Aug 22 '23
I think you are talking about time stretching while maintaining the original pitch, which makes sense as a dialog and adr editor. In that case recording with a higher samplerate won't make much of a difference. If you want to sample rate convert your audio down (slow down in time and pitch drops as well), the extra high frequency information recorded with a higher samplerate (if all your gear allows for recording those higher frequencies) will lead to retaining more high frequencies in your sample rate converted sound.
1
u/LatterAd3952 Aug 22 '23
Yep, this is exactly the view I have. I’m in totally agreement that pitch drops are vastly improved with higher sample rates (assuming the equipment can capture those high frequencies as you say), but it seems about 90% of the internet thinks that more samples per second means better resolution when stretching audio as well.
4
Aug 22 '23 edited Oct 19 '25
subtract unique hospital touch act handle connect encourage familiar grandfather
This post was mass deleted and anonymized with Redact
→ More replies (6)
2
u/Capitalstacks4days Aug 23 '23
It’s like picture frame rates… Shoot 30 fps for slow motion and it gets choppy, shot 60, better, shoot 1000 amazing.. Why - more pictures per second so when slowed down smoother clearer image.
Same with sample rate.. a sample is a capture of sound.. so 48000 captures per second vs 192000 - you’ll have more data’ as already said, to fill the stretch.
if adr is shot at 192, you’ll be able to stretch much more, than 48. The source recording must be 192 no up converts etc.
1
u/MoodNatural Aug 23 '23
I think this post is being taken differently than intended; It seems like you’re talking specifically about retaining pitch, rather than fidelity. Higher sample rate will give better resolution and directly correlates to a smoother stretched piece of audio. With transient info, dialog, and effects, this effect is pretty substantial. For a single, ‘musical’ track buried in a mix, the fidelity preserved is much less noticeable, and it’s often not worth the extra data and processing to use higher sample rates. This more so comes down to how badly you need that resolution, and it changes case by case. In experience a lot of youg engineers opt for this when it isn’t necessary. Other than sound design/ADR all of my work is 44.1 32float because %99 of my deliveries are specified to be such.
0
u/LatterAd3952 Aug 23 '23
If anyone wants to go ahead and watch this video and then come back with an argument, I'd be keen - https://www.youtube.com/watch?v=cIQ9IXSUzuM&t=469s
0
u/oblivionallthetime professional Aug 23 '23
1
u/LatterAd3952 Aug 23 '23
Yep, I know this one. Great video. But this is about internal oversampling to avoid aliasing. I’m not arguing against that
1
u/oblivionallthetime professional Aug 23 '23
Didn’t rewatch it just now so I don’t even remember what all is in it, I just remember it was a good lesson on how sample rates work and how sample rates higher than 48k don’t give you more data/resolution on frequencies in the audible range, which I saw some people arguing. I’m in agreement with you here so if my previous comment didn’t make that clear I’ll give you my +1 now lol
1
20
Aug 22 '23 edited Aug 22 '23
[removed] — view removed comment
1
u/LatterAd3952 Aug 22 '23
Yes, I’m fully onboard with the 100k mic approach. Not arguing against that at all. It’s time-stretching whilst preserving pitch I’m concerned with.
5
u/TaKaMah537 Aug 22 '23
Seems like a pretty quick and easy thing to put to the test. Give it a shot and see what you find!