Accesso
Questo forum permette a persone di tutto il mondo di comunicare, per questo i messaggi sono scritti in inglese.

Convert SFZ/SF2 via command-line?

Categoria: Aiuto e domande
  • GP 2 0
    Messaggio di gp il
    I'd like to convert between SFZ and SF2 via command-line. Is that possible with Polyphone?
  • 71 0
    Messaggio di Sylvia il
    Unfortunately, there is no command line on polyphone, except for the external tool to edit samples.

    As a workaround, you can open each sf2/sfz and choose export soundfont. You select the format.

    I agree, it would be convenient to convert sfz to sf2 on command line as I only have sf2 players.
  • TP 1 0
    Messaggio di Tom Parker il
    Any news on this (having more command line options) ?
  • 429 1
    Messaggio di Davy il 1
    Yes there is! But I never documented it. Here are command lines to run in a powershell that convert from sf2 to sfz and from sfz to sf2:cd C:\Program Files\Polyphone .\polyphone.exe -3 -i C:\Path\To\Your\Soundfont.sf2 .\polyphone.exe -1 -i C:\Path\To\Your\Soundfont.sfzYou can set the output directory with "-d" and the output file with "-o".
    -1 is for a conversion to sf2
    -2 is for a conversion to sf3
    -3 is for a conversion to sfz

    I'll create a page in the documentation for the command lines.
  • GP 2 0
    Messaggio di gp il
    Does this work for Mac as well?
  • 429 1
    Messaggio di Davy il
    Yes
    On mac you can write "polyphone -h" or maybe "man polyphone" and the documentation should appear.

Accedi o registrati per partecipare alle discussioni.

Polyphone ha bisogno di te!

Polyphone è gratuito, ma il sito e lo sviluppo hanno dei costi. Una piccola donazione aiuta molto.

Fai una donazione
Impara le basi Prova un tutorial
Torna
su