How to create an sfz soundfont to be uploaded via Webconf

I tried uploading an sfz sampleset using Webconf. I selected “Sfizz: SFZ” and then uploaded the tar.gz file. This archive works just fine when unloaded in /zynthian/zynthian-my-data/soundfonts/sfz . But when I tried using Webconf, I got

Can’t install file: Destiny is not a directory!

Is it broken, or did I create the archive incorrectly?

Try creating a “bank” subfolder and copying inside it.

I don’t understand. I just used Webconf to upload the tar.gz file:

Webconf → Library → Presets and Soundfonts → (select Sfizz:SFZ in the drop-down) → Upload (… file formats …)

Should the tar file have a “blank” folder in it? I didn’t set any destination, other than selecting “Sfizz:SFZ.”

Or should I create a “blank” subdir in /zynthian/zynthian-my-data/soundfonts/sfz ?

Hi @jlearman !

The SFZ soundfonts MUST be placed into subfolders (banks) inside the sfz folder.
When using the webconf’s presets & soundfonts, you must choose (select/highlight) the bank where the soundfont will be uploaded and uncompressed. By default , only “system” banks are shown because only these banks does exist. You can create user banks by entering the bank name in the “New Bank” input box and pushing the “+” button.

I just tested and it worked for me. If it’s not working for you, please be more detailed. Specify the EXACT list of steps you followed to get the error.

Regards

1 Like

Aha! So, what you’re saying is that, in Webconf, in addition to choosing the engine from the dropdown list, I also have to choose an existing Bank, or use the “+ New Bank” button and give it a name. Now that I know, it makes more sense! When I created a new bank, it worked (but added an unnecessary level of folders, because my zip file has a containing folder.)

When just a folder (like User or Sys) is selected but not a bank, it’s not obvious that the user hasn’t done all that’s necessary, and that’s the source of my confusion.

Perhaps we could make that clearer on the webpage, or in the page script make sure a bank is selected. If you can point me to where that’s located in zynthian repos I’d be happy to take a look.

We need to document somewhere (probably the wiki) exactly what a soundfont archive should contain.

Personally, I like it to include the name of the instrument as the outer folder in the archive, but that’s not how it’s set up now: the user has to specify it (by creating a “bank”) when using Webconf. Of course, I’m looking at this from a narrow viewpoint, and I realize it handles a lot of different cases.

Curious you say this because indeed we already fixed this some time ago and the “upload” options are not shown unless a bank is selected.
I just tested and, at least in my firefox/linux, it works as expected. You MUST select a bank before the upload options are shown.

Could you explain the behaviour you observe and the OS and browser you are using?

Thanks!

Maybe I’m just due for an update. My Vangelis is probably a month old now. I use Firefox on Windows. I’ll upgrade and test again and let you know. What you describe would have avoided my confusion.

1 Like