Editing SFZ files

Discuss playback problems, including VST, Garritan, MIDI, etc.

Moderators: Peter Thomsen, miker

BuonTempi
Posts: 1297
Joined: Fri Aug 20, 2010 8:59 am
Finale Version: Finale 27
Operating System: Mac

Post by BuonTempi » Sun Jun 04, 2017 1:10 pm

Can anyone offer advice on how to edit SFZ files? I want to add one more note (35, a bottom B) to the range of the Pipe Organ - Flutes GIFF instrument.

The SFZ has these two entries:

Code: Select all

<region>  lovel=1  hivel=127  key=36  amplitude=100  tune=0  loop_mode=loop_continuous  loop_start=58835  loop_end=134568  sample=SPFlutesC2_0002102C.audio
<region>  lovel=1  hivel=127  lokey=37  hikey=39  pitch_keycenter=38  amplitude=100  tune=0  loop_mode=loop_continuous  loop_start=64515  loop_end=110331  sample=SPFlutesD2_0002102C.audio
The first one is for a single note, rather than a range. So I tried replacing

Code: Select all

key=36
with

Code: Select all

 lokey=34  hikey=36  pitch_keycenter=35
, but I get the wrong (one semitone higher) notes played. I'm presuming it has something to do with the loop start and end values, though I don't know what these are or how you calculate them.

I can achieve an OK result by repeating the first line, with

Code: Select all

tune=-100
. But I'm hoping there's a better way.


User avatar
David Ward
Posts: 814
Joined: Thu Dec 01, 2016 4:48 pm
Finale Version: F 25.5 & 26.3
Operating System: Mac

Post by David Ward » Sun Jun 04, 2017 3:32 pm

I have done it, but not very recently. I remember that when I did do it, I had to enter the (same) new ‘lokey’ and ‘hikey’ values in two completely different places. Perhaps look to see if these figures occur again a second time in the sfz text.

Someone else will probably have more precise information.
Finale 25.5 & 26.3
Mac 10.13.6 & 10.14.6

User avatar
gogreen
Posts: 305
Joined: Fri Dec 02, 2016 12:50 am
Finale Version: Finale 26.3
Operating System: Mac

Post by gogreen » Sun Jun 04, 2017 7:06 pm

Art
Finale 27
NotePerformer, GPO5, COMB2
MacOS Ventura 13.6.4
https://www.amazon.com/dp/B08BRHBTHT/ref=sr_1_2?dchild=1&keywords=%22Arthur+J.+Michaels%22&qid=1593016536&sr=8-2

BuonTempi
Posts: 1297
Joined: Fri Aug 20, 2010 8:59 am
Finale Version: Finale 27
Operating System: Mac

Post by BuonTempi » Sun Jun 04, 2017 8:46 pm

I've read the other posts and the MM help article.

They all seem to suggest that just changing the lokey value will fix it: that's not my experience, and it is made more problematic when the lowest region data is one note, not a range.

However, I've discovered there's a transpose data key. So copying the lowest region data, lowering the key value y one and replacing "tune=0" with "transpose =-1" seems to work for this limited instance.

Post Reply