DOKK / manpages / debian 12 / polyphone / polyphone.1.en
POLYPHONE(1) Polyphone Manual Page POLYPHONE(1)

polyphone - soundfont editor

polyphone
polyphone [FILE]
polyphone [FILE_1] [FILE_2] ...
polyphone -1 [-i INPUT_FILEPATH] [-d OUTPUT_DIR] [-o OUTPUT_NAME]
polyphone -2 [-i INPUT_FILEPATH] [-d OUTPUT_DIR] [-o OUTPUT_NAME] [-c CONFIG]
polyphone -3 [-i INPUT_FILEPATH] [-d OUTPUT_DIR] [-o OUTPUT_NAME] [-c CONFIG]

polyphone provides a simple and efficient interface for creating and editing .sf2 files. This software comprises tools to facilitate and automate the editing of different parameters, making it possible to handle a large amount of data.

sf2, sf3, sfz (import / export) and sfArk (import only) formats are supported. Conversions are possible via command lines.

More information can be found at https://www.polyphone-soundfonts.com .

Specifies the file to open when polyphone starts. Multiple files can be loaded if they are separated by spaces. sf2 (version 2.01 or 2.04), sf3, sfz and sfArk (version 1 or 2) formats are supported.
-1
Use polyphone to convert a file into the sf2 format.
-2
Use polyphone to convert a file into the sf3 format.
-3
Use polyphone to convert a file into the sfz format.
[-i INPUT_FILEPATH]
Input path to convert. The input file format must be sf2, sf3, sfz or sfArk.
[-d OUTPUT_DIR]
Output directory in which the input file will be converted. By default, this is the same directory than the input file.
[-o OUTPUT_NAME]
Output name of the converted file. The extension will be automatically added depending on the conversion. By default, this is the same name than the input file.
[-c CONFIG]
Conversion configuration, the content being dependent on the conversion type. -r Remove the existing configuration.

* sf2 conversion
No configuration for this conversion.

* sf3 conversion
The configuration is made of one character indicating the compression quality. '0' for low, '1' for medium and '2' for high quality. Default is '1'.

* sfz conversion
The configuration is made of three characters. The first character is '1' if each preset must be prefixed by its preset number, '0' otherwise. The second character is '1' if a directory per bank must be created, '0' otherwise. The third character is '1' if the general midi classification must be used to sort presets, '0' otherwise. Default is '000'.


* Conversion from sfArk to sf2:
polyphone -1 -i /path/to/file.sfArk

* Conversion from sf2 to sf3 (good quality):
polyphone -2 -i /path/to/file.sf2 -c 2

* Conversion from sf3 to sfz (sub-directories for bank and gm classification):
polyphone -3 -i /path/to/file.sf3 -c 011

Davy Triponney (davy.triponney@gmail.com)

November 14th, 2019 polyphone 2.2