telnet is all you need

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: telnet is all you need
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Thu Nov 07 2002 - 01:25:26 EET


I've just tested using telnet to remotely control an ecasound session
(from moria.seul.org at MIT to my machine in Helsinki), and yup, works
great! See the full log below.

Now remote control itself isn't a new thing, as it's always been an option
to just take a ssh/telnet connection and then launch ecasound. But there
are few key differences:

- as you can see below, you can connect to an already running
  setup; you can also break the connection without affecting
  the remote session
- it's possible to take multiple connections to the same
  setup (possible uses: monitoring sessions from multiple
  machines/locations, multi-person live mixing, etc, etc)
- using telnet can be helpful when developing new NetECI apps

... for reference, ecamonitor is only 200 lines of code (python), so
developing new NetECI apps is quite simple. Just send EIAM commands to the
socket, and parse the replies using the int-output-mode-wellformed syntax.

I think there's room for both NetECI end ECI. For ecamonitor-type apps
NetECI is clearly better, while for ecaplay/ecanormalize/ecalength style
standalone tools ECI is better.

--cut--
bash-2.04$ uname -n
moria.seul.org
bash-2.04$ telnet 62.xxx.yyy.zzz 2700
Trying 62.xxx.yyy.zzz...
Connected to xxx.yyy.fi (62.xxx.yyy.zzz).
Escape character is '^]'.
int-version-string
256 10 s
2.2.0-pre5

aio-status
256 428 s
### Audio input/output status (chainsetup 'command-line-setup') ###
Input (1): "/pro-area/foo.wav," - [DB => RIFF wave file] [selected]
 -> connected to chains "default": position (283.237/326.635) seconds.
 -> open, , s16_le/2ch/44100Hz, buffer 1024.
Output (1): "jack_alsa" - [JACK interface] [selected]
 -> connected to chains "default": realtime-device; position 12490752, delay 0.
 -> open, f32_le/2ch/44100Hz, buffer 1024.

setpos 20
256 0 -

aio-status
256 426 s
### Audio input/output status (chainsetup 'command-line-setup') ###
Input (1): "/pro-area/foo.wav," - [DB => RIFF wave file] [selected]
 -> connected to chains "default": position (24.667/326.635) seconds.
 -> open, , s16_le/2ch/44100Hz, buffer 1024.
Output (1): "jack_alsa" - [JACK interface] [selected]
 -> connected to chains "default": realtime-device; position 1087824, delay 0.
 -> open, f32_le/2ch/44100Hz, buffer 1024.

quit
Connection closed by foreign host.
bash-2.04$
--cut--

-- 
 http://www.eca.cx
 Audio software for Linux!


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Nov 07 2002 - 01:22:51 EET