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
0answers
21 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 -...
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
46 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
0answers
76 views

How can I retrieve meta-data like the Bitrate of *.wav or *.mp3 files using the wmic windows cmd?

I tried using the WMIC feature like this: wmic datafile where Name="D:\\\\subfolder\\\\musictitle.mp3" list full Note: backslashes must be escaped as shown. With this command I can get access to ...
0
votes
2answers
76 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
25 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
101 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
97 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
371 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
287 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
2k 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
2k 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
39 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
337 views

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

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
594 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
1k 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
249 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 ...
4
votes
0answers
7k 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
1k 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
1k 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
695 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
71 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
105 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
975 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
1k 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
611 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
6k 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
594 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
57k 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
717 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
6k 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
271 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
6k 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
489 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
5k 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
1k 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 ...
2
votes
0answers
106 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
765 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 ...
2
votes
1answer
1k views

How to create MP3 from WAV without silence at the start and end?

I´m creating MP3 files from WAV in FL Studio. But in created MP3 file is a very short silence (for example 0.02 sec) at the beginning and at the end of the file. In my program, I want to merge these ...
1
vote
1answer
977 views

How can I join multiple wav/flac/audio cds into one master big audio file (>4gb)

I have multiple Audio CDs that I want to merge into one final flac or mp3 file. For example I have 10 audio cds. I can encode each CD into its single wave/flac file, or even mp3, but then I need to ...
0
votes
0answers
73 views

One VLC instance for different file types

Is it possible to have two instances of VLC Media Player, one that plays WAV files exclusively and the other that plays MP3 files exclusively? I have to often listen to some WAV sound effects files to ...
1
vote
0answers
242 views

Recover Corrupt Audio Data (files visible but not accessible)

I'm was doing PA and recording at a medical conference this weekend but have hit distaster with corrupt data. Was recording a .WAV file using a line into a Tascam DR-40 audio recorder. Recorded about ...
7
votes
2answers
3k views

Why Is Conversion From An MP3 To WAV (PCM) Lossless?

I understand that when converting between audio formats where no stream encoding is involved like when converting between WAV (PCM), AIFF, FLAC, ALAC, WMA Lossless, and etc, the process is usually ...
3
votes
1answer
7k views

Change codec of WAV file

Is there a way to change the codec/format of WAV file? Can I use ffmpegor anything else? From RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 8000 Hz to RIFF (little-endian) data,...