mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 02:58:26 +00:00
Update cheatsheets
This commit is contained in:
34
sox
Normal file
34
sox
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sox
|
||||
|
||||
> Sound eXchange: play, record and convert audio files.
|
||||
> Audio formats are identified by the extension.
|
||||
> More information: <http://sox.sourceforge.net>.
|
||||
|
||||
- Merge two audio files into one:
|
||||
|
||||
`sox -m {{path/to/input_audio1}} {{path/to/input_audio2}} {{path/to/output_audio}}`
|
||||
|
||||
- Trim an audio file to the specified times:
|
||||
|
||||
`sox {{path/to/input_audio}} {{path/to/output_audio}} trim {{start}} {{end}}`
|
||||
|
||||
- Normalize an audio file (adjust volume to the maximum peak level, without clipping):
|
||||
|
||||
`sox --norm {{path/to/input_audio}} {{path/to/output_audio}}`
|
||||
|
||||
- Reverse and save an audio file:
|
||||
|
||||
`sox {{path/to/input_audio}} {{path/to/output_audio}} reverse`
|
||||
|
||||
- Print statistical data of an audio file:
|
||||
|
||||
`sox {{path/to/input_audio}} -n stat`
|
||||
|
||||
- Increase the volume of an audio file by 2x:
|
||||
|
||||
`sox -v 2.0 {{path/to/input_audio}} {{path/to/output_audio}}`
|
||||
Reference in New Issue
Block a user