Questions tagged [wav]

WAV (or WAVE), short form for Waveform audio format, is a standard format audio file from Microsoft and IBM for storing audio on PCs.

Filter by
Sorted by
Tagged with
54
votes
7answers
4k views

How do I check if a 2-track WAV file is “really” in stereo?

I have an audio file (WAV format to be specific). When I open it with an editor (e.g. audacity), I see two channels I suspect that the recording is actually mono rather than audio, i.e. I suspect the ...
0
votes
0answers
15 views

Stereo .wav into another .wav with two mono channels in one stream

The wording is very specific, which is why this guide that I found didn't help me. I use a program called SDR# (also called SDRSharp). It lets you tune into many types of radio signals using a ...
0
votes
1answer
49 views

Windows sounds play from a selection at random

So I'm trying to figure out how to play from my selection of .wav files for a single notification on windows sounds. Windows will only accept .wav but it needs to be at random from my folder. I was ...
0
votes
0answers
22 views

Linux normalize program wavegain vs sox? Gain, Peak, Scale

I've try normalize wav audio with sox and wavegain. vidas@suse:/home/Audio> wavegain original.wav wavegainFromOriginal.wav vidas@suse:/home/Audio> sox --norm original.wav soxFromOriginal.wav ...
2
votes
1answer
56 views

Auto Batch Process - Trim, change bit rate and then normalize wav files via sox on Windows

I would like to batch process wav files in a folder: Firstly trimming the files to 5secs and placing the trimmed files in a folder called "Trim5s", then Changing the bit rate on the trimmed ...
0
votes
0answers
22 views

Goldwave : create a new 24bit wav - possible?

In Goldwave (v6.50, 2020), it is possible to open a PCM signed 24 bit wav file. But it looks it is not possible to create a new (empty) wav file with PCM signed 24 bit wav file. I can't find an ...
1
vote
0answers
105 views

How do I mass-modify the bit rate of WAV files?

I have about 200-250 WAV files that I need to work with in Unreal Editor for a game mod. The editor wouldn't accept WAV files with a bit rate higher than 768 kbps. Annoyingly, the WAV files are mostly ...
0
votes
0answers
68 views

FFMPEG: Is it possible to keep loop and cue data when removing silence from the beginning of an audio file

I am trying to remove silence from the beginning of a bunch of audio files (WAV format). These files have loop information and a cue marker. Audio file in oceanaudio The command: ffmpeg -i in.wav -af ...
2
votes
1answer
24 views

Wave file numerical metadata

Why is all the numerical metadata not stored as ASCII characters? For example, to find the sampling rate, which starts at byte 24, you have to read four bytes and the perform some endian swaps and bit ...
0
votes
1answer
359 views

WebM With a Still Image and an Audio

How can I join together a cover and a music into WebM with the best audio quality using ffmpeg? I really can't figure it out.
0
votes
2answers
122 views

Sox: Read wav and get pulse as 1 and silence as 0 and the duration of it in microseconds

The title of this question is already very clear I quess. I want to read a wav file and get pulses as 1 and silence as 0 and the duration of it in microseconds. The reason is this, I have recorded a ...
0
votes
1answer
29 views

Why does piped FFMPEG output differ from an explicit file?

The following creates files that have very slightly different toplevel definitions. Why? $ ffmpeg -f lavfi -i "sine=frequency=1000:duration=1" infile.mp3 $ ffmpeg -i infile.mp3 -f wav - > piped....
0
votes
1answer
362 views

ffmpeg Add audio (wav) to video (mp4) without reencoding video

I was just wondering how to add audio while keeping the pre-existing audio on the video intact: I have done some research and it seems there was a similar question here: Add audio to video using ...
0
votes
0answers
314 views

In FFmpeg .wav to .wav conversion Header files are not matching

By using below command changing the channel map but after successful run input wav file header is not matching with an output ffmpeg -i in.wav -af "channelmap=13|14|15|0|1|2|3|4|5|6|7|8|9|10|11|12" ...
2
votes
1answer
737 views

“ffmpeg -ss” supported formats for accurate seeking? mp3 does not appear to work, only .wav

