From c67e0f6f3a7eb26c1e410a35a94248d9fcc70279 Mon Sep 17 00:00:00 2001 From: Pierre Ranwez <pierre.ranwez.etu@univ-lille.fr> Date: Wed, 2 Feb 2022 15:44:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20doc:=20usage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9bdda39..12e1aed 100644 --- a/README.md +++ b/README.md @@ -14,17 +14,19 @@ features. ## Usage -You need to use a CSS template, like below to map your audio or MIDI events to some CSS properties. +You need to use a custom CSS template, like below to map your audio or MIDI events to some CSS properties. ```css body { - background-color:rgba(0,0,0,[audio.meter.volume,0,1]); + background-color:rgba(0,[mid,0,255],0,[loud,0,1]); } h1 { - opacity: [midi.noteon.C]; + opacity: [note:C]; } ``` +To ***save*** your template, click on `Save` button or use keybind `CTRL`+`S`. To activate the extension, you can use `CTRL`+`O`. + ### MIDI Variables | Midi Event | Parameter | Informations | @@ -51,7 +53,7 @@ For some audio or midi events, you can specify a range value. Just add `,<min>,< ```css a { - width: [audio.energy.treble,0,100]%; + width: [hi,0,100]%; } ``` -- GitLab