From 5d4dd8de3785a38eb9309775f61543a3ee7c152c Mon Sep 17 00:00:00 2001 From: Ivan Ganev Date: Tue, 7 Nov 2017 11:01:42 +0200 Subject: [PATCH] forgot to update the README and describe the third waveform() param --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7212bf5..576b564 100644 --- a/README.md +++ b/README.md @@ -159,13 +159,13 @@ You can generate a waveform of an audio file using the `FFMpeg\Media\Audio::wave method. This code returns a `FFMpeg\Media\Waveform` instance. -You can optionally pass dimensions as arguments, see dedicated +You can optionally pass dimensions as the first two arguments and an array of hex string colors for ffmpeg to use for the waveform, see dedicated documentation below for more information. The ouput file MUST use the PNG extension. ```php -$waveform = $audio->waveform(640, 120, ['#00FF00']); +$waveform = $audio->waveform(640, 120, ['#00FF00/']); $waveform->save('waveform.png'); ```