Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

tune Opcode

With this opcode you can fine tune the sample played. You can change the original pitch of the sample, increasing or decreasing it within the range of +-100 cents.
If you want to increase or decrease the pitch to more than a semitone, please see the transpose opcode.

Opcode Prototype



The mandatory cents parameter defines the amount of pitch shifting. This parameter accepts values from -100 to 100.

Allowed Sections

May be used in sections <global> and <region>.


Adjusts the pitch of a sample in a region.


Since LinuxSampler 2.0.0

Conforms to SFZ v1 Standard.

Document Updated:  2017-05-20  |  Author:  Nicola Pandini