1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 11:46:00 +02:00

vgmstream_cli: add page (#7956)

This commit is contained in:
Peder Bergebakken Sundt 2022-07-31 22:36:01 +02:00 committed by GitHub
parent b15ee904f7
commit 687415d81c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,28 @@
# vgmstream_cli
> Play a wide variety of audio formats used in video games and convert them into `wav`.
> More information: <https://vgmstream.org/doc/USAGE>.
- Decode an `adc` file to `wav`. (Default output name is `input.wav`):
`vgmstream_cli {{path/to/input.adc}} -o {{path/to/output.wav}}`
- Print metadata without decoding the audio:
`vgmstream_cli {{path/to/input.adc}} -m`
- Decode an audio file without loops:
`vgmstream_cli {{path/to/input.adc}} -o {{path/to/output.wav}} -i`
- Decode with three loops, then add a 3s delay followed by a 5s fadeout:
`vgmstream_cli {{path/to/input.adc}} -o {{path/to/output.wav}} -l {{3.0}} -f {{5.0}} -d {{3.0}}`
- Convert multiple files to `bgm_(original name).wav` (Default `-o` pattern is `?f.wav`):
`vgmstream_cli -o {{path/to/bgm_?f.wav}} {{path/to/file1.adc}} {{path/to/file2.adc}}`
- Play the file looping endlessly (`channels` and `rate` must match metadata):
`vgmstream_cli {{path/to/input.adc}} -pec | aplay --format cd --channels {{1}} --rate {{44100}}`