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