add docs for individual midi processors

This commit is contained in:
Joel Wetzell
2026-03-28 15:51:52 -05:00
parent a8fc730eed
commit 0f994e7fa9
6 changed files with 107 additions and 17 deletions
+21 -1
View File
@@ -9,7 +9,7 @@ export default defineConfig({
tableOfContents: false,
favicon: "/favicon.ico",
editLink: {
baseUrl: 'https://github.com/jwetzell/showbridge-docs/edit/main/',
baseUrl: "https://github.com/jwetzell/showbridge-docs/edit/main/",
},
social: [
{
@@ -186,6 +186,26 @@ export default defineConfig({
collapsed: true,
autogenerate: { directory: "processors/midi/message" },
},
{
label: "Note On",
collapsed: true,
autogenerate: { directory: "processors/midi/note_on" },
},
{
label: "Note Off",
collapsed: true,
autogenerate: { directory: "processors/midi/note_off" },
},
{
label: "Control Change",
collapsed: true,
autogenerate: { directory: "processors/midi/control_change" },
},
{
label: "Program Change",
collapsed: true,
autogenerate: { directory: "processors/midi/program_change" },
},
],
},
{
@@ -0,0 +1,22 @@
---
title: Create MIDI Control Change
sidebar:
label: Create
order: 1
---
This processor will create a MIDI Control Change message with the specified channel, control number, and control value.
- **type**: `midi.control_change.create`
- **params**:
- **channel**: the MIDI channel
- **control**: the control number
- **value**: the control value
### Example
```yaml
- type: midi.control_change.create
params:
channel: "1"
control: "64"
value: "127"
```
@@ -1,16 +0,0 @@
---
title: Create MIDI Message
sidebar:
label: Create
order: 1
---
- **type**: `midi.message.create`
- **params**:
- **type**
- **channel**
- **note**
- **velocity**
- **program**
- **control**
- **value**
@@ -0,0 +1,22 @@
---
title: Create MIDI Note On
sidebar:
label: Create
order: 1
---
This processor will create a MIDI Note On message with the specified channel, note, and velocity.
- **type**: `midi.note_on.create`
- **params**:
- **channel**: the MIDI channel
- **note**: the note number
- **velocity**: the velocity
### Example
```yaml
- type: midi.note_on.create
params:
channel: "1"
note: "60"
velocity: "127"
```
@@ -0,0 +1,22 @@
---
title: Create MIDI Note Off
sidebar:
label: Create
order: 1
---
This processor will create a MIDI Note Off message with the specified channel, note, and velocity.
- **type**: `midi.note_off.create`
- **params**:
- **channel**: the MIDI channel
- **note**: the note number
- **velocity**: the velocity
### Example
```yaml
- type: midi.note_off.create
params:
channel: "1"
note: "60"
velocity: "127"
```
@@ -0,0 +1,20 @@
---
title: Create MIDI Prgoram Change
sidebar:
label: Create
order: 1
---
This processor will create a MIDI Program Change message with the specified channel and program number.
- **type**: `midi.program_change.create`
- **params**:
- **channel**: the MIDI channel
- **program**: the program number
### Example
```yaml
- type: midi.program_change.create
params:
channel: "1"
program: "10"
```