2018-01-09 03:47:05 +03:00
|
|
|
# flac
|
|
|
|
|
|
|
|
> Encodes, decodes and tests flac files.
|
2019-06-07 13:58:14 +03:00
|
|
|
> More information: <https://xiph.org/flac>.
|
2018-01-09 03:47:05 +03:00
|
|
|
|
2018-01-09 11:26:49 +03:00
|
|
|
- Encode a wav file to flac (this will create a flac file in the same location as the wav file):
|
2018-01-09 03:47:05 +03:00
|
|
|
|
2018-01-09 11:26:49 +03:00
|
|
|
`flac {{path/to/file.wav}}`
|
2018-01-09 03:47:05 +03:00
|
|
|
|
2018-01-09 11:15:57 +03:00
|
|
|
- Encode a wav file to flac, specifying the output file:
|
|
|
|
|
2018-01-09 11:26:49 +03:00
|
|
|
`flac -o {{path/to/output.flac}} {{path/to/file.wav}}`
|
2018-01-09 11:15:57 +03:00
|
|
|
|
2018-01-09 03:47:05 +03:00
|
|
|
- Decode a flac file to wav, specifying the output file:
|
|
|
|
|
2018-01-09 11:26:49 +03:00
|
|
|
`flac -d -o {{path/to/output.wav}} {{path/to/file.flac}}`
|
2018-01-09 03:47:05 +03:00
|
|
|
|
2018-01-09 21:39:53 +03:00
|
|
|
- Test a flac file for the correct encoding:
|
2018-01-09 03:47:05 +03:00
|
|
|
|
2018-01-09 11:26:49 +03:00
|
|
|
`flac -t {{path/to/file.flac}}`
|