[Freepats] [LAU] Steinway_IMIS2 soundfont

Roberto Gordo Saez roberto.gordo at gmail.com
Fri Jul 6 23:15:52 EST 2007


On Thu, Jul 05, 2007 at 08:35:17AM -0700, Ben Collver wrote:
> When converting from XML to SF2, pysf enabled looping if it found loop 
> points.  The original soundfont file had loop points, and the new soundfont 
> file had looping enabled.  Here is the culprit code.
>                if Loopstart != 0 or Loopend != 0:
>                    LoopType = 3 # Release
>                else:
>                    LoopType = 0 # None

Interesting. I was not aware of the fact that sf2 files could contain
unused (not enabled) loop points inside.

> I've updated my working copy of pysf.py to fix this issue.  You can get it 
> at the following URL.
> http://terrorpin.net/~ben/docs/alt/music/soundfont/pysf-wip/pysf.py

Thank you!


More information about the Freepats mailing list