Questions tagged [wav]
18 questions
15
votes
1 answer
convert WAV music library to FLAC on command line and achieve best quality
I would like to produce (nearly) perfect FLAC files by verifying/checking all conversion steps. I'm hoping to do this in a single command, although a short bash script would be acceptable as a second choice.
I am on Kubuntu 12.04 and I installed…
MountainX
- 17,168
- 59
- 155
- 264
9
votes
3 answers
How to detect real sample size and number of channels in WAV file?
I've got this wonderful conundrum with a WAV file, whereas I cannot detect it's actual sample size (i.e. how many bits are in a sample) and the number of channels.
geek@liv-inspiron:~$ soxi file.wav
Input File : 'file.wav'
Channels :…
landroni
- 10,288
- 12
- 30
- 48
5
votes
1 answer
Split large amount of wav files to small parts
I have large amount of wav files (over 50 000) and I need to split every wav file to 10 second long parts.
t's nearly impossible to do it one by one, so my question is: How can I do it in ffmpeg (or in sox)?
Taron
- 51
- 1
- 1
- 3
5
votes
1 answer
convert wav to flac with tags
long story short: I need a script to convert wav files to flac, while taking the file name (minus extension) to place in the song title tag of the flac file.
I have about 1200 audio CDs that I decided to archive lossless on a terabyte drive. …
Bunny
- 51
- 1
- 2
4
votes
1 answer
Comparing .wav samples from command line
As a part of our project we should classify sound samples (stored as .wav files). All sample is the same, just pure speech (like a Skype test call).
The process is the following:
a reference wav, this is the "high quality" sample
comparing approx.…
sdkféldf werer
- 43
- 3
3
votes
1 answer
Make soundcard visible to new user
If it's relevant, I'm trying this on the Debian-derived Armbian 3.4, running on an Orange Pi Zero (Raspberry Pi "clone") board. As you will see below, the board can playback sound either through a "line out" interface to earphones, or through a HDMI…
frIT
- 133
- 5
2
votes
1 answer
How can I copy a .wav file from an audio cd and verify it?
I have a hard time using Linux' built-in tools to rip an audio cd (sound juicer, rhythmbox). The reason likely being my drive, which vibrates a lot and cannot read the disk continuously. Playing the disk in any audio player results in short pauses…
null
- 195
- 1
- 1
- 7
2
votes
0 answers
Playing remote audio files over SSH
I am connected to a machine via SSH and I often need to listen to WAV files on that machine. I usually open another terminal window and do ssh host 'cat /path/to/sound.wav' | aplay, but that's tedious since I have to enter my password every time (I…
ondra.cifka
- 217
- 2
- 7
1
vote
0 answers
speech recording and translate
I have a problem with converting from "wav" to "flac".
Command:
arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 | flac - -s -f --best --sample-rate 16000 -o daveconroy.flac
Always gives:
ERROR: raw format options (--endian, --sign, --channels,…
chilyourlifefist
- 11
- 1
1
vote
0 answers
Convert flac to wav with tags and cover art
I have a bunch of flac files with tags and cover art. I need to convert them to wav and retain the tags and cover art. I also need to do this in a terminal on a headless Raspberry Pi 4B running Raspbian Buster.
I have read in many posts that cover…
Andre Arseneault
- 11
- 2
1
vote
2 answers
Convert WAV to FLAC while preserving tags
Is there a command utility that can convert between various audio formats (or more specifically from wav to flac) while preserving tags? Or an utility that can copy tags from one audio file to another?
There are various tags, not just track name…
user3469976
- 233
- 1
- 3
- 7
1
vote
1 answer
Problems converting WAV to ALAC by a batch job
I use the following code to convert WAV to ALAC (bash, macOS 10.12.1):
find . -type f -iname "*.wav" | while read fn; do ffmpeg -i "$fn" -acodec alac "${fn%.wav}.m4a"; done
But there seems to be a mistake since it prints warnings like…
typokurz
- 113
- 5
1
vote
1 answer
Audio CD source plugin for .wav files . Linux
I have a CD which contains a number of .wav files.
When I try to open one I get:
The playback of this movie requires a Audio CD source plugin which is not installed.
Can someone please sent me a link to what I should download and install to play…
user66601
- 33
- 5
0
votes
1 answer
How to edit bulk wav files?
I need to cut off the first say 3 seconds from a batch of wav files.
Is there a way to do it from the command line or using a linux native program?
Thanks.
black-clover
- 321
- 1
- 2
- 7
0
votes
1 answer
Copy a same audio file multiple time in another audio file
I have an audio file on my Linux system. Let's say a 2 second .wav file. I want to copy the same audio file 50 times into a new b.wav such that the duration of b.wav will be 100 seconds.
I tried like this:
for i in {1..50}; do cat a.wav >> b.wav;…
adikh
- 125
- 6