sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* split stereo by channel and silence
@ 2017-06-27  0:07 jlnichols
  2017-06-27  9:13 ` Jeremy Nicoll - ml sox users
  2017-06-29 10:15 ` Jan Stary
  0 siblings, 2 replies; 9+ messages in thread
From: jlnichols @ 2017-06-27  0:07 UTC (permalink / raw)
  To: sox-users

i have stereo wav files, which each channel is different speakers in a
conversation.  trying to figure out how best to split a stereo file by both
its channel and silence, but still know the order the files should be played
in to hear the conversation has a whole. i don't want to merge the 2
channels because often 1 channel has more background noise then the other
and sometime speakers will speak over each other and keeping them separate
will make it easier to understand them.

what i currently have
  sox stereo.wav L.wav remix 1
  sox stereo.wav R.wav remix 2

  sox R.wav R..wav silence 1 0.05 0.2%  1 0.8 0.2% pad 0.5 : newfile :
restart
  sox L.wav L..wav silence 1 0.05 0.2%  1 0.8 0.2% pad 0.5 : newfile :
restart

this gets me
R.001.wav
R.002.wav
...
R.020.wav
L.001.wav
L.002.wav
...
L.024.wav

the problem is, for play back sometimes i should play multiple R.###.wav
files in a row, or multi L.###.wav files and i have no way of knowing when i
should do this with my current setup.

instead of just having an increment counter for the name, is there a way to
have have it use the starting time( in seconds or whatever) for that segment
of the file? that way i'd have the below files and could just sort by the
number for the play order.
R.000.wav
L.030.wav
L.043.wav
R.078.wav
...

if not any other suggestions?

thanks for the help





--
View this message in context: http://sox.10957.n7.nabble.com/split-stereo-by-channel-and-silence-tp6063.html
Sent from the SoX mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-06-29 14:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27  0:07 split stereo by channel and silence jlnichols
2017-06-27  9:13 ` Jeremy Nicoll - ml sox users
2017-06-27 14:23   ` Jon Nichols
2017-06-27 17:55     ` Jeremy Nicoll - ml sox users
2017-06-27 18:37       ` Jon Nichols
2017-06-29 10:21     ` Jan Stary
2017-06-29 10:15 ` Jan Stary
2017-06-29 13:50   ` Jon Nichols
2017-06-29 14:20     ` Graff, David E

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).