From: Rodolfo Medina <rodolfo.medina@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Convert multichannel raw file to wav
Date: Sun, 21 Apr 2024 20:45:20 +0000 [thread overview]
Message-ID: <87cyqi1m3j.fsf@lenovo> (raw)
Hi, Jeremy, hi all:
I'm converting to wav format a raw file that comes from this:
$ pacat --record -d alsa_input.usb-BEHRINGER_UMC404HD_192k-00.analog-surround-40 > dump.raw
because it's the result of a three-microphone live recording using my
four-channel Behringer audio interface. I expect the result to be a
three-channel file: what will the right sox command be? The following:
$ sox -t raw -r 44100 -e signed-integer -L -b 16 -c 2 dump.raw output.wav
produces a two-channel file: please help. Instead, if I record with:
$ sox -t alsa hw:2,0 output.wav
I get a four-channel file. But I'd prefer using pacat. Please help. Thanks.
Cheers, Jeremy
Rodolfo
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
next reply other threads:[~2024-04-21 21:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-21 20:45 Rodolfo Medina [this message]
2024-04-22 10:25 ` Convert multichannel raw file to wav Jan Stary
2024-04-22 10:55 ` [solved] " Rodolfo Medina
2024-04-22 11:02 ` Rodolfo Medina
2024-04-22 11:47 ` Jan Stary
2024-04-22 12:43 ` Rodolfo Medina
2024-04-22 14:02 ` Jan Stary
2024-04-22 17:46 ` Rodolfo Medina
2024-04-23 6:07 ` Jan Stary
2024-04-23 7:58 ` Rodolfo Medina
2024-04-23 11:35 ` Jan Stary
2024-04-23 19:30 ` Jeremy Nicoll - ml sox users
2024-04-23 21:03 ` Rodolfo Medina
2024-04-24 8:04 ` Måns Rullgård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.sourceforge.net/lists/listinfo/sox-users
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cyqi1m3j.fsf@lenovo \
--to=sox-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).