44100 vs higher samplerates

Found a bug? Post it here.
Post Reply
User avatar
leondustar
Posts: 78
Joined: Tue Feb 28, 2017 12:40 am
Contact:

44100 vs higher samplerates

Post by leondustar » Thu Sep 17, 2020 7:20 pm

Ok, so I'm not sure whether this a bug or a feature.
I know that less-is-more, but I didn't expect it with samplerates :)

For some reason, I felt my sunvox WAV-exports contained slightly less high frequencies when samplerate (in preferences) is set to 48000 and higher.
I might be fooling myself here, but it really seems that during realtime sunvox-playback (F10) these high frequencies from a wav-sample ARE there :D
I tried comparing an original WAV-sample (from a samplepack) vs an exported WAV (played by sampler in sunvox).
These frequencies only disappear during export to WAV (I tried sampling the output using a sampler, and save that WAV, but result was the same).

Here's a frequency analysis of a hihat WAV-sample, played by the sampler-module with samplerate (in preferences) set to 44100 (A) and set to 96000 (B):
freqs.PNG
freqs.PNG (61.89 KiB) Viewed 242 times
I tried all Sampler interpolation-types of the sampler and/or 16/32bit exports, but it did not re-introduce the high frequencies.
Maybe the real test should be with a whitenoise wav?

Any idea?
Again, it could be that my ears are fooling me, in combination with a volume- or measurement-error :)

User avatar
AutumnCheney
Posts: 137
Joined: Sun Dec 29, 2019 8:16 am
Location: durant, ok, usa
Contact:

Re: 44100 vs higher samplerates

Post by AutumnCheney » Thu Sep 17, 2020 10:48 pm

correct me if i'm wrong, but those higher frequencies at the sample rate of 44100 are actually the frequencies reflecting at the nyquist frequency (22050 hz)

at 96000, there wouldn't be any reflections until 48000 hz, hence the lack of reflections at the 22500 hz area. the lack of high frequencies at that area are probably from a brickwall filter on the sample, which presumably was encoded at 44100

here's a helpful explanation of this phenomenon: https://en.wikipedia.org/wiki/Nyquist_f ... _frequency
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
leondustar
Posts: 78
Joined: Tue Feb 28, 2017 12:40 am
Contact:

Re: 44100 vs higher samplerates

Post by leondustar » Fri Sep 18, 2020 5:53 pm

good point. I also noticed that I didn't check what the original samplerate of the hihat was...that might also play a part since I expect the sampler also does some resampling in the background (to deal with pitchchanges etc).

Post Reply