From 2d0a10c645dd2c79e44511b539d3a161178c73e0 Mon Sep 17 00:00:00 2001 From: filifa Date: Sat, 7 Sep 2024 21:09:04 -0500 Subject: [PATCH] remove ./ --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 750392c..dc19b8c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ milkbucket reads a PCM stream from standard input to generate visualizations. If you have an audio file and a preset in mind, you can use `ffmpeg` to generate the PCM stream, then pipe to milkbucket, like so: ``` -ffmpeg -i $audio -ar 44100 -f s16le - | ./milkbucket $preset +ffmpeg -i $audio -ar 44100 -f s16le - | milkbucket $preset ``` Note that you can pass in multiple presets, then use the arrow keys to cycle through the presets while running. @@ -29,7 +29,7 @@ Note that neither of these commands (ffmpeg or milkbucket) will output any audio! If you want to hear the audio at the same time (and assuming your machine uses pipewire), run: ``` -ffmpeg -i $audio -ar 44100 -f s16le - | tee >(pw-play --rate=44100 --format=s16 -) | ./milkbucket $preset +ffmpeg -i $audio -ar 44100 -f s16le - | tee >(pw-play --rate=44100 --format=s16 -) | milkbucket $preset ``` (If you don't use pipewire try using `aplay` instead of `pw-play`, or some other command for playing PCM streams.) @@ -37,5 +37,5 @@ other command for playing PCM streams.) You can also generate a visualization from your system sound. Assuming pipewire again, and that you have audio coming from Firefox, run: ``` -pw-record --target Firefox - | ./milkbucket $preset +pw-record --target Firefox - | milkbucket $preset ```