Sign in

How to delete the EOP preset in sf2

Category: Help
  • JB 2 0
    Message from Jason Best on
    When a sf2 made by polyphone imported in Studio One, there will be 2 presets under the file. One is the soundfont we need, another is an empty file named 'eop'. Is there a way to aviod this situation? In Studio One Windows version, users can't just drag and place the sf2 beacause of this 'eop' preset. Because the Presence always load this empty preset first.
    截屏2022-09-0923.14.22.png
  • ZI 190 0
    Message from ziyametedemircan on 1
    You shouldn't see that there. Because "EOP" stands for "End of Presets".
    A sound font can use zero-termination or EOP to finish presets.
    If the software you are using sees the EOP termination as a preset, there is a problem.

    SFspec24, Page 22:
    "The terminal sfPresetHeader record should never be accessed, and exists only to provide a terminal wPresetBagNdx with which to determine the number of zones in the last preset. All other values are conventionally zero, with the exception of achPresetName, which can optionally be “EOP” indicating end of presets."
  • MS 1 0
    No matter if we should or shouldn't see it, we do see it.

    I can confirm - the problem is still present in Studio One 5 Artist that I use: when opening a sf2 in Presence, it DOES see the "EOP" as a preset and DOES try to open it - ending up with nothing loaded into the sampler eventually. The "EOP" will usually (but not always) go first in the list, so many soundfonts will seem to be broken when you try and open them, unless you manually 'unzip' the sf2 and drag a proper preset onto Presence.
    A few minutes ago I edited a sf2 in Polyphone (to solve some mapping bugs it had). Before the editing the soundfont did not show any "EOP" but would just load into Presence as it should (it was a one-preset soundfont). After editing and resaving it in Polyphone, it now has virtually TWO presets as shown in the Studio One's browser, and one of them (the first one) is the "EOP". Which shouldn't be there, but yet it is.

    I couldn't find any relevant options in Polyphone to solve this problem, hence writing here in this forum.
    Hope the solution will be eventually found. Peace!
    2023-03-26_01-44-56.jpg
    2023-03-26_01-46-55.jpg
  • JB 2 0
    Message from Jason Best on
    Yes, it's really strange to see that.
    My final solution last time, is to open with another sf2 editor such as Viena SoundFont Editor and export.
    This way lead to a correct result with no 'eop' shown in Studio One.
    However, if I want to edit the sf2 file with Polyphone again, anyting in it become a mess.
    Hope to see fixes.

Sign in or register to take part in discussions.

Polyphone needs you!

Polyphone is free but there are costs associated with its website and development. A small donation will help a lot.

Donate
Learn the basics Try a tutorial
Scroll to
top