flac: add page (#1870)

This commit is contained in:
Starbeamrainbowlabs
2018-01-09 18:42:00 +00:00
committed by GitHub

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}}`