work on auto-generating parts of docs from JSONSchema

This commit is contained in:
Joel Wetzell
2026-06-01 18:03:47 -05:00
parent e22e25afe2
commit f82b55963b
67 changed files with 2471 additions and 257 deletions
@@ -4,14 +4,11 @@ sidebar:
label: Create
order: 1
---
import SchemaInfo from '../../../../../components/SchemaInfo.astro';
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
<SchemaInfo type="processor" id="midi.control_change.create"/>
### Example
@@ -4,10 +4,11 @@ sidebar:
label: Decode
order: 3
---
import SchemaInfo from '../../../../../components/SchemaInfo.astro';
This processor will decode incoming bytes into a MIDI message. This processor will return an error if the message being processed is not an array of bytes.
- **type**: `midi.message.decode`
<SchemaInfo type="processor" id="midi.message.decode"/>
### Example
@@ -4,10 +4,11 @@ sidebar:
label: Encode
order: 2
---
import SchemaInfo from '../../../../../components/SchemaInfo.astro';
This processor will encode a MIDI message into an array of bytes. This processor will return an error if the message being processed is not a MIDI message.
- **type**: `midi.message.encode`
<SchemaInfo type="processor" id="midi.message.encode"/>
### Example
@@ -4,10 +4,11 @@ sidebar:
label: Unpack
order: 4
---
import SchemaInfo from '../../../../../components/SchemaInfo.astro';
This processor will unpack a MIDI message into its individual components. This processor will return an error if the message being processed is not a MIDI message.
- **type**: `midi.message.unpack`
<SchemaInfo type="processor" id="midi.message.unpack"/>
### Example
@@ -1,22 +1,19 @@
---
title: Create MIDI Note On
title: Create MIDI Note Off
sidebar:
label: Create
order: 1
---
import SchemaInfo from '../../../../../components/SchemaInfo.astro';
This processor will create a MIDI Note On message with the specified channel, note, and velocity.
This processor will create a MIDI Note Off 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
<SchemaInfo type="processor" id="midi.note_off.create"/>
### Example
```yaml
- type: midi.note_on.create
- type: midi.note_off.create
params:
channel: "1"
note: "60"
@@ -1,22 +1,19 @@
---
title: Create MIDI Note Off
title: Create MIDI Note On
sidebar:
label: Create
order: 1
---
import SchemaInfo from '../../../../../components/SchemaInfo.astro';
This processor will create a MIDI Note Off message with the specified channel, note, and velocity.
This processor will create a MIDI Note On 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
<SchemaInfo type="processor" id="midi.note_on.create"/>
### Example
```yaml
- type: midi.note_off.create
- type: midi.note_on.create
params:
channel: "1"
note: "60"
@@ -4,13 +4,11 @@ sidebar:
label: Create
order: 1
---
import SchemaInfo from '../../../../../components/SchemaInfo.astro';
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
<SchemaInfo type="processor" id="midi.program_change.create"/>
### Example