From: Geraldo Nascimento <geraldogabriel@gmail.com>
To: semiydsemiyd@163.com
Cc: alsa-devel@alsa-project.org
Subject: Re: How to mix multiple pcm capture stream into one and save to wav file as if it's from one single multi channel alsa card device
Date: Fri, 28 Apr 2023 12:52:30 -0300 [thread overview]
Message-ID: <ZEvrvsooKSynbnzU@geday> (raw)
In-Reply-To: <168257479762.20.3215919601496636554@mailman-web.alsa-project.org>
Hi Semyid,
On Thu, Apr 27, 2023 at 05:53:17AM -0000, semiydsemiyd@163.com wrote:
> now...i want to open all the devices at the same time. and have them save to one single wav file. As if i'm opening one single alsa capture device with 8 channels.
> the saved wav file should look something like this (take this 8 channel wav file for example)
>
> First Multichannel Sample
> --------------------------
> {BB FF FF} 3 bytes slot1
> {A1 FF FF} 3 bytes slot2
> {00 00 00} 3 bytes slot3
> {00 00 00} 3 bytes slot4
> {00 00 00} 3 bytes slot5
> {00 00 00} 3 bytes slot6
> {00 00 00} 3 bytes slot7
> {00 00 00} 3 bytes slot8
>
> Second Multichannel Sample
> --------------------------
> {E6 FF FF} 3 bytes slot1
> .,.. etc ....
>
>
> Is this possible and if yes how can i do that?
>
For such a task usually I'd use JACK on top of ALSA with the
alsa_in/alsa_out scripts or the Zita tools.
Good luck,
Geraldo Nascimento
> thank you guys
>
>
> semiyd
next prev parent reply other threads:[~2023-04-28 15:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-27 5:53 How to mix multiple pcm capture stream into one and save to wav file as if it's from one single multi channel alsa card device semiydsemiyd
2023-04-28 15:52 ` Geraldo Nascimento [this message]
2023-05-04 11:06 ` semiydsemiyd
2023-05-04 12:50 ` Jaroslav Kysela
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-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZEvrvsooKSynbnzU@geday \
--to=geraldogabriel@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=semiydsemiyd@163.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox