mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
26 lines
572 B
Markdown
26 lines
572 B
Markdown
![]() |
# sox
|
||
|
|
||
|
> SoX - Sound eXchange
|
||
|
> Play, record and convert audio files
|
||
|
> Audioformats are identified by extension
|
||
|
|
||
|
- Merge two audio files into one
|
||
|
|
||
|
`sox -m {{audiofile1}} {{audiofile2}} {{output_filename}}`
|
||
|
|
||
|
- Trim an audio file to the specified time indecies
|
||
|
|
||
|
`sox {{input_audiofile}} {{output_audiofile}} trim {{start}} {{end}}`
|
||
|
|
||
|
- Normalize an audio file
|
||
|
|
||
|
`sox --norm {{input_audiofile}} {{output_audiofile}}`
|
||
|
|
||
|
- Reverse and save audio file
|
||
|
|
||
|
`sox {{input_audiofile}} {{output_audiofile}} reverse`
|
||
|
|
||
|
- Print statistical data of the audio file
|
||
|
|
||
|
`sox {{audiofile}} -n stat`
|