ffmpeg -ss 00:00:00 -i 'input.mp3' -to 00:25:00 -c copy output.mp3 I noticed while scripting that this particular script that it works for mp3 files but not for .wav files. What happens is it copies (...
1
vote
0answers
565 views

ffmpeg - How to prevent innacurate duration when converting from pcm to wav?

I have the following command: ffmpeg -f f32le -ar 44100 -channels 2 -i input.pcm -y -acodec pcm_s16le -f wav output.wav input.pcm is the pcm data that comes from a 2 seconds wav file. However, when ...
1
vote
1answer
3k views

How to encode into WAV ADPCM?

How to encode WAV PCM into WAV with ADPCM encoding? I tried FFmpeg. I can see from the old FFmpeg codec list, that it previously supported encoding into adpcm_adx, adpcm_ima_qt, adpcm_ima_wav, ...
0
votes
1answer
23 views

R language issue with mp32wav

A stupid question. I'm trying this bioacoustic example but get troubled when trying to convert the downloaded files from mp3 to wav. I get the famous "Cannot allocate vector of size..." or R simply ...
0
votes
1answer
5k views

How to convert raw PCM data to a valid WAV file with ffmpeg?

I run this command: ffmpeg -f f32le -i pipe:0 -f wav pipe:1 ffmpeg version 4.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 10.0.0 (...
0
votes
1answer
44 views

Low conversion quality using ffmpeg to merge audio and video

This is what I'm using to merge audio and video in my C# Win From Application and it works fine, but the video bit rate is very low. I'd like to keep the bit rate as it was for the original video, how ...
-2
votes
1answer
510 views

How can I break the WAV file into multiple WAV files each containing one word [closed]

I have a WAV file of a human reading simple sentences ("hello world"). How can I break the WAV file into multiple WAV files each containing one word ("hello" and "world") by automatically recognizing ...
0
votes
1answer
978 views

How to convert mp3 to wav without losing metadata?

How can I convert an mp3 file to wav without losing metadata in ffmpeg? This happens whether I convert from mp3 or if I'm re-encoding a wav file, it doesn't make a difference. I tried adding -...
0
votes
0answers
2k views

Extracting metadata from wav files

I was curious if there is a way to extract metadata from wav files. For instance, can you get bpm, key, instrument, etc. from a .wav file on upload?
1
vote
1answer
273 views

Concatenate and loop MP3 files

I want to concatenate and loop 3 MP3 files. grammaraudio1.mp3 grammaraudio2.mp3 grammarsudio3.mp3 The output file must loop the first MP3 file five times, then the second one 5 times, etc. Can I ...
8
votes
1answer
12k views

FFmpeg - convert WebM/Opus to WAV or FLAC in single step?

I want to create WAV and FLAC audio files from WebM files with Opus audio streams, and I want to do so without further degrading the audio. I am currently using a 2-step process as follows (WAV ...
4
votes
4answers
2k views

What is the loudest sound that can be stored in a .wav file?

Is there a limit on how loud an audio file can be? There probably is a limit to stop people from breaking their ears, but I don't know what it is.
3
votes
1answer
2k views

How to view the periodogram or FFT of a WAV file in Audacity?

I’m trying to visualize the periodogram (or the Fourier transform (FFT)) of a WAV file (not a spectrogram produced by a sliding window). Is it possible to do this using Audacity?
2
votes
1answer
851 views

FFmpeg concat demuxer is changing bitrate

I am using the concat demuxer to concat some wav files. ffmpeg -safe 0 concat -i files.txt -c copy output.wav files.txt stores files as: file 'C:\Users\folderpath\input1.wav' file 'C:\Users\...
4
votes
1answer
1k views

arecord: Create large (7 days) audio recording

For a scientific experiment, we're trying to create a large (7 day) audio recording using arecord from alsa on a RasPi using a USB microphone. The pipeline for the recording is as follows: arecord -f ...
0
votes
1answer
72 views

Is it possible to use Audacity as a simple sample editor?

It's a weird question but here's my workflow. I want to be able to open a WAV file from other DAWs, like Ableton or Reason in Audacity. Apply some effects and maybe do some slicing, then get the ...
0
votes
0answers
133 views

route live audio output to live .wav file

i found this nice visualisation program: https://www.youtube.com/watch?v=VVrf89SXvTM i really like it, but it can only play *.wav files in the same folder as the program executable is. but i want to ...
3
votes
1answer
1k views

shntool splits .wav files at the wrong split points

I am on Ubuntu 16.04 LTS, and I am using the most recent version of the Oh My ZSH shell. I am using shntool (specifically shnsplit) from the terminal to split .wav files for albums into separate ...
1
vote
1answer
2k views

How can I delete .wav metadata without changing any of its features?

I have to delete additional info from .wav header so it can be processed by another program. After some search I have tried to use ffmpeg, for example: ffmpeg -y -i $filename -map_metadata -1 -codec ...
0
votes
2answers
2k views

Lossless conversion from wav 24bits to flac

Is it possible to have a lossless conversion from a wav file Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32, 1152 kb/s to a wav file ? I tried using ffmpeg : ffmpeg -...
2
votes
1answer
758 views

Is it possible to trigger a script when a .wav audio file is played?

At work we have this software that monitors our door system, we want to run a script each time someone enters the office. One thing it can do is play .wav files. We would want to run a different ...
-3
votes
4answers
7k views

Which audio format truly has the best sound quality? [closed]

I've been to every website, and I've heard again and again that FLAC (Free Lossless Audio Codec) has the best sound quality AND it compresses the file. But I'm wondering if there is a format with ...
0
votes
2answers
779 views

How to generate a time dependent frequency wave?

I want to create a sound whose frequency is time-dependent, let's say that the frequency of time ms is timeHz, hence in 20 s you have all the audible frequencies. Just as an example, with ffmpeg you ...
8
votes
3answers
81k views

How can I record audio to wav format?

When I use Voice Recorder, it always saves it as a .m4a, but I need the file as a .wav. I know it is possible using Sound Recorder in Windows 7, but Windows 10 seems to use a different program. Is ...
0
votes
1answer
815 views

How can I convert this RIFF WAVE .bin file?

I'm trying to extract some audio from a program, and I've got as far as getting a .bin file. When I open this file with a hex editor, the first line is RIFF ÷! WAVEfmt 4. I've done some research, and ...
1
vote
2answers
10k views

Quality of wav files using youtube-dl

I'm trying to download music from YouTube site using youtube-dl with the best quality possible. So I've tried to download as a WAV file with this command: youtube-dl -ci -f 'bestvideo[ext=mp4]+...
0
votes
0answers
284 views

WAV Audio File Repair with Audacity: Increase Speed and Remove Repeated Gaps

I have a corrupt mono wav file: 16 bit PCM 44100Hz - mono. It is a recording of 2 voices. Voice 1 can be heard if the speed is increased by 5 times exactly. Voice 2 is heard if the "gaps" / silences ...
1
vote
1answer
2k views

ffmpeg Audio Conversion m4a to wav - file size bloat

While converting audio files from *.m4a to *.wav using ffmpeg (and other audio converters - I've tried a few and cannot remember but they were worse) the file size increases by a lot (10x). original ...
6
votes
1answer
7k views

Read wav file header - possibly with audacity - on linux

On ubuntu linux, I want to be able to inspect a wav file such that I can read the wav header to determine the format. I have the tool audacity which, as an audio tool seems pretty good, but I can't ...
1
vote
1answer
611 views

Maximum number of files that can be merged in SoX?

For anyone who has experience with the sox audio tool, what is the maximum amount (in MB) of files you have tried to merge? So far I have merged up to 925MB worth of wav files and have not had ...
0
votes
1answer
6k views

Combining .wav files from the command line

I am currently in a directory with command prompt open, and combining wav files using the command copy /b *.wav allAudio.wav There are 29 wav files in this directory, each of them exactly 00:00:59 ...
-1
votes
1answer
1k views

Fix *.wav to *.mp3 with ffmpeg in command line? [closed]

Something happened when I converted Mp3 to Wav. The music lost quality, how can I get back Mp3 Quality with ffmpeg or anytools using command line?
0
votes
1answer
2k views

Cannot convert MP3 to wav to burn audio CD

I have made a mp3 recording using Perfect recorder app on Windows 8 Phone Lumia 635. I have transfered this 2 mp3 files to a Windows 10 PC. I can play this files without any problem in Windows media ...
3
votes
0answers
113 views

Remove sections of audio in SoX

What's the easiest way to remove the specified sections of a wav file using SoX? Right now I use the trim command to break up the file and then concatenate the parts. However, that seems a little ...
2
votes
1answer
2k views

Convert Wav to Ogg

I have a folder with a large number of Wav files which I wish to convert to Ogg. How do I do this for the latest release of Mac Os X. I have tried to run Drop Ogg X but it does not work, complaining ...
-1
votes
1answer
904 views

Is WAV (PCM) format bit rate is really CBR?

You know, all modern audio codecs bit rate modes are VBR, even if you restrict the settings to for example: MP3 128 CBR, the encoded result is between 120 to 135 ( a bit different with different ...