| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE component SYSTEM "http://www.freac.org/boca/component.dtd"> |
| 3 | <component> |
| 4 | <name>Speex Speech Encoder</name> |
| 5 | <version>1.0</version> |
| 6 | <id>speexcmd-enc</id> |
| 7 | <type>encoder</type> |
| 8 | <format> |
| 9 | <name>Speex Files</name> |
| 10 | <extension>spx</extension> |
| 11 | <tag id="vorbis-tag" mode="other">Vorbis Comment</tag> |
| 12 | </format> |
| 13 | <external> |
| 14 | <command>speexenc</command> |
| 15 | <arguments>%OPTIONS %INFILE %OUTFILE</arguments> |
| 16 | <mode>file</mode> |
| 17 | <informat>wave</informat> |
| 18 | <parameters> |
| 19 | <range name="Encoding quality" argument="--quality %VALUE" default="8"> |
| 20 | <min alias="fastest">0</min> |
| 21 | <max alias="best">10</max> |
| 22 | </range> |
| 23 | <switch name="Use VBR mode" argument="--vbr"/> |
| 24 | <range name="Use ABR mode" argument="--abr %VALUE" default="32"> |
| 25 | <min alias="%1 kbps">8</min> |
| 26 | <max alias="%1 kbps">64</max> |
| 27 | </range> |
| 28 | <switch name="Enable voice activity detection" argument="--vad"/> |
| 29 | <switch name="Denoise input before encoding" argument="--denoise"/> |
| 30 | <switch name="Apply adaptive gain control" argument="--agc"/> |
| 31 | </parameters> |
| 32 | </external> |
| 33 | </component> |