1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 21:15:32 +02:00

flac: add page (#1870)

This commit is contained in:
Starbeamrainbowlabs 2018-01-09 18:42:00 +00:00 committed by GitHub
commit d3f3700952
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
pages/common/flac.md Normal file
View 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}}`