LSCP commands

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
Norbert Stellberg
Newbie
Posts: 10
Joined: Wed May 12, 2010 7:46 am

LSCP commands

Post by Norbert Stellberg » Wed May 12, 2010 7:48 am

Hello,

where can I find a completed list of all LSCP commands?

thx.
with best regards
Norbert

Andreas
Developer
Posts: 214
Joined: Sun Feb 03, 2008 8:33 am

Re: LSCP commands

Post by Andreas » Thu May 13, 2010 10:36 am


Norbert Stellberg
Newbie
Posts: 10
Joined: Wed May 12, 2010 7:46 am

Re: LSCP commands

Post by Norbert Stellberg » Thu May 13, 2010 1:47 pm

Hello,
thanks.

Has you a tip where I can found a completed setting for windows?
I see allways Jack and Alsa, and not settings for windows.

with best regards
Norbert

Alex
Moderator
Posts: 316
Joined: Wed Jan 23, 2008 9:08 pm

Re: LSCP commands

Post by Alex » Sat May 15, 2010 7:32 am

Norbert,
I'm not using Windows, but there is a jack version for windows, so maybe that will give you more options.

http://jackaudio.org/download

(Windows is jack2, down the page a little)

Good luck.

Alex.

ggoodesa
Advanced User
Posts: 116
Joined: Thu Aug 14, 2008 6:48 pm

Re: LSCP commands

Post by ggoodesa » Sun May 16, 2010 8:46 am

Hi Norbert,
Linuxsampler running in Windows uses the ASIO audio driver. While it may be possible to compile 'linuxsampler for windows' with 'jack for window's support, this has not been done (please developers, if this is possible could we make it so!). If you need more information about what the LSCP commands look like for the ASIO drivers let me know and I'll load up linuxsampler in Windows and do a couple of configurations to send to you.
GrahamG

Norbert Stellberg
Newbie
Posts: 10
Joined: Wed May 12, 2010 7:46 am

Re: LSCP commands

Post by Norbert Stellberg » Sun May 16, 2010 4:42 pm

Hello,
thank you very much for your proposition.
It will very helpfull for me.
At the moment I cannot use jack for windows. I build a program for any users. An additional setting for jack ist
at the moment not possible.

I have made a good configuration with LSCP commands.
But any details are very unclearly for me.

Audio output is ok. (I think so)
CREATE AUDIO_OUTPUT_DEVICE ASIO ACTIVE='true' CARD='ASIO4ALL v2' CHANNELS='8' FRAGMENTSIZE='512' SAMPLERATE='44100'

Can I made ONLY 1 audio outputport?
What means this commands?
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 NAME='Channel 0'
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 NAME='Channel 1'
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 2 NAME='Channel 2'
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 3 NAME='Channel 3'

Ok. Midi In is ok for 1 channel.

# MIDI MME Device 1
CREATE MIDI_INPUT_DEVICE MME ACTIVE='true' PORTS='1'
SET MIDI_INPUT_PORT_PARAMETER 1 0 NAME='Port 0'
SET MIDI_INPUT_PORT_PARAMETER 1 0 PORT='SB Audigy 2 ZS MIDI IO [E800]'

this works for 1 inputport. But I have 4 inputports. It is unclearly for me, what I must set.

ADD MIDI_INSTRUMENT_MAP 'Chromatic'
ADD MIDI_INSTRUMENT_MAP 'Drum Kits'

This is ok,

And now the big problem for me:
# Channel 0
ADD CHANNEL
SET CHANNEL AUDIO_OUTPUT_DEVICE 0 0
SET CHANNEL MIDI_INPUT_DEVICE 0 1
SET CHANNEL MIDI_INPUT_PORT 0 0
SET CHANNEL MIDI_INPUT_CHANNEL 0 0
LOAD ENGINE GIG 0

LOAD INSTRUMENT NON_MODAL 'h:/XGT2/Piano/GrandPiano.gig' 0 0
Ok, I can play a Piano.
But what must I do, when I will hear a Piano on Channel 0 and Strings on Channel 1 at the same time?

And what must I do, when I will hear a Piano on Channel 0 Midi In Port 0, Channel 0 and Strings on Midi InPort 1, Channel 0 at the same time?

And an other question:
How can I load a SF2 instrument?

Thanks
with best regards
Norbert

Post Reply