Sending note events to linuxsampler

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
MarcTheSpark
Newbie
Posts: 1
Joined: Tue Nov 06, 2018 8:31 am

Sending note events to linuxsampler

Post by MarcTheSpark » Tue Nov 06, 2018 9:20 am

Hi all,

I've been looking into writing a linuxsampler front-end / wrapper in Python, and I managed to get as far as sending LSCP messages to create a channel, load an instrument, etc., but I'm not clear on how I actually play notes. Do I just send MIDI messages? If so, to where -- the same port that I'm sending the LSCP messages?

If you can point me to any resources that I'm missing, that might be helpful. So far, all I see is the LSCP memo, and it just states that it's not going to talk about how to play notes and the like.

Thanks!

Marc

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: Sending note events to linuxsampler

Post by cuse » Thu Dec 13, 2018 6:42 pm

SEND CHANNEL MIDI_DATA <midi-msg> <sampler-chan> <arg1> <arg2> is what you want.

You can either use the same network connection or make a separate connection, as you like. It is always the same port number you connect to though.

For developer issues better use the developer mailing list. Better response times. ;-)

Post Reply