Notifications
Clear all

ConvertWithMoss

5 Posts
2 Users
0 Reactions
165 Views
(@tony10000)
Member
Joined: 5 years ago
Posts: 201
Topic starter  

The latest version (7.5) is out:

 

https://youtu.be/4ojZ_05w0WM?si=tzfv81JlMaehH2yi

 

I asked the developer to provide Unify support (again) and this is how he responded:

 

@TonyThomas10000
@TonyThomas10000
16 hours ago
I wish you would add support for PluginGuru Unify!

Reply

Highlighted reply
@mossgraber
@mossgraber
6 hours ago
I was in touch with the developer some time ago and he wanted to add SFZ support.

Reply


   
Quote
(@getdunne)
Illustrious Member Admin
Joined: 5 years ago
Posts: 4500
 

I looked up my emails with Jürgen Moßgraber. Basically, I gave him an NFR license for Unify, and asked if he would consider supporting our simplified variant of the SFZ file-format. He responded by suggesting I should change Guru Sampler instead, and that was it. Changing Guru Sampler's metadata format is something I'm loath to do, because it could lead to many bugs, but I'll have a look at Jürgen's latest software and see what might be possible.

In the meantime, if Bjoern's Sample Mapper works for you (some PC users report issues), you can drag/drop pretty much any SFZ file into it, including SFZs output by Convert With Moss or any other sample converter, and then export a version that works with Guru Sampler. Just make sure you have checked "SFZ Export: PlugInGuru Unify format (experimental)" in Preferences.


   
ReplyQuote
(@tony10000)
Member
Joined: 5 years ago
Posts: 201
Topic starter  

@getdunne I remember that very well.  I was thinking that you might want to reach out to him again to see if he would reconsider as Unify has a larger user base now.  I really prefer ConvertWithMiss to Bjoern's.

https://www.mossgrabers.de/Software/ConvertWithMoss/ConvertWithMoss.html


   
ReplyQuote
(@getdunne)
Illustrious Member Admin
Joined: 5 years ago
Posts: 4500
 

Posted by: @tony10000

... you might want to reach out to him again to see if he would reconsider as Unify has a larger user base now.

It's probably simpler to do what Jürgen suggested, and improve how Guru Sampler parses SFZ files in a future update.

In the meantime, if you're able to use Python, I've written a batch conversion utility you can use. Unzip the attached zip and put fix-moss-sfz.py into any folder containing SFZ files created by ConvertWithMoss, and execute it there. You'll need to open a terminal window in that folder, and type e.g.

python ./fix-moss-sfz.py

This will read all .sfz files in the folder and attempt to rewrite them in a format suitable for Guru Sampler. I'd suggest zipping up all the SFZ files first, so you can revert back to what ConvertWithMoss originally outputs, should it fail.

Note 1: This code is based on a very limited number of tests I did here, using ConvertWithMoss on some older Kontakt sample-sets. It's highly likely that there will be cases where it will fail, because ConvertWithMoss outputs something I haven't seen yet. If you find SFZs that don't work, feel free to zip and attach here, so I can analyze them and improve my code.

Note 2Guru Sampler is NOT an "SFZ player" and was never intended to be, so there will be quite a few SFZs that it won't play as expected, even if the format is correct. The main issue is that Guru Sampler only ever plays one sample per note, so if your SFZ specifies overlapping sample groups, Guru Sampler will treat these as round-robins, and choose randomly among candidate samples for each note. In Unify, we use multiple instances of Guru Sampler on separate layers to handle overlapping sample groups, but you will need to split your SFZs manually in order to do this.


   
ReplyQuote
(@getdunne)
Illustrious Member Admin
Joined: 5 years ago
Posts: 4500
 

UPDATE: In the attached zip archive fix-moss.zip, I have added a second Python script called fix-all-sfz.py, which is meant to be placed one level above the previous one, and will perform the conversion on all sub-folders.

Suppose you want to create a new Unify library with certain converted samples available. The basic procedure is:

  1. Start by saving a new patch and choosing "New Library..." at the bottom of the library-name menu, then specifying the new library name; this will create the basic folder structure.
  2. Right-click the new patch in Unify's patch browser and choose "Show in Explorer" ("Show in Finder" on Mac) to open the new library's Patches folder.
  3. Navigate one level UP, to the library folder itself, and create a new sub-folder called Samples (sibling to the Patches folder).
  4. Navigate one level DOWN, into the new Samples folder, and create sub-folders for every group of SFZ samples you want to see in the middle pop-up menu (bank selector) in Guru Sampler after choosing your new library in the left menu.
  5. Populate each of your sub-folders (you can have just one if you want) with converted SFZ files.

If you're using ConvertWithMoss to convert a sample library that already has sub-folders, you can skip steps 4 and 5 and simply specify the main folder (parent folder of all those sub-folders) as the Source, and your new library's Samples folder as the Destination. ConvertWithMoss will then create all the necessary sub-folders in your new library's Samples folder. To complete the conversion, put the fix-all-sfz.py script file into the Samples folder, open a terminal window there, and type

python ./fix-all-sfz.py

NOTE Guru Sampler and the fix-all-sfz.py script can only handle exactly ONE level of sub-folders in each Samples folder. If you end up with folders inside folders, you will have to flatten the folder structure manually first, before running the script.


   
ReplyQuote
Share: