sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Jan Stary <hans@stare.cz>
To: Stefan Ludwig via Sox-users <sox-users@lists.sourceforge.net>
Subject: Re: batchfile for setting up SoX for Mikrophone-->---LAN--------Soundcard realtime audio-transmission
Date: Sun, 25 Apr 2021 18:43:56 +0200	[thread overview]
Message-ID: <YIWcTJJ67lIVobyt@www.stare.cz> (raw)
In-Reply-To: <804230af-c6fe-c4d9-01fd-d8f91e683fe8@mailbox.org>

On Apr 25 18:00:30, sox-users@lists.sourceforge.net wrote:
> I'm not familiar with linux.

It's not specific to linux, an UNIX-like system
will have something like that.

> So I have to look if windows has a netcat equivalent.

Yes. And perhaps a native recordin/playing application.

> Ideal would be a software which works: install

Please note that on many systems there is nothing to install.
Recoding and playing sound is largely considered a part of
general-purpose computing, so the system will already have
a tool that records/plays.

> -  start -  adjust IP_adress / port

Just to rule out a misunderstanding: you don't "adjust"
your IP address; you machine has one.

Coming from windows, you might find it interesting that the two
separate pieces of that task (namely, recording/playing sound and
sending data accross a network) are performed by two separate
tools that have nothing to do with each other, and have no
knowledege they are working in such accord. In rec | nc,
rec has no idea where the recorded data goes, and nc has
no idea where the data came from (and that it is audio data);
each is just doing it's separate job.

> Maybe I will just use a good old analog microphone / amplifier
> and a looong speaker-cable

Why is it actualy that you need to record on one computer
and play it out on another?

	Jan

> 
> Am 25.04.2021 um 16:51 schrieb Jan Stary:
> > 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 ----->  inbuild micrphone of my tablet (Windows 10)
> > > > > ---------->----------LAN------->---------second
> > > > > PC----->------soundcard---->----Amplifier------>Speaker ----> my words 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=dlvr.it&utm_medium=feed&utm_campaign=iti%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
> 
> 
> 
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

  reply	other threads:[~2021-04-25 16:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 19:13 batchfile for setting up SoX for Mikrophone-->---LAN--------Soundcard realtime audio-transmission Stefan Ludwig via Sox-users
2021-04-22 19:19 ` Stuart Naylor
2021-04-23  6:15 ` Robert Jeffares
2021-04-24 18:31 ` Jan Stary
     [not found]   ` <aab2bf19-06da-9846-1e55-fbf2337c5a63@mailbox.org>
2021-04-25 14:51     ` Jan Stary
2021-04-25 16:00       ` Stefan Ludwig via Sox-users
2021-04-25 16:43         ` Jan Stary [this message]
2021-04-25 17:06           ` windows 10 setting up SoX for live-streaming " Stefan Ludwig via Sox-users
2021-04-26 10:47             ` Jan Stary
2021-04-26 11:26               ` alant123
2021-04-28  0:25                 ` Robert Jeffares
2021-04-27 23:28             ` Robert Jeffares

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=YIWcTJJ67lIVobyt@www.stare.cz \
    --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).