Sign in

All exported .wav files silent after command line sf2 > sfz conversion. GUI version ok

  • 2 0
    Message from protman on
    In an attempt to use the polyphone command line feature to batch convert some sf2 soundfonts to individual sfz instruments, 
    all the the exported .WAV files are silent. 
    They are the correct size and format, but simply silent. 
    This is an example command line export: polyphone -3 -i <file/to/convert> -d <output/directory> -o <output_file_name> -c <configuration> polyphone -3 -i GM.sf2https://www.polyphone.io/en/documentatio…annexes/command-line 
    The sfz instruments and the silent wav files do appear to have the correct parameters like individual sample loop points, key mapping, etc.
    This affects both the latest Windows and Ubuntu versions I tested. 
    I tried multiple configurations for the export options. 
    Performing the same type of export with the GUI versions results in wav files that do contain the original audio. 
    I tested about 20 different sf2 soundfonts. 

  • Me 13 0
    Message from Medfaith on
    Have you previously created an SFZ instrument that worked in a DAW, or a VST like Plogue's Sforzando?
  • 2 0
    Message from protman on
    Medfaith on -
    Have you previously created an SFZ instrument that worked in a DAW, or a VST like Plogue's Sforzando?
    Yes. 
    Can you clarify how that pertains to my report? 
    My report is of a specific issue where sfz export works as intended through the Polyphone GUI. 
    Exporting with the same settings via the command-line interface results in the same sfz files with the same options produced.
    The only difference is that when using the command-line version, the wav files are all silent, as if someone had run a batch command to silence all of them while maintaining the same wav file length. 
    Thanks
  • Me 13 0
    Message from Medfaith on
    Since you reported a problem converting to SFZ, I was curious to learn if you had ever succeeded in exporting an SFZ instrument file that worked. Having labored for 2 weeks in trying to  get help in getting Polyphone to export a working SFZ, I began to think I was the only person interested in this file format as I could not find anyone who could answer my question. 

    Anyway, I discovered that Polyphone has a bug.: it reverses the MIDI key range of each sample when exporting. The problem is easily corrected in a text editor.

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