lscp(1)

πŸ“¦ version 2.5.0, in arch rolling

πŸ’… lscp β€” the LinuxSampler Control Protocol (LSCP) shell

okay bestie so this is lscp, aka the LinuxSampler Control Protocol (LSCP) shell πŸŽ€ β€” the lil command-line bestie that lets you talk to a running instance of linuxsampler(1).

✨ SYNOPSIS ✨

lscp [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: the LSCP shell lets you control a running instance of linuxsampler(1) straight from the command line πŸ’–. By default it assumes LinuxSampler is running on the local machine, and accordingly it'll try to connect to LinuxSampler on the local machine. But no cap, you can also connect to LinuxSampler instances running on any another machine available on the network 🌈. Iconic, right?

Since LSCP is essentially just a human readable text protocol, you could also control the sampler simply by using telnet(1) or netcat(1) β€” but here's the thing: the LSCP shell is aware of the details of the LSCP protocol, so it has various advantages, i.e. it provides:

  • colored highlighting of correct, incorrect and complete commands while typing them on the terminal ✨
  • automatic correction of obvious and trivial syntax errors 🫢
  • visual suggestion for completing the current command πŸ‘‘
  • auto completion by Tab key πŸ’…

You can find examples and detailed informations about LinuxSampler's network protocol (LSCP) at:

http://linuxsampler.org/documentation.html#lscp_spec

The LSCP shell is designed as a thin client, that is it forwards the individual key strokes to the sampler's LSCP server, which will actually perform all the LSCP knowledge based operations like syntactical error checks and suggestions for auto completions 🌸. The shell application then receives the generated informations and handles only output formatting on the command line terminal. This solution has one major advantage: one and the same LSCP shell can work with multiple different LinuxSampler versions and accordingly will still handle different LSCP versions correctly πŸ”₯. The way that just… works. Obsessed.


🌟 OPTIONS 🌟

  • -h HOSTNAME, --host HOSTNAME β€” host name of LSCP server (default "localhost") πŸ’»
  • -p PORTNR, --port PORTNR β€” TCP port number of LSCP server (default 8888) πŸ”Œ
  • --no-auto-correct β€” don't perform auto correction of obvious syntax errors πŸ™ˆ
  • --no-doc β€” don't show LSCP reference documentation on screen πŸ“„

πŸŽ€ ENVIRONMENT VARIABLES πŸŽ€

None (yet). literally none, bestie β€” she's not there yet πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

linuxsampler(1)

πŸ› BUGS πŸ›

Report bugs to:

http://bugs.linuxsampler.org

🫢 AUTHOR 🫢

Written by Christian Schoenebeck <cuse@users.sf.net>


k that's the whole vibe check, mwah πŸ’‹ β€” this page is from linuxsampler 2.5.0, dated 09 Mar 2014, so go forth and slay those LSCP commands bestie πŸ§šπŸ’œ

πŸ“¦ where this page comes from