Skip to content

sw_lokey / sw_hikey

Defines the range of the keyboard to be used as trigger selectors for the sw_last opcode.

Basically, this tells the SFZ player where the keyswitches are. As such, it’s normally going to be the same for the entire instrument, so sw_lokey and sw_hikey will be set under the global header.

sw_lokey and sw_hikey can be entered in either MIDI note numbers (0 to 127) or in MIDI note names (C-1 to G9)


sw_lokey=48 sw_hikey=53
Name Version Type Default Range
sw_lokey SFZ v1 integer 0 0 to 127

Category: Region Logic, MIDI Conditions