Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

gig_set_dim_zone()

Overrides and selects another active zone of a particular GigaStudio dimension. Usually each dimension is assigned to some MIDI controller, or to note-on velocity or other sources, and by changing the respective MIDI controller or velocity or the respective source, the respective dimension zone is selected accordingly. With this function you have an alternative to change the currently active dimension zone(s) programmatically at any time.

Function Prototype

gig_set_dim_zone(events, dimension, zone)

Arguments

Argument Name Data Type Description
events Event Group ID Number or Event Group ID Array Note on event ID(s) of the note(s) where the current dimension zone shall be changed.
[required]
dimension Dimension ID Number The dimension that shall be changed. You should pass one of the built-in constants (listed below) to select one of the available dimension types.
[required]
zone Integer Number The zone index of the dimension that shall become active.
[required]

Return Value

None.

Dimension Constants

You should use one of the following built-in constants for the dimension argument:

Examples

None yet.

Document Updated:  2017-04-21  |  Author:  Christian Schoenebeck