diff --git a/astro.config.mjs b/astro.config.mjs index 0dca2e6..7529955 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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" }, + }, ], }, { diff --git a/src/content/docs/processors/midi/control_change/create.mdx b/src/content/docs/processors/midi/control_change/create.mdx new file mode 100644 index 0000000..148e685 --- /dev/null +++ b/src/content/docs/processors/midi/control_change/create.mdx @@ -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" +``` \ No newline at end of file diff --git a/src/content/docs/processors/midi/message/create.mdx b/src/content/docs/processors/midi/message/create.mdx deleted file mode 100644 index 0b69673..0000000 --- a/src/content/docs/processors/midi/message/create.mdx +++ /dev/null @@ -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** \ No newline at end of file diff --git a/src/content/docs/processors/midi/note_off/create.mdx b/src/content/docs/processors/midi/note_off/create.mdx new file mode 100644 index 0000000..d9fae87 --- /dev/null +++ b/src/content/docs/processors/midi/note_off/create.mdx @@ -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" +``` \ No newline at end of file diff --git a/src/content/docs/processors/midi/note_on/create.mdx b/src/content/docs/processors/midi/note_on/create.mdx new file mode 100644 index 0000000..568ddcb --- /dev/null +++ b/src/content/docs/processors/midi/note_on/create.mdx @@ -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" +``` \ No newline at end of file diff --git a/src/content/docs/processors/midi/program_change/create.mdx b/src/content/docs/processors/midi/program_change/create.mdx new file mode 100644 index 0000000..4c5b9eb --- /dev/null +++ b/src/content/docs/processors/midi/program_change/create.mdx @@ -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" +``` \ No newline at end of file