Re: [Linuxsampler-devel] [linuxsampler-devel] Scripting keyswitches in NKSP

2019-06-27 Thread Christian Schoenebeck
On Donnerstag, 27. Juni 2019 12:25:36 CEST Andrew C wrote: > 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_N

Re: [Linuxsampler-devel] [linuxsampler-devel] Scripting keyswitches in NKSP

2019-06-27 Thread Andrew C
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 neces

Re: [Linuxsampler-devel] [linuxsampler-devel] Scripting keyswitches in NKSP

2019-06-27 Thread Christian Schoenebeck
On Donnerstag, 27. Juni 2019 12:34:52 CEST Christian Schoenebeck wrote: > to check for a certain key currently being pressed down and then switch to > the desired dimension zone of the smart midi dimension: > > gig_set_dim_zone($newNote, $GIG_DIM_SMART_MIDI, 2) > > where the last argument s

Re: [Linuxsampler-devel] [linuxsampler-devel] Scripting keyswitches in NKSP

2019-06-27 Thread Christian Schoenebeck
On Donnerstag, 27. Juni 2019 10:36:54 CEST Andrew C wrote: > Am I SOL on scripting MIDI notes that can affect keyswitch areas of the > keyboard? > While I thought set_gig_dimension would point me in the right direction, > but it does not seem to have any bearing on the keyswitch dimension. These a

[Linuxsampler-devel] [linuxsampler-devel] Scripting keyswitches in NKSP

2019-06-27 Thread Andrew C
Hi all, Been reading through the NKSP documentation again and trying to undeerstand how to trigger keyswitches from a script. All I can find are play_note, change_note and set_par_event play_note says: almost like generating a new MIDI note-on event programmatically, with the difference though .

Re: [Linuxsampler-devel] [linuxsampler-devel] Crossfade bug workaround

2019-06-27 Thread Christian Schoenebeck
On Mittwoch, 26. Juni 2019 10:35:27 CEST Andrew C wrote: > Dunno if this is a bug or a feature, but I've figured out a reliable and > reproducible way to get around the crossfade weirdness in gigedit. > > The problem is if you have a single dimension selected and start trying to > move the crossfa

Re: [Linuxsampler-devel] [linuxsampler-devel] Replace all samples

2019-06-27 Thread Christian Schoenebeck
On Mittwoch, 26. Juni 2019 10:28:34 CEST Andrew C wrote: > Hi all, > > If I extract all wav files from a gig file for external audio processing, > then use the "replace all samples", will the imported/replaced samples > stayed mapped to their respective regions? Yes, that's the purpose of that fu