From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 707011F5AE for ; Sun, 25 Apr 2021 14:51:55 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1lag6q-0007wU-AC; Sun, 25 Apr 2021 14:51:44 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lag6o-0007wI-L2 for sox-users@lists.sourceforge.net; Sun, 25 Apr 2021 14:51:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: 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=Tl6kJhq1DwkyJmpUWbbRIZ7NAzfrhyeHnhN+tYFhaog=; b=ZXNLbeKoJ9uccFb7R/gSXXPK0Z zUguThP+6Bxn+XEqh2DhJZpgfE9sQ76/AoOCOzHzjCnzrjC33TJJsp+qvfL8jBHfPXK7e+dizwgku 2oIgFOth7hGqCMXkgu8GshLjHKisfdKnKrgX0qt0IytXNe2YQs/U9J+2qvzGKmBrKnIA=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: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=Tl6kJhq1DwkyJmpUWbbRIZ7NAzfrhyeHnhN+tYFhaog=; b=lELh3x0cfBJ15IqfOCES7zMfSR weCLgXKKscNihwt+meaaB5tW8O8CiM9BOoVa9GJg86X1DpOZ31YKc5DmEeDkdfQ/7iuFbgAn5Q641 jCi98W9jdA7elqYdugoNF620RjiyJJ/msPS8SYzrRd6A1EqGX8yB+1GzZmDNT/h4NYaw=; Received: from uvt.stare.cz ([185.63.96.79] helo=mx.stare.cz) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1lag6m-007Nd8-GW for sox-users@lists.sourceforge.net; Sun, 25 Apr 2021 14:51:43 +0000 Received: from localhost (stare.cz [local]) by stare.cz (OpenSMTPD) with ESMTPA id c3a09919 for ; Sun, 25 Apr 2021 16:51:29 +0200 (CEST) Date: Sun, 25 Apr 2021 16:51:28 +0200 From: Jan Stary To: sox-users@lists.sourceforge.net Message-ID: References: <40d48249-f501-3f3f-76db-51dab1c1d74f@mailbox.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1lag6m-007Nd8-GW Subject: Re: batchfile for setting up SoX for Mikrophone-->---LAN--------Soundcard realtime audio-transmission 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: sox-users-bounces@lists.sourceforge.net On Apr 25 15:54:13, dipl-ing.ludwig@mailbox.org wrote: > Am 24.04.2021 um 20:31 schrieb Jan Stary: > > On Apr 22 21:13:48, sox-users@lists.sourceforge.net wrote: > > > I would like to use SoX for this scenario > > > me speaking ----->=A0 inbuild micrphone of my tablet (Windows 10) > > > ---------->----------LAN------->---------second > > > PC----->------soundcard---->----Amplifier------>Speaker ----> my word= s as > > > *realtime* audio > > I don't think this is a sox problem: any other audio application > > will have to fit into that scenario similarly. > > = > > > If I understand right I have to setup IP-adresses and ports. > > Well, obviously, if you want to send data over LAN. > > This has nothing to do with SoX. > > = > > > Is there somewhere a collection of batch-files or a parameterlists > > > that show which parameters and options I have to use for this? > > No. > > = > > I you just want to send the audio unchanged to another machine, > > SoX might not even be the tool for you: you just need one machine > > to record, and send the data to the other machine (as you would > > send any other data), and have the other machine play it back. > > = > > It this wasn't windows, I would put a one-liner here > > that does exactly that. > > = > > Jan > I have found this website > https://www.streamingmediaglobal.com/Articles/Editorial/Featured-Articles= /DIY-Rudimentary-Audio-Streaming-124222.aspx?utm_source=3Ddlvr.it&utm_mediu= m=3Dfeed&utm_campaign=3Diti%20roundup > = > Which shows how to do it with SoX. But it seems a description for how to = do > it on Linux-machines Surprise: rec | nc rec reads from a device and writes to stdout; netcat reads from stdin and writes to a socket; the opposite happens on the other end: nc | play. On systems that have standard tools for fundamental things (such as: read your input and send it down a network socket) this is indeed a one-liner. But you are on windows; maybe windows also has a netcat, I don't know. Also note that this is not specific to SoX: it could be arec/aplay with ALSA, or aucat/aucat on OpenBSD, or any other program capable of recording/playback. Jan _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users