Hi Kai!
Seems ecasound is the tool I was looking for. Thanks a lot!
Just one comment: handling of ogg files seems to be somewhat buggy.
Example:
filename length size ogg-size (oggenc -q-1)
128.wav 0:29:09 321MB 8.7MB
129.wav 0:29:09 321MB 8.6MB
2x stereo -> 2x mono (left/right)
oggenc(ecasound(128.wav, 129.wav)) -> 0:29:09, 9.9MB (perfekt)
2x stereo -> 2x stereo (front/rear)
oggenc(ecasound(128.wav, 129.wav)) -> 0:29:09, 8.7MB (also perfekt)
but
2x stereo -> 2x mono (left/right)
ecasound(oggenc(128.wav), oggenc(129.wav)) -> 0:31:33, 30MB (bad)
2x stereo -> 2x stereo (front/rear)
ecasound(oggenc(128.wav), oggenc(129.wav)) -> 0:31:32, 21M (also bad)
Difference in size may be du to "oggenc -q -1", which is acceptable
but difference in length is bad.
Thomas
P.S.: Tested with ecasound v2.4.3 and v2.4.4 on Gentoo Linux
--
keep mailinglists in english, feel free to send PM in german