Skip to content
Snippets Groups Projects
Commit c67e0f6f authored by RANWEZ Pierre's avatar RANWEZ Pierre :anchor:
Browse files

:pencil: doc: usage

parent 13a64b82
No related branches found
No related tags found
1 merge request!1✨ feat: CSSLSD V2
......@@ -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]%;
}
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment