5 votes
Accepted

WAV files sound high pitched - how do I bulk fix the sample rate in the metadata?

Nevermind, I found something. The command line tool sox seems to do the trick: find . -name '*.wav' | xargs -I {} basename {} .wav | xargs -I {} sox -r 44100 {}.wav {}.edited.wav find . -name '*....
Pieter's user avatar
  • 403
4 votes

Is there any tradeoff to get the best quality/file size ratio for mp3 conversion?

To get the best audio quality in your final lossy-eccoded audio file output at the smallest possible file size, you have to do 3 steps: sample rate convert from 96kHz to 44.1kHz, because the lossy ...
Simon White's user avatar
4 votes
Accepted

Converting from float 32 PCM to signed 16 PCM. Does it matter if I resample before or after the bit depth conversion?

I think the way you currently have the pipeline set-up is the right way to do it. Conversion should be the last block in the chain for sure as this will ensure that any processing artifacts are ...
Mark's user avatar
  • 8,815
3 votes
Accepted

Bit depth calculation doesn't seem to add up

It's an MP3 file. You can't deduce anything from that other than the fact that it's probably got a bit depth of 16 bits. Try the same exercise but using a WAV file. You will have better luck. MP3 is a ...
Mark's user avatar
  • 8,815
3 votes

Mixing audio with different sample rates

You will only get benefit from sampling to the next highest sampling rate you are able to mix at. For instance, if you have a 32kHz stream and a 48kHz stream, resample the 32kHz stream to 48kHz. You ...
Mark's user avatar
  • 8,815
3 votes
Accepted

44100 Hz encoded in 24bit vs 16bit

It seems that as defined by the CDDA Red Book, CD quality is 16 bit with a maximum sample rate of 44.1 kHz. I understand 44.1kHz was chosen due to human hearing limitations so I assume 16 bit was ...
Hobbes's user avatar
  • 1,578
3 votes
Accepted

Is it possible to record higher frequencies using multiple microphones sampling in lockstep?

frequencies above what microphone allows Microphones have a frequency response curve. This is a random example: The exact shape of the diagram is different for each microphone, but they all have ...
Hobbes's user avatar
  • 1,578
3 votes
Accepted

What is the real time from sample number?

OK you are getting confused between frames as in "SMPTE" frames and audio buffers. The frames you are referring to are actually buffers. They are not 'vision' frames. 25fps refers to vision frames. ...
Mark's user avatar
  • 8,815
3 votes
Accepted

How to get number of Frames(or Samples) per sec or ms in a audio (.wav or .mp3) file?

The bit depth in your case is 16. It refers to how large each sample is, so if you have a 16 bit value for each sample, that is your bit depth. Bit rate is a measure of data per second (as I think ...
Igid's user avatar
  • 293
3 votes
Accepted

What sample rates can an MP3 file have?

If this wikipedia page is to be believed, what you call mp3 and is actually a MPEG-1 audio layer 3 encoded audio file only supports three sample rates : 32 kHz 44.1 kHz 48 kHz EDIT As @PkP has ...
audionuma's user avatar
  • 2,834
2 votes

How to convert a stereo MP3 to mono MP3

On Linux systems like Ubuntu, you can use ffmpeg: ffmpeg -i input.mp3 -c:a libmp3lame -q:a 2 -ac 1 output.mp3 where: -c:a libmp3lame: The audio codec to use -q:a 2: The audio quality (bitrate), see ...
Martin Thoma's user avatar
2 votes

Pitch-Shifting makes sample sound out of tune

I am no expert, but could your guitar have been tuned to Just temperament, instead of Equal temperament? Correct me if I am wrong, but if one tunes the guitar by the ear, it does not necessarily ...
Mikko Sundman's user avatar
2 votes

Reasamplomatic5000 Change Pitch Without Changing Tempo

Firstly it's nice to see someone making use of RS5000! Sadly, though, it works in the same way as most samplers in that it achieves the pitch changes simply by playing back the sample data at ...
EmptyVessel's user avatar
2 votes

What is Tidal's 'Master' Quality sample rate and bit depth?

Fi: 44.1khz/16bit (1411kbps) Master: 96khz/24bit (4608kbps) Pitchfork Article Note that only ~30,000 tracks are MASTER quality right now You can tell that Master is available by the M symbol and ...
neaumusic's user avatar
  • 292
2 votes

MP3 and bitrate

Your assumption that bitrate = bitdepth * channels * samplerate is true for raw PCM encoded audio. It is not true for bitrate reduction encodings, be it lossless (as flac) or lossy (as mp3). The ...
audionuma's user avatar
  • 2,834
2 votes

Is 96kHz sampling rate becoming standard for high quality audio?

There are several reasons for sampling with 96kHz: this allows for more natural results when doing non-linear processing (all kinds of distortion, modulation, pitch shifting) since that causes ...
user21020's user avatar
2 votes

What frequency / quality for voice clips?

Let's start with sound quality. Where are you setting the bar? Do your audio clips need to be simply clear and understandable, or do you want them to sound like a Hollywood voiceover? If it's the ...
Kurt Gibson's user avatar
2 votes
Accepted

What's the lowest analog audio sound that a CD/44.1kHz audio system can make?

You can encode any frequency down to 0 Hertz (DC signal) in the digital signal. Most real-world recording and playback systems will not go this low unless you modify them in some way. The frequency ...
ghellquist's user avatar
  • 1,519
1 vote

How do I check sound card's bit resolution and sampling rate on Linux?

This might depend on which distro you use, so you might need to tweak these commands somewhat. If you look in /proc/asound and do a ls -alh in this directory, you should see a list of cards named ...
bjelleklang's user avatar
1 vote

44100 Hz encoded in 24bit vs 16bit

The theory around sampling contains quite a bit of mathematics. Leaving that aside, let us look att the practical aspects of your questions. In practice, today, there are only two effects of sample ...
ghellquist's user avatar
  • 1,519
1 vote
Accepted

What should be the bit-rate & sample-rate settings, if I were to convert a WebM audio file to MP3?

The audio is encoded using opus, which is a high quality codec. When decoding from Opus, you will likely want to go via PCM - 16 bit at 48000. The more significant parameter with mp3 encoding will be ...
Mark's user avatar
  • 8,815
1 vote

How to Reduce Latency with ASIO driver?

Hello joshuaronis and welcome to Sound Design SE. Your problem is related to the drivers of your sound card as well as to the capabilities your computer has. Reading the thread from the link you ...
ZaellixA's user avatar
  • 339
1 vote

Why does increasing the sample rate with SoundForge make the pitch go way up?

All you are doing here is changing the project sampling rate. Remember, all the audio files you are using will remain at their original sampling rate. It's not clear exactly what the original sampling ...
Mark's user avatar
  • 8,815
1 vote

What frequency / quality for voice clips?

Record PCM WAV at 48kHz. 16 Bit resolution is fine, although 24 bit is better if you are able. Mono is fine. The accepted convention for film/tv work is to record at 48kHz. For dialogue there is no ...
Mark's user avatar
  • 8,815
1 vote
Accepted

Is it possible to fake decimation with FM?

(This question intrigued me, so I though I'd try it out for myself and write a full explanative answer) Phase modulation is often used as a step in the process of frequency modulation, so they are ...
n00dles's user avatar
  • 2,516
1 vote

Audio recording at wrong speed

You can use ffmpeg or audacity to do this. Both are free. In Audacity, use Effect > Change Tempo... or Effect > Sliding Time Scale / Pitch Shift
Rory Alsop's user avatar
  • 5,953
1 vote

How can I sync audio and video from a different source?

If you didn't use a clapper when you filmed, then you need to find something in the filmed portion where you can see something happen that causes a percussive sound that was recorded. A drummer ...
Todd Wilcox's user avatar
  • 2,200
1 vote
Accepted

How is compression quality related to sample rate?

It has nothing to do with the Nyquist frequency, because you correctly state that there is no significant energy above 20 kHz, and we wouldn't be able to hear that anyway. If you over-sample a ...
user2235980's user avatar
1 vote

How is compression quality related to sample rate?

basically if the sound you have recorded is across the sound spectrum as a whole then that would translate to the sample rate.so fuller sound more possibilities of compression without disturbing the ...
Nithin Ganpati's user avatar
1 vote

How do I correctly slow down the track to compensate for wrong sampling rate?

So, if you have ripped a CD (originally 44.1kHz) but now have 48kHz WAV files where the pitch and speed are higher, you do not need to resample the audio. You only need to rewrite the sampling rate ...
Mark's user avatar
  • 8,815

Only top scored, non community-wiki answers of a minimum length are eligible