Re: batchfile for setting up SoX for Mikrophone-->---LAN--------Soundcard realtime audio-transmission

Stefan Ludwig via Sox-users <[email protected]> Sun, 25 Apr 2021 18:00:30 +0200
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
Hi Jan,

thank you very much for explaining that.

I'm not familiar with linux.
So I have to look if windows has a netcat equivalent.

Ideal would be a software which works:    install -  start -  adjust 
IP_adress / port    -   works.

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

best regards Stefan

Am 25.04.2021 um 16:51 schrieb Jan Stary:
> On Apr 25 15:54:13, [email protected] wrote:
>> Am 24.04.2021 um 20:31 schrieb Jan Stary:
>>> On Apr 22 21:13:48, [email protected] 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sox-users



_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users