ได้มีโอกาสลองใช้ cli application บน Linux ในการ convert audio ไฟล์ 2 ตัวคือ
LAME และ SoX ลองใช้แล้วก็ใช้ง่ายพอกัน แต่ความสามารถต่างกัน
LAME เอาไว้ convert พวก MP3 แต่ SoX นั้น convert audio ได้หลากหลายมาก
Sox is a general purpose sound converter/player/recorder that supports the following formats:
- RAW sound data in various data styles
- RAW textual sound data
- Amiga 8svx files
- Apple/SGI AIFF files
- SUN .au files
- PCM, U-law, A-law, G7xx ADPCM files
- mutant DEC .au files
- NeXT .snd files
- AVR files
- CD-R data (music CD format)
- CVS and VMS files (continous variable slope)
- GSM raw data (with optional library)
- Macintosh HCOM files
- Amiga MAUD files
- MP3 files (with optional external library)
- Psion Record.app files
- IRCAM SoundFile files
- NIST SPHERE files
- Turtle beach SampleVision files
- Soundtool (DOS) files
- Yamaha TX-16W sampler files
- Sound Blaster .VOC files
- Ogg Vorbis files (with optional external library)
- FLAC fiels (with optional external library)
- Dialogic/OKI ADPCM .VOX files
- Microsoft .WAV files
- PCM, U-law, A-law, MS ADPCM, IMA ADPCM, GSM, RIFX (big endian)
- Psion (palmtop) A-law .WVE files
- Maxis XA Audio files
- EA ADPCM (read support only)
- Record and Play audio on various Unix platforms.
- null file type that reads and writes from/to nothing
แถม SoX ยังใส่ sound effect ต่างๆ ได้อีกด้วย สรุปคือ ผมประทับใจกับ SoX
แต่บน Linux โปรแกรมแปลงไฟล์เสียงไม่ได้มีแค่นี้นะ เอาเฉพาะแค่ที่เป็น Command line (CLI) จะยังมี oggenc, ffmpeg, mppenc, flac, Waon (wav->midi) ลองๆ ใ้ช้กันดูล่ะกันครับ