From: Jan Stary <hans@stare.cz>
To: sox-users@lists.sourceforge.net
Subject: Re: windows 10 setting up SoX for live-streaming Mikrophone-->---LAN--------Soundcard realtime audio-transmission
Date: Mon, 26 Apr 2021 12:47:54 +0200 [thread overview]
Message-ID: <YIaaWn/CKwaQY5X1@www.stare.cz> (raw)
In-Reply-To: <45e9d223-7be0-c34f-0c21-7bd65183c914@mailbox.org>
On Apr 25 19:06:45, sox-users@lists.sourceforge.net wrote:
> Ah ! I forgot to write about the real situation: *live*-streaming across the
> local network.
>
> I'm working as a teacher and have to teach a class that is separated into
> two halfs
> each half in its own room to limit the number of persons per room.
>
> I'm forced to use Big Blue Button as the video-conference solution.
Well, you already have your tool to do it then.
> Though the bandwidth of the internetconnection and/or the server-"bandwidth"
> to process the video-sreaming-data
> for a lot of conferences at the same time. Is limited which causes lagging
> of the audio.
I find it strange that a video conferencing software would not keep sync
(not that it lags _as_a_whole_, that's understandable). Do you meen to
say that tha audio lags out of sync of how much the video lags?
> Under this circumstances (small bandwidth/overloaded server) Big Blue
> Button is more like a Little-Black-Hole
> that disrupts the data into nowhere-nexus ;-)
>
> So I'm searching for an alternative for "*live*-streaming the audio.
That might make the audio even more out of sync with the audio.
> If the rooms are next to each other an oldfashioned analog microphone
> connected to an oldfashioned analog amplifyer
> with a 50m long speaker-cable has 0 Milliseconds latency and is
> "rock-stable" as a neutron-star
Do youself a favour and install two unix machines;
this becomes a non-issue.
At any rate, this doesn't have much to do with sox.
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
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
next prev parent reply other threads:[~2021-04-26 10:48 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
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 [this message]
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=YIaaWn/CKwaQY5X1@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).