sox adalah pisau manipulasi audio Tentara Swiss, yang disimpan dalam paket dengan nama yang sama. Setelah terinstal, kita dapat melihat halaman manualnya, di mana dijelaskan bahwa ia tidak hanya dapat memutar file audio, tetapi juga dapat memanipulasinya! Berikut baris kodenya:
SoX reads and writes audio files in most popular formats and can optionally apply effects to them. It can combine multiple input sources, synthesise audio, and, on many systems, act as a general purpose audio player or a multi-track audio recorder. It also has limited ability to split the input into multiple output files. All SoX functionality is available using just the sox command. To simplify playing and recording audio, if SoX is invoked as play, the output file is automatically set to be the default sound device, and if invoked as rec, the default sound device is used as an input source. Additionally, the soxi(1) command provides a convenient way to just query audio file header information. The heart of SoX is a library called libSoX. Those interested in extending SoX or using it in other programs should refer to the libSoX manual page: libsox(3). SoX is a command-line audio processing tool, particularly suited to making quick, simple edits and to batch processing. If you need an interactive, graphical audio editor, use audacity(1).
Seperti yang dapat kita lihat di deskripsi sebelumnya, sox dan soxi dapat digunakan untuk banyak penggunaan yang berbeda dalam memanipulasi file audio.
Jika Anda menemukan kesalahan di bawah ini saat menjalankan perintah soxi:
soxi: command not found
Anda dapat mencoba menginstal paket di bawah ini sesuai dengan pilihan distribusi Anda.
Distribusi | Perintah |
---|---|
OS X | brew install sox |
Debian | apt-get install sox |
Ubuntu | apt-get install sox |
Alpin | apk tambahkan sox |
Linux Arch | pacman -S sox |
Kali Linux | apt-get install sox |
CentOS | yum install sox |
Fedora | dnf install sox |
Raspbian | apt-get install sox |