vgmstream_cli: add page (#7956)

pull/1/head
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
1 changed files with 28 additions and 0 deletions

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