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
0 votes
1 answer
47 views

Windows Command Line Join WAV files

Looking to join wav files together with a Win command line. I need to take different time/sample start/end sections out of a wav file and join them into a new file. Was looking at SoX but was not sure ...
user avatar
  • 101
1 vote
0 answers
277 views

Need help converting a .wav RIFF WAVEfmt to MP3

I have a couple of .wav files from a Palm Pilot or possibly an old Windows Pocket PC that are in the format of a .wav RIFF WAVEfmt file. I can't play them, and would like to convert them to some ...
user avatar
  • 251
0 votes
1 answer
173 views

ffmpeg: Export to 24 bits wave with Microsoft PCM, not Extensible (with Lavf58.76.100)

I notice that, when I use FFMPEG to export a mod to a wave in 24 bits or higher, FFMPEG decides to use extensible encoding instead of regular PCM encoding and uses "Lavf58.76.100", whatever ...
user avatar
0 votes
1 answer
452 views

"Cannot find matching stream" error while using FFMPEG filter_complex to mute selected audio channel

ffmpeg -i stereoaudio.wav -filter_complex "[0:a]atrim=start=0:duration=5[a1];[0:a]atrim=start=5:duration=17,asetpts=PTS-STARTPTS[b2];[b2]pan=stereo|c1=c1[c3];[a1][c3]concat=n=3:v=0:a=1[d4];[0:a]...
user avatar
0 votes
0 answers
58 views

Merging Multi-channel audio FFMPEG (11 channel ambisonic + 2 channel head-locked)

I'm trying to find a way to leverage FFMPEG audio filters to combine two multi-channel files into one new .wav files with a summed channel number. I have two files, one ambisonic (9 channels) and one ...
user avatar
1 vote
1 answer
284 views

ffmpeg - concatening audio files onto separate channels in one file

I have a list of mono wav files like this 1 speaker1.wav 2 speaker2.wav 3 speaker1.wav 4 speaker2.wav 5 speaker1.wav 6 speaker2.wav I want to concatenate them so that I get a single file where each ...
user avatar
  • 205
55 votes
7 answers
6k 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 ...
user avatar
  • 7,412
0 votes
1 answer
60 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 ...
user avatar
2 votes
1 answer
160 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 ...
user avatar
  • 125
0 votes
0 answers
33 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 ...
user avatar
  • 219
1 vote
0 answers
170 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 ...
user avatar
2 votes
1 answer
26 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 ...
user avatar
0 votes
1 answer
732 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.
user avatar
0 votes
2 answers
181 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 ...
user avatar
  • 332
0 votes
1 answer
38 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....
user avatar
0 votes
1 answer
641 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 ...
user avatar
0 votes
0 answers
404 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" ...
user avatar
2 votes
1 answer
1k 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 (...
user avatar
  • 23
1 vote
0 answers
867 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 ...
user avatar
1 vote
1 answer
5k 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, ...
user avatar
0 votes
1 answer
30 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 ...
user avatar
0 votes
1 answer
7k 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 (...
user avatar
0 votes
1 answer
69 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 ...
user avatar
-2 votes
1 answer
558 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 ...
user avatar
  • 1
0 votes
1 answer
1k 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 -...
user avatar
0 votes
0 answers
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?
user avatar
1 vote
1 answer
314 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 ...
user avatar
8 votes
1 answer
18k 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 ...
user avatar
  • 191
4 votes
4 answers
3k 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.
user avatar
  • 85
3 votes
1 answer
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?
user avatar
2 votes
1 answer
960 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\...
user avatar
4 votes
1 answer
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 ...
user avatar
  • 183
0 votes
1 answer
76 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 ...
user avatar
0 votes
0 answers
171 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 ...
user avatar
  • 1
3 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
0 votes
2 answers
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 -...
user avatar
  • 121
2 votes
1 answer
933 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 ...
user avatar
  • 186
-3 votes
4 answers
8k 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 ...
user avatar
  • 111
0 votes
2 answers
955 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 ...
user avatar
  • 1,261
9 votes
2 answers
95k 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 ...
user avatar
  • 289
0 votes
1 answer
896 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 ...
user avatar
2 votes
2 answers
14k 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]+...
user avatar
  • 21
0 votes
0 answers
301 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 ...
user avatar
  • 467
1 vote
1 answer
3k 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 ...
user avatar
  • 13
6 votes
1 answer
8k 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 ...
user avatar
  • 1,329
1 vote
1 answer
821 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 ...
user avatar
0 votes
1 answer
7k 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 ...
user avatar
-1 votes
1 answer
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?
user avatar
0 votes
1 answer
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 ...
user avatar