--- doc/docbase/instrument_scripts/nksp/reference/functions/nksp_same_region_function.html 2017/05/28 15:22:55 3229 +++ doc/docbase/instrument_scripts/nksp/reference/functions/nksp_same_region_function.html 2017/05/28 15:29:35 3230 @@ -8,9 +8,9 @@
The key range (or note range if you will) of instruments is assigned to - one more multiple keyboard regions. So each "region" is responsible for + one or more keyboard regions. So each "region" is responsible for mapping audio samples and synthesis parameters for a certain key range. - This function takes two keys on the keyboard (as MIDI note numbers) as + This function takes two keys on the keyboard (as MIDI note number) as arguments and checks the region relationship of the two keys, that is if the two keys have a region mapped each, and if yes how the relationship of those two regions exactly is. So the result value of this function depends on the @@ -31,13 +31,13 @@
??key1??
??key2??
0
: Both keys have a region, however they are two different
regions, which also and don't overlap each other.??key1??
has a region, ??key2??
does not have any region.??key1??
does not have any region, ??key2??
has a region.??key1??
and ??key2??
both don't have any region.
+ 1
: Both keys have a region and it is exactly the same region.2
: Both keys have a region, which are two different regions, and which are overlapping each other though.3
: ??key1??
has a region, ??key2??
does not have any region.4
: ??key1??
does not have any region, ??key2??
has a region.5
: ??key1??
and ??key2??
both don't have any region.