From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.32.0/20 X-Spam-Status: No, score=-2.4 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS, T_DKIM_INVALID,T_RP_MATCHES_RCVD shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 072481F404 for ; Tue, 6 Mar 2018 14:22:33 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1etDU3-000oKy-I8; Tue, 06 Mar 2018 14:22:27 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1etDU1-000oKs-PU for sox-users@lists.sourceforge.net; Tue, 06 Mar 2018 14:22:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=K3i0iy9g/JkbcmhnD0pf/E+zNb3NW15FDP8ZH2Hi+UI=; b=MO2cfzwZDJrqaWUHBhyrIztdWs F5ZmtPwC7el9sAxQ82BtM1WEpF4XbnzGfzu+hk94Rr3lsD0IQZ1XfGd1V6jWepkWkEpMCf7Y/7/ux F32q5p7gLXC2E9sgf8XKbAVUaC09Cbk3MT3ReeKx+juh66dlXnecrtv3GFDtiscP0Fwo=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject: Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=K3i0iy9g/JkbcmhnD0pf/E+zNb3NW15FDP8ZH2Hi+UI=; b=S1b8Tvmenby+kiNN722COYKuK4 lC/duy8HuZXBy88eTRo5FOObdsy70YPlAdWqfwokFaCuVGkQXFGKVZmPka+amFGgSiuqLwvcQ/1uX CQoK6UKNQiWHBIU7WZDzzTMdF5ZIRPPeI/sHgVyafBfFYySZrD+2lE1SiHsUPpck5sHw=; Received: from sfi-lb-mx.v20.lw.sourceforge.com ([172.30.20.201] helo=mail-wm0-f44.google.com) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) id 1etDU0-002Mo7-2C for sox-users@lists.sourceforge.net; Tue, 06 Mar 2018 14:22:25 +0000 Received: by mail-wm0-f44.google.com with SMTP id 188so22485452wme.1 for ; Tue, 06 Mar 2018 06:22:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=K3i0iy9g/JkbcmhnD0pf/E+zNb3NW15FDP8ZH2Hi+UI=; b=r/DsSNNbe1O0+ZyhGpOFQ0GdmYoitFSN4x6XJ2aWGsQ2jXc8g7cWC4qQe9h4Iq4dCl t7D8MClP0iyagVBtltB1wRaC4s28JNkMzAUGmh5tKttZPWX4YY4+YPlAzWZbAFl+fGtd A3eRCwsXNPACaRXAw5ZHqbZ156rRAltxhQ5Z2lQ+J9Rkj6RwKWYqD+WcPdg1oSYmhVYv pEG3MozYf4+uB9NH3N468sOEnZR96SfpLV5Y6wZTnq14T8bAYyfQrDzwZ+JOPDwPWAhE 3rOQ3wEfqKOyE4Kivoc5CLWu3LYaUZV0C1aRbaHTF0UKW3C3iM4RFx0QOsg6ZKse/Sdo tV/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=K3i0iy9g/JkbcmhnD0pf/E+zNb3NW15FDP8ZH2Hi+UI=; b=JOooQrTqlofs2b44+nxD5PGrtlSGX4x8pvROyfH2vi5TojspYc5zO2qwYnI38hH7P/ kcrJa+ELVucAGcmb+rd172qSOo+lUhcFFaYH2KMkgS7tLkm9pTLgvzjG7MTVHrLTPe3E rUMmW2z+Ev6uNDfm14k4AW2+BSrRZbHEKGLbUM7BE6KyldlsYPJrKWecsesrv2r05WHS JMYnqzF7ZGXq58F81QrQVM+sWTipV8A+GlM+28MAx//Qb7LjQV9PckSRkkWh5F1AGKoC 65MyQtQ7a/A85rt/c5D++RBQGunI+ebZZHabTtO2/UFsu9BpGLao/F6fg0O1U0yRsjxu x6rg== X-Gm-Message-State: AElRT7GbF3jxqajHQhl7E6624K5y2eh0Q+RF2zt+kWK3lvMFEuuCXPUf skpyUCG33kH4RbWzkGggLOtlMA== X-Google-Smtp-Source: AG47ELsezA2sbKUG3msXj3f0icKIOZcGow8UCsJ/prMx4m/vSBM1yh1l02g3qJESPYfVg5O70luSlA== X-Received: by 10.28.109.78 with SMTP id i75mr12151451wmc.61.1520346137311; Tue, 06 Mar 2018 06:22:17 -0800 (PST) Received: from lenovo ([62.98.44.120]) by smtp.gmail.com with ESMTPSA id l22sm19140379wre.52.2018.03.06.06.22.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Mar 2018 06:22:16 -0800 (PST) From: Rodolfo Medina To: Jeremy Nicoll - ml sox users References: <871sgxr2pa.fsf@gmail.com> <23db1c51b897db1a375bba03b22dd58d@wingsandbeaks.org.uk> <87r2oxpboh.fsf@gmail.com> Date: Tue, 06 Mar 2018 15:22:14 +0100 In-Reply-To: <87r2oxpboh.fsf@gmail.com> (Rodolfo Medina's message of "Tue, 06 Mar 2018 14:37:34 +0100") Message-ID: <87efkxp9m1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 X-Headers-End: 1etDU0-002Mo7-2C Subject: Re: Playing multichannel audio files X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Cc: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net Rodolfo Medina writes: > Jeremy Nicoll - ml sox users writes: > >> On 2018-03-06 09:08, Rodolfo Medina wrote: >>> Hi all sox users. >>> >>> I have a multichannel audio file: suppose three channels. What I want is >>> to listen to that file by listening to each of those channels through a >>> different loud speaker. In order to do so, I imagine > > ...though I may be wrong... > > >>> each channel being sent to a different sound card. Can sox perform that, >>> and how? In sox manual I couldn't find an answer. >> >> What sound hardware does your computer have? Do you actually have more than >> one soundcard? >> >> Since you posted on Debian-Users, is there a way in Debian to list what these >> separate sound devices' names are? > > Two different soundcards, and three devices, seem to be detected: > > $ arecord -l > **** List of CAPTURE Hardware Devices **** > card 1: Generic [HD-Audio Generic], device 0: ALC662 rev3 Analog [ALC662 rev3 > Analog] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: Generic [HD-Audio Generic], device 2: ALC662 rev3 Alt Analog [ALC662 > rev3 Alt Analog] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 2: Device [USB Audio Device], device 0: USB Audio [USB Audio] > Subdevices: 0/1 > Subdevice #0: subdevice #0 > > >> Do you have a way (forgetting your audio file for a moment) of getting sound >> out to three separate places? > > If I could have sox (or any other software) send different channel outputs to > different soundcards, I could think of plugging a loud speaker into each > soundcard and so getting sound out to three separate places... > > >> Do you have any other sound-playing software? > > I normally use mplayer to play sound. Since sox can split a three-channel file into three one-channel files, the problem is virtually solved once we manage to send two audio outputs into two different audio cards. This seems to be done simply with `&&', e.g: $ mplayer -ao alsa:device=hw=2.0 file1.wav && mplayer file2.wav , but unfortunately only one output is heard at a time... Rodolfo ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users