Skip to content

节点目录:nodes-midi ​

共 12 个节点。以下内容由 scripts/gen-node-catalog.mjs 从 packages/nodes-midi/src/install.ts 提取。

槽位类型中的 number、string、boolean 等为普通数据端口,event 为事件端口;控件是绘制在节点上的交互组件,属性会随图一起序列化。

midi/cc — MIDICC ​

gets a Controller Change

midi/event — MIDIEvent ​

Create a MIDI Event

  • 输入:send: event、assign: event
  • 输出:on_midi: event
  • 源码:LGMIDIEvent.ts

midi/filter — MIDI Filter ​

Filters MIDI messages

  • 输入:in: event
  • 输出:on_midi: event
  • 控件:Learn: button
  • 源码:LGMIDIFilter.ts

midi/fromFile — MIDI fromFile ​

Plays a MIDI file

midi/generator — MIDI Generator ​

Generates a random MIDI note

  • 输入:generate: action、scale: string、octave: number
  • 输出:note: event
  • 源码:LGMIDIGenerator.ts

midi/input — MIDI Input ​

Reads MIDI from a input port

  • 输入:无
  • 输出:on_midi: event、out: midi
  • 源码:LGMIDIIn.ts

midi/keys — MIDI Keys ​

Keyboard to play notes

  • 输入:note: action、reset: action
  • 输出:note: event
  • 源码:LGMIDIKeys.ts

midi/output — MIDI Output ​

Sends MIDI to output channel

  • 输入:send: event
  • 输出:无
  • 控件:Device: combo
  • 源码:LGMIDIOut.ts

midi/play — MIDI Play ​

Plays a MIDI note

  • 输入:note: action、volume: number、duration: number
  • 输出:note: event
  • 源码:LGMIDIPlay.ts

midi/quantize — MIDI Quantize Pitch ​

Transpose a MIDI note tp fit an scale

midi/show — MIDI Show ​

Shows MIDI in the graph

midi/transpose — MIDI Transpose ​

Transpose a MIDI note

Released under the MIT License.