All of lore.kernel.org
 help / color / mirror / Atom feed
From: GitHub issues - opened <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: Audio garbled when using Multi plugin to record from 2+ USB soundcards on Raspberry Pi
Date: Thu, 21 Aug 2025 00:25:24 +0200 (CEST)	[thread overview]
Message-ID: <185d99f876c2d600-webhooks-bot@alsa-project.org> (raw)
In-Reply-To: <185d99f875f80700-webhooks-bot@alsa-project.org>

alsa-project/alsa-lib issue #472 was opened from TommyKaneko:

I have been trying to use the multi plugin to record multiple channels from mutliple soundcards on the Raspberry Pi.  The results are a garbled mess.

I have diagnosed the reasons as thus:
- current raspberry Pi OS uses alsa v1.2.8+rpt1
- the "fix" for the multi plugin was implemented in v1.2.9 : https://github.com/alsa-project/alsa-lib/commit/369df322577034ea872978d6470edbadf30d81a9

I am aware that the multi plugin was not meant to be used on multiple soundcards that are not in sync, however if the clock drifts over time, this is ok for my application.

I am here to seek advice on how I should go about creating a workaround.  The limitations are that I need to use cheap USB microphones (it is a weight issue).

Without going along the microcontroller route, I thought one way was to make an [external plugin](https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_external_plugins.html), based on the newly patched pcm_multi plugin.  I am working on this, while climbing the steep learning curve.  Perhaps I can contribute an external plugin for the project...

In the meantime, does a developer have a better suggestion that I might have success with?  Or any tips if you are familiar with the pcm_multi plugin? @perexg ?

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/472
Repository URL: https://github.com/alsa-project/alsa-lib

       reply	other threads:[~2025-08-20 22:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <185d99f875f80700-webhooks-bot@alsa-project.org>
2025-08-20 22:25 ` GitHub issues - opened [this message]
     [not found] <185f64a065563300-webhooks-bot@alsa-project.org>
2025-08-26 18:30 ` Audio garbled when using Multi plugin to record from 2+ USB soundcards on Raspberry Pi GitHub issues - edited
     [not found] <185f64afdcfca600-webhooks-bot@alsa-project.org>
2025-08-26 18:31 ` GitHub issues - edited
     [not found] <185f64b54adc5d00-webhooks-bot@alsa-project.org>
2025-08-26 18:31 ` GitHub issues - edited

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=185d99f876c2d600-webhooks-bot@alsa-project.org \
    --to=github@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.