From b2aba514b25688d19b119b0bf769151bd6a12228 Mon Sep 17 00:00:00 2001 From: veejay <> Date: Tue, 17 Oct 2023 20:40:16 +0200 Subject: [PATCH] invert out point --- veejay-current/veejay-client/src/vj-midi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/veejay-current/veejay-client/src/vj-midi.c b/veejay-current/veejay-client/src/vj-midi.c index 994be75c..38c3aeb4 100644 --- a/veejay-current/veejay-client/src/vj-midi.c +++ b/veejay-current/veejay-client/src/vj-midi.c @@ -489,6 +489,8 @@ static void vj_midi_send_vims_now( vmidi_t *v, int *data ) // 115 = frame if( tmpv[0] == 108 || tmpv[0] == 109 || tmpv[0] == 115 ) { //@ VIMS: sample marker events, replace frame for control/param value + if(d->extra == 3 ) + val = 127 - val; snprintf(vims_msg, sizeof(vims_msg), "%03d:%d %d;", tmpv[0], 0, (int) val ); veejay_msg(VEEJAY_MSG_DEBUG, "\t(midi) send sample_id 0 (current) with value %d to VIMS %d", val, tmpv[0]); }