From 128f34bee6f341fb9c36665d9f9a0c7bb76332d9 Mon Sep 17 00:00:00 2001 From: Jordhan Carvalho Date: Sat, 19 Nov 2022 13:16:23 -0300 Subject: [PATCH] chore: replace dca-rs (#1240) * chore: replace dca-rs * Update examples/airhorn/README.md Co-authored-by: Fedor Lapshin Co-authored-by: Fedor Lapshin --- examples/airhorn/README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/examples/airhorn/README.md b/examples/airhorn/README.md index 5652880..03b6f78 100644 --- a/examples/airhorn/README.md +++ b/examples/airhorn/README.md @@ -39,13 +39,11 @@ The below example shows how to start the bot from the airhorn example folder. Airhorn bot uses [DCA](https://github.com/bwmarrin/dca) files, which are pre-computed files that are easy to send to Discord. -If you would like to create your own DCA files, please use: -* [dca-rs](https://github.com/nstafie/dca-rs) -See the below example of creating a DCA file from a WAV file. This also works -with MP3, FLAC, and many other file formats. Of course, you will need to -[install](https://github.com/nstafie/dca-rs#installation) dca-rs first :) +See the below example of creating a DCA file from a MP3 file. This also works +with WAV, FLAC, and many other file formats. Of course, you will need to [install](https://github.com/bwmarrin/dca/tree/master/cmd/dca#Getting-Started) +FFmpeg and the DCA CLI first. ```sh -./dca-rs -i --raw > +ffmpeg -i test.mp3 -f s16le -ar 48000 -ac 2 pipe:1 | dca > test.dca ```