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