Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CssLsd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florent Berthaut
CssLsd
Commits
c67e0f6f
Commit
c67e0f6f
authored
3 years ago
by
RANWEZ Pierre
Browse files
Options
Downloads
Patches
Plain Diff
doc: usage
parent
13a64b82
No related branches found
No related tags found
1 merge request
!1
✨ feat: CSSLSD V2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-4
6 additions, 4 deletions
README.md
with
6 additions
and
4 deletions
README.md
+
6
−
4
View file @
c67e0f6f
...
...
@@ -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
.
note
on
.
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
]
%
;
}
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment