View Full Version : What linux audio software is good for editing wav files

25th February 2013, 08:10 AM
I ripped one of my CDs to FLAC and found a few of the songs have some annoying pops. I think that when the disk was pressed there were some errors that end up being read as samples that are way too high. When I play on a CD Player I don't hear the pops, I think because standard CD players reject wild samples and interpolate over it but when I play the FLAC files by music server they go directly to DAC.

What I want to do is load the wav files into an editor and look at the sample value vs time plot, I suspect I'll see some wild spikes in there. If I just edit in some reasonable values at those samples, save the wav file and make the flac from that file, would that sound better?

25th February 2013, 08:21 AM
Have you tried Audacity? I don't know if it can adjust sample values, but it is a versatile editor.

25th February 2013, 08:25 AM
Have you seen:
http://en.wikipedia.org/wiki/List_of_Linux_audio_software#Recording.2C_editing_ and_mastering

A long time ago, people talked about Audacity ( http://audacity.sourceforge.net/ ), but I don't know how it compares to other software.

From the sound of it, it seems like this could be a common problem, so some software probably automatically does what you want to do, so maybe look into that first.

25th February 2013, 01:17 PM
Have you tried ripping with a different drive or different software? Your theory regarding the pops sounds reasonable but it might be drive or ripping software related.

Anyway, Audacity does have a plugin (filter) that allows you to sample a section of audio containing clicks, pops and other anomalies. It then creates a profile based on that sample and applies a filter to the entire audio clip (or selection) eliminating the clicks. It's a nice tool that can eliminate clicks, pops, hum and other background noises, useful for cleaning vinyl recording. It can have an affect on the overall sound quality so selecting the right section to sample for the profile is important
Alternately, you can copy a good section over the damaged section of a recording, by zooming way in and C&Ping. It can be a little tricky at times, and you need a repeating section of music to copy from. The advantage of this technique is that it doesn't affect the original audio file like applying a filter can.

25th February 2013, 03:19 PM
Have you tried ripping with a different drive or different software? Your theory regarding the pops sounds reasonable but it might be drive or ripping software related.

It's unlikely to be the drives fault, the other CDs rip fine, just this one as pops and the multiple rips result in pops at the exact same location, so I think the disk is really damaged. The sound is like an occasional static snap.

ps. I found this "morituri" ripper,


it seems to support AccurateRip so you can at least detect that errors are occurring (if the song track is in the Accurate Rip Database)

27th February 2013, 08:53 PM
http://www.native-instruments.com/en/ LOL.

27th February 2013, 09:07 PM
If you are going to use Audacity, do it right.

sudo yum install audacity-freeworld

2nd March 2013, 04:10 PM
I can think of a program that is ideal for that but is not for Linux is called Spectral Layers and was bought by Sony.


Unfortunately there is nothing like that in Linux. The only spectrum editor for Linux I ever found was Ceres and I don't think it is even being developed.

But there are some good audio editor besides Audacity.

Audio editors:
https://en.wikipedia.org/wiki/Renoise (not in the repos)
https://en.wikipedia.org/wiki/Gnome_Wave_Cleaner (didn't find it on the repos)

Audio analysis:

Other sources:

4th March 2013, 11:54 AM
Some CDs are pressed with intentionally bad samples as a means of copy protection. A CD player will compensate for the bad sample, that's part of the spec to deal with scratches etc., but when ripping the bad sample is ripped and then not compensated for when playing.

13th March 2013, 04:22 AM
Try ripping with cdparanoia. If you still get the glitches I would guess Audacity is your best shot for editing the file.
I also saw this program called LAoE long time ago. I haven't tried it, but it seems like it could be the one for the job since it has spectrogram editing. It looks like it hasn't been updated for a long while, but maybe it's worth a try.

I also found a video on youtube where the creator of the program demonstrates it.
The section on spectral editing starts about 3:41 in the clip, but it's worth watching the full clip, since his Poirot-ish way of talking will make you kind of happy. :)

Good luck!

29th September 2013, 04:42 AM
Audacity is great! The help files are good, the help files are good, and there are YouTube videos if all else fails and you just want the quick and dirty. There are many tools within Audacity for cutting out noise, and normalizing a track. Simply normalizing the sound track might be enough.

I've used it in Windows, and assuming that it is the same in Linux, I highly recommend it.