Fix readme typos.

This commit is contained in:
george-norton 2023-03-31 21:46:07 +01:00 committed by GitHub
parent aad64a9b7d
commit e842efb70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -2,19 +2,19 @@
This is a basic utility for testing the Ploopy headphones filtering routines on a PC. This is a basic utility for testing the Ploopy headphones filtering routines on a PC.
### Usage ### Usage
Find a source file and use ffmpeg to convert it to PCM data: Find a source file and use ffmpeg to convert it to 16bit stereo PCM samples:
``` ```
ffmpeg -i <input file< -map 0:6 -vn -f s16le -acodec pcm_s16le input.pcm ffmpeg -i <input file> -map 0:6 -vn -f s16le -acodec pcm_s16le input.pcm
``` ```
Run `filter_test` to process the PCM data. The `filter_test` program takes two arguments an input file and an output file: Run `filter_test` to process the PCM samples. The `filter_test` program takes two arguments an input file and an output file:
``` ```
./filter_test input.pcm output.pcm ./filter_test input.pcm output.pcm
``` ```
You can listen to the output audio using ffplay (which is usually included with ffmpeg: You can listen to the PCM files using ffplay (which is usually included with ffmpeg):
``` ```
./ffplay -f s16le -ar 48000 -ac 2 output.pcm ./ffplay -f s16le -ar 48000 -ac 2 output.pcm