Hi Christian,

Many thanks for that indepth explanation.

gig_set_dim_zone was my next area to investigate, but I had forgotten you
could do things like $newnote := play_note.

My test script looks like this now and it works, selecting the specific
dimension (i'm not sure if "ignore_event" is necessary):

on init
declare $newnote
end on

on note

ignore_event

$newnote := play_note($EVENT_NOTE, $EVENT_VELOCITY, -1, -2)
gig_set_dim_zone($newnote, $GIG_DIM_SMARTMIDI, 6)

end on

Originally I was doing the following and not understanding why it didn't
work:

gig_set_dim_zone($newnote, $GIG_DIM_SMARTMIDI, 6)
play_note($EVENT_NOTE, $EVENT_VELOCITY, -1, -2)

Thanks again,

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

Reply via email to