flac  

Re: [Flac] Switching Left Right Channel

Ron Decline
Thu, 17 Dec 2009 20:35:00 -0800

On Dec 17, 2009, at 10:59 PM, dathe...@gmail.com wrote:

> 
> 
> On Dec 17, 2009, at 10:00 PM, Ron Decline <rutleco...@gmail.com> wrote:
> 
>> 
>>> On Dec 17, 2009, at 8:50 PM, dathe...@gmail.com wrote:
>>> 
>>> On Dec 17, 2009, at 8:42 PM, Ron Decline <rutleco...@gmail.com> wrote:
>>> 
>>>> Is it possible to switch the Left / Right channel when encoding in FLAC?
>>>> (I have some flac files with incorrect left/right channel assignment that 
>>>> I would like to re-encode with flac)
>>>> _____________________________
>>> 
>>> I'm not sure flac can do that but sox and audacity both easily can
>> 
>> SoX looks promising (and looks like a program that I may have other uses for)
>> Looks like "swap" is the command I need, but if I enter "sox file1.flac 
>> file2.flac swap" I
>> get an error: sox FAIL formats: no handler for detected file type `flac'
>> (I'm on OS X and I have libFLAC installed)
> 
> You probably need to build sox with flac support not sure you can just 
> dynamically pull it in
> 
> Short term fix. Do flac -d to go to wav then do sox swap then flac again

Couldn't get SoX to compile on OS X 10.6 (a lot of warnings and a compile error)
You're right though,  flac -d, then sox swap will work.  I'll just write a 
script to flac -d, sox swap, flac -a, then use metaflac to transfer the tags.

Thanks, SoX was a good suggestion.



_______________________________________________
Flac mailing list
Flac@xiph.org
http://lists.xiph.org/mailman/listinfo/flac