transpose Opcode

With this opcode you can change the original pitch of the sample, increasing or decreasing it within the range of +-127 semitones.
If you want to increase or decrease the pitch within a semitone, please see the tune opcode.

Opcode Prototype

transpose=??semitones??

Parameter

The mandatory ??semitones?? parameter defines the amount of pitch shifting. This parameter accepts values from -127 to 127.

Allowed Sections

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

Examples

Create the first four semitones of a piano octave using only one sample.

<group> sample=mysamples/piano-c1.wav <region> key=24 <region> key=25 transpose=1 <region> key=26 transpose=2 <region> key=27 transpose=3

Availabilty

Since LinuxSampler 2.0.0

Conforms to SFZ v1 Standard.