Renoise doesn't correctly parse several SFZ opcodes

I have a lot of SFZ files, both downloaded from the internet, and SF2 soundfonts converted to SFZ with Polyphone. For many of them (especially drum kits), when I load them into Renoise, about half of the samples are several octaves out of pitch. This is because Renoise is incorrectly parsing some of the SFZ opcodes such as key, lokey, hikey, and pitch_keycenter.

Could you upload/link a simple example? That would make things easier to test here.

4 Likes

This is a small snippet from one of the SFZs:

<group>
pitch_keytrack=0
volume=-1.155
effect1=8

<region> sample=drm-AmbRockBD1.flac
lokey=36
hikey=36
pitch_keycenter=60
lovel=115
hivel=127
loop_mode=no_loop
ampeg_decay=14.998
ampeg_release=14.998

It loads correctly in sfizz, but to make it load in Renoise with the correct pitch, you have to remove the lines pitch_keytrack=0 and pitch_keycenter=60, then change lokey=36 hikey=36 to key=36.

1 Like