What is KVR Audio? | Submit News | Advertise | Developer Account

Options (Affects News & Product results only):

OS:
Format:
Include:
Quick Search KVR

"Quick Search" KVR Audio's Product Database, News Items, Developer Listings, Forum Topics and videos here. For advanced Product Database searching please use the full product search. For the forum you can use the phpBB forum search.

To utilize the power of Google you can use the integrated Google Site Search.

Products 0

Developers 0

News 0

Forum 0

Videos 0

Search  

SF2 error on project load (Reaper)

Official support for: tx16wx.com

Moderator: elcallio

KVRer
 
11 posts since 16 Dec, 2013

Postby A Little Man and a House; Sat Jan 11, 2014 2:26 pm SF2 error on project load (Reaper)

I'm using Reaper to load a particular SF2 bank in Reaper. It plays fine, but when I save and load the project file it fails to load and sometimes crashes Reaper. It might just be a buggy sf2, since its only happens with this bank (SFZ player loads it fine though)
It's given either of these messages when loading the project:
Could not read XML data 10:61; '61' violates maxInclusive constraint of '50'. The attribute '{http://www.tx16wx.com/2.0/program}fine' with value '61' failed to parse.

Could not read XML data 10:61; Unspecified error: Wave reference out of range: 288

The SF2 is on this page: http://www.williamkage.com/snes_soundfonts (it's the Earthbound one)
KVRian
 
786 posts since 27 May, 2005, from Stockholm
 

Postby elcallio; Sun Jan 12, 2014 6:33 am Re: SF2 error on project load (Reaper)

The SF2 is not buggy, except for maybe the fact that it has several samples using the same name, which is in general bad for exporting. The issue you've encountered however is because pitch information for waves were not normalized on import, resulting in invalid tuning values (tx16wx only allows [-50,50] range).

I've hotfixed the issue, there is a 2.3.1a available in the download section.
Cheers
/C
TX16Wx Software Sampler:
http://www.tx16wx.com/
KVRer
 
11 posts since 16 Dec, 2013

Postby A Little Man and a House; Sun Jan 12, 2014 2:16 pm Re: SF2 error on project load (Reaper)

That was fast, I am super impressed. Downloaded and everything is running smoothly now. Thanks.
KVRer
 
11 posts since 16 Dec, 2013

Postby A Little Man and a House; Tue Mar 04, 2014 9:01 pm Re: SF2 error on project load (Reaper)

I'm bumping my topic because the problem is related.
I loaded an sf2 from above website (the yoshi's island one), had set up several channel slots and outs. Reaper crashed (not responding). On loading project, it displays this message:

could not read xml data 10:82; unspecified error: stoi argument out of range

The SF2 bank is gone, as are channel slots, groups, splits and so on.

I don't think it is directly caused by crash, because pre-crash backups have same the problem.
KVRer
 
11 posts since 16 Dec, 2013

Postby A Little Man and a House; Tue Mar 04, 2014 9:35 pm Re: SF2 error on project load (Reaper)

also, tx16wx becomes unstable and usually crashes when I load the GeneralUser GS soundfont, available at schristiancollins.com/generaluser.php

I'm still using 2.3.1a and cannot easily update right now, so sorry if these things are already patched.
KVRian
 
786 posts since 27 May, 2005, from Stockholm
 

Postby elcallio; Wed Mar 05, 2014 12:22 am Re: SF2 error on project load (Reaper)

A Little Man and a House wrote:I'm bumping my topic because the problem is related.
I loaded an sf2 from above website (the yoshi's island one), had set up several channel slots and outs. Reaper crashed (not responding). On loading project, it displays this message:

could not read xml data 10:82; unspecified error: stoi argument out of range

The SF2 bank is gone, as are channel slots, groups, splits and so on.

I don't think it is directly caused by crash, because pre-crash backups have same the problem.


As usual, send me the project + all related files and I will look at it.
TX16Wx Software Sampler:
http://www.tx16wx.com/
KVRer
 
9 posts since 31 Mar, 2013

Postby Llamatron; Wed Mar 26, 2014 5:04 am Re: SF2 error on project load (Reaper)

Bumping too because I have the exact same problem than in the OP, except it happens when having imported the soundfont as SFZ from the Program import, instead of SF2 from the Bank one.

Also, how come Program supports SFZ import but not SF2, and the other way around for Banks?
KVRian
 
786 posts since 27 May, 2005, from Stockholm
 

Postby elcallio; Wed Mar 26, 2014 8:58 am Re: SF2 error on project load (Reaper)

Thanks for the SFZ, exactly same issue indeed. A one liner fix as well (did not handle illegal pitch offsets when root key override was added).

I've updated the current 2.3.2 beta with the fix.

To answer your question: SF2 is a monolithic format containing any number of "programs", thus it can not be loaded as a single program, since "which is the one you want?".
You can however browse inside SF2 files in the file browser and load individual SF-programs instead of the whole file.
TX16Wx Software Sampler:
http://www.tx16wx.com/
KVRer
 
9 posts since 31 Mar, 2013

Postby Llamatron; Wed Mar 26, 2014 9:46 am Re: SF2 error on project load (Reaper)

Thanks for your reactivity and your explaination!

Moderator: elcallio

Return to CWITEC