Christian,

 

Probably more clear I translated the midi messages I send from jOrgan to
LSCP:

 

Note on:

"SEND CHANNEL MIDI_DATA NOTE_ON 0 60 127"

Note off:

"SEND CHANNEL MIDI_DATA NOTE_OFF 0 60 0"

 

Instrument/Stop on:

"SEND CHANNEL MIDI_DATA CC 0 7 127"

 

Instrument/Stop off:

"SEND CHANNEL MIDI_DATA CC 0 1 0"

"SEND CHANNEL MIDI_DATA CC 0 7 0"

 

Kind regards,

 

Jan Flikweert

 

-----Original Message-----
From: Christian Schoenebeck [mailto:schoeneb...@linuxsampler.org] 
Sent: maandag 27 december 2021 16:29
To: linuxsampler-devel@lists.sourceforge.net
Subject: Re: [Linuxsampler-devel] midi message fantasia note off

 

On Sonntag, 26. Dezember 2021 22:13:05 CET Jan Flikweert wrote:

> Hi,

> 

> I will explain my problem.

> 

> I am working with release samples/sfz.  This works good using fantasia.
Not

> good using jOrgan. jOrgan/Linuxsampler works very good, but without

> release.

 

JSampler and QSampler both control the sampler purely via network protocol

(called "LSCP"), in this case it is this LSCP command:

 

SEND CHANNEL MIDI_DATA <midi-msg> <sampler-chan> <arg1> <arg2>

 

http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html#rfc.section
.6.4.39

 

> I suppose it has to do with the note_off/note_on messages in

> jOrgan. Note on in jorgan is only set 144,set 36, set velocity. Note off
is

> set 128,set 36,.. and set 176,set 1, set 0 which is cc 1.

 

MIDI note-off is [1]:

1000nnnn 0kkkkkkk 0vvvvvvv

 

MIDI note-on is:

1001nnnn 0kkkkkkk 0vvvvvvv

 

MIDI control change is:

1011nnnn 0ccccccc 0vvvvvvv

 

Where

  nnnn is the MIDI channel number (0..15)

  kkkkkkk is the key/note number (0..127)

  ccccccc is the controller number (0..127)

  vvvvvvv is velocity (note-on / note-off) or

          the new controller value (0..127) (control change)

 

Note:

  - Note-On with velocity 0 means "note-off".

  - MIDI allows to omit the status byte on subsequent messages, which is

    called "running status". That's basically just a simple way of data

    compression [2].

 

[1]
https://www.midi.org/specifications-old/item/table-1-summary-of-midi-message

[2] http://midi.teragonaudio.com/tech/midispec/run.htm

  

CU

Christian

 

 

 

 

_______________________________________________

Linuxsampler-devel mailing list

Linuxsampler-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to