Everything that has just been fixed and added, now working fine. Thanks for the 'amp_veltrack' it's great!
And yes! get one more bonus, the 'pitch_veltrack' which is very useful for percussion sounds.
I remember, this is the first sfz file that i saw using pitch_veltrack, Brad's Conga 1.0, still can be found here :
http://www.burtin.net/conga/Related to that conga sfz, the samples it uses is ogg files. I tested it, loaded but no sounds. Same also for sfz with flac samples.
I supposed those two sample formats not yet supported.
Since, you have added the Key to Hold/Decay for the soundfont, i like to explain how it translated to sfz.
First, there is no existing/fixed sfz v1.0 opcodes for those two parameters, so they can be made by adding the keyboard tracking function to the correspond parameters.
In sfz format version 1.0, there are some Beta opcodes and extended CC that added by the creator (later becoming v2.0 standard), can be found here and here :
http://www.drealm.info/sfz/plj-sfz.xhtml#newCChttps://docs.google.com/document/d/1UxPar5toq2uDrU4Gkf4jOGzV3ic-CAoRPo0cWE6xino/pubSo, the keyboard tracking CC is number 133. The sf2's key to hold/decay becoming :
- ampeg_holdcc133= & ampeg_decaycc133=
- pitcheg/fileg_holdcc133= & pitcheg/fileg_decaycc133=
I send you two examples of piano sounds which use these opcodes, one is the Synthgms piano for a comparison to look at.
So far, all good to me. I don't spot anymore bugs or problems. Various structured sfz files (v1.0) are succesfully loaded. Tune beyond -100/100 cents working fine (which is better than limited). Opcode priority is fine too.
Hope others can give suggestion too. Really impressive works, thanks Ian!