[LAU] stereo channel differeces

Brent Busby brent at keycorner.org
Tue Jan 1 18:07:04 UTC 2013


First off, Happy New Year to all!  :)

Can anyone recommend a quick way of seeing the differences highlighted 
visually between two channels in a stereo sample...sort of like a 
graphical 'diff' for waveforms?

I think I may have some Akai MPC2000 samples that somehow were saved by 
the Akai as mono samples even though they actually contain two channels 
and are really stereo:

Using 'sndfile-info' on them reports them as mono, but it's just looking 
at the 22nd byte in the file, which should contain 0x00 or 0x01 to say 
if it is mono or stereo.  The file contains 0x00 in that location, so 
sndfile-info believes that it's mono because the file header says so.

However, if I flip the bit in a hex editor and resave the file, now I 
can load the file in a sample editor and it seems to have two channels 
which play at double speed.  I'm still not positive I'm hearing stereo 
(if I am, it's very subtle), but I'm definitely seeing two channels 
visually, and I know this sample was sampled on the Akai in stereo.

Any way to do a graphical comparison that will highlight even small 
channel waveform differences?

-- 
+ Brent A. Busby	 + "We've all heard that a million monkeys
+ Sr. UNIX Systems Admin +  banging on a million typewriters will
+ University of Chicago	 +  eventually reproduce the entire works of
+ James Franck Institute +  Shakespeare.  Now, thanks to the Internet,
+ Materials Research Ctr +  we know this is not true." -Robert Wilensky


More information about the Linux-audio-user mailing list