Re: Merge and pipe channel assignment madness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sep 01 23:24:20, bouke@xxxxxxxxxxxxxxxxx wrote:
> Hi guys,
> Trying to merge multiple mono and poly Wave files while piping (to add custom padding to each input file.)
> Whatever I do, on input poly files the output channel order is totally unpredictable.
> 
> I’m using something like sox -M “| sox 3ch.wav -p pad 1” “|sox 5ch.wav” -b 24 output.wav
> I would expect to get the same order of output as in the order of the input / pipe, but that does not happen.

I cannot reproduce this behaviour.

  $ sox -n poly.wav synth 5 sin 200 sin 300 sin 400 
  $ sox -n next.wav synth 5 sin 400 sin 600 sin 800 
  $ sox -M "|sox poly.wav -p pad 1" "|sox next.wav -p pad 1" output.wav
 
This creates a six-channel file with channels ordered as I would expect:
channel one from poly.wav, channel two from poly.wav, up to channel three
from next.wav. I verified that with listening to

  $ play output remix 1
  $ play output remix 2
  $ play output remix 3
  $ play output remix 4
  $ play output remix 5
  $ play output remix 6

What version of SoX are you using?
Does it also happen with the current version?

Can you please upload two of your multichannel files
so that I can reproduce exactly what you are doing?

	Jan


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux