[linux-audio-dev] Merging digital sampling sessions

From: David Kastrup <dak@email-addr-hidden>
Date: Sat Dec 10 2005 - 23:52:59 EET

Hi,

I have a minidisc player with S/PDIF output and an ALSA supported
soundcard (details if the card are not really important for the
problem at hand).

I sample recordings via

arecord -D spdif -f cd

Ok, and here is the rub: playback is not perfect, and neither seems to
be the sampling. Probably at times error interpolation sets in,
probably at times samples get lost or replicated. Not much, perhaps
once per minute or so. This leads to audible clicks, of course.

Then there are leading and trailing zeros.

Now what I want to do is just sample the stuff three times and do a
three-way merge. Never mind clever click detecting and interpolation
schemes: just use redundancy.

I have not found a tool for that.

Anybody have a clue how to go about that? If things come to worst,
I'll have to write a merging tool.

Bonus points would be if the thing worked on-line, taking one
recording, sampling new samples and just writing the diff out. Run
this three times, then run a merge program on the first complete
sampling as well as all diffs. That would save quite a bit of disk
space.

However, it is not really mandatory: just merging three full size
files would be fine.

Anybody have an idea whether there is some suitable starting point or
utility for this kind of thing?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Received on Sun Dec 11 00:15:08 2005

This archive was generated by hypermail 2.1.8 : Sun Dec 11 2005 - 00:15:09 EET