mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-06 18:55:42 +02:00
flac: add page (#1870)
This commit is contained in:
commit
d3f3700952
1 changed files with 19 additions and 0 deletions
19
pages/common/flac.md
Normal file
19
pages/common/flac.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# flac
|
||||||
|
|
||||||
|
> Encodes, decodes and tests flac files.
|
||||||
|
|
||||||
|
- Encode a wav file to flac (this will create a flac file in the same location as the wav file):
|
||||||
|
|
||||||
|
`flac {{path/to/file.wav}}`
|
||||||
|
|
||||||
|
- Encode a wav file to flac, specifying the output file:
|
||||||
|
|
||||||
|
`flac -o {{path/to/output.flac}} {{path/to/file.wav}}`
|
||||||
|
|
||||||
|
- Decode a flac file to wav, specifying the output file:
|
||||||
|
|
||||||
|
`flac -d -o {{path/to/output.wav}} {{path/to/file.flac}}`
|
||||||
|
|
||||||
|
- Test a flac file for the correct encoding:
|
||||||
|
|
||||||
|
`flac -t {{path/to/file.flac}}`
|
Loading…
Add table
Reference in a new issue