Bug 134 - SFZ fails to load: Not an integer
Summary: SFZ fails to load: Not an integer
Status: CLOSED FIXED
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: gig::Engine (show other bugs)
Version: SVN Trunk
Hardware: PC Linux
: P2 blocker
Assignee: Christian Schoenebeck
URL:
Depends on:
Blocks:
 
Reported: 2009-11-19 03:29 CET by Chris Cherrett
Modified: 2013-05-31 18:32 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cherrett 2009-11-19 03:29:57 CET
I am trying to duplicate a VSL Performance Legato Instrument using SFZ. I am
using the sample that is on the cakewalk site for the legato horns from VSL:

http://www.cakewalk.com/DevXchange/sfzsamples/horn.rar

I made a few changes to the file, like switched the direction of the slashes \ to /

I get the following error when trying to load the sfz:

Scheduling '/home/chris/Drive2/VSL/PRO/Performance_Set/26
Horn/20_HO_PERF-LEGATO_SFZ/20_HO_PERF-LEGATO.sfz' (Index=0) to be loaded in
background (if not loaded yet).
Loading sfz file '/home/chris/Drive2/VSL/PRO/Performance_Set/26
Horn/20_HO_PERF-LEGATO_SFZ/20_HO_PERF-LEGATO.sfz'...
The opcode 'offby' is unsupported by libsfz!
The opcode 'offmode' is unsupported by libsfz!
sfz::Engine error: Failed to load instrument, cause: Not an integer

So I commented out offby and offmode but I still get:

sfz::Engine error: Failed to load instrument, cause: Not an integer

Any help would be appreciated!

Thanks!

P.S. here is my current .sfz file:

http://www.tsiwebdesign.com/testing/20_HO_PERF-LEGATO.sfz
Comment 1 Andreas Persson 2010-02-14 12:38:44 CET
This should be fixed now. The sfz parser didn't recognize key values written
like "C#4", only numerical values.