open-audiovisual
Search GitHub

Generic layout

Generic 8 knobs + 8 pads

Generic 8 knobs + 8 pads is a generic layout, not a product: 8 pads and 8 knobs. Its messages are conventions rather than one maker's chart. Pick it for a controller that is not in the library, press Learn and move your controls in order.

  • Generic layout
Kind
generic layout
Controls
16 controls
Messages
CC · Note
MIDI channels
1, 10
LED feedback
none sent
Signals
midi/g8k8p/…
Port name matches
none: assign by hand, then learn
8 KNOBS · 8 PADSPADSKNOBSK1K2K3K4K5K6K7K8

Play Generic 8 knobs + 8 pads on screen Full screen ↗ Raw JSON ↗ All controllers

Drag knobs and faders · tap pads and keys · or plug the real one in and press Connect. Nothing is sent anywhere unless you add a MIDI out.

MIDI implementation

Every control of Generic 8 knobs + 8 pads and the message it sends

Generated from the profile file, so it is the same table the on-screen controller plays. Channels are 1–16; numbers are real MIDI numbers.

MIDI implementation of Generic 8 knobs + 8 pads
ControlTypeMessageChNumberSignalLED feedbackVerified
K1 k1 knob CC 1 70 midi/g8k8p/k1 — yes
K2 k2 knob CC 1 71 midi/g8k8p/k2 — yes
K3 k3 knob CC 1 72 midi/g8k8p/k3 — yes
K4 k4 knob CC 1 73 midi/g8k8p/k4 — yes
K5 k5 knob CC 1 74 midi/g8k8p/k5 — yes
K6 k6 knob CC 1 75 midi/g8k8p/k6 — yes
K7 k7 knob CC 1 76 midi/g8k8p/k7 — yes
K8 k8 knob CC 1 77 midi/g8k8p/k8 — yes
Pad 1 pad1 pad Note · velocity 10 36 · C2 midi/g8k8p/pad1 — yes
Pad 2 pad2 pad Note · velocity 10 37 · C#2 midi/g8k8p/pad2 — yes
Pad 3 pad3 pad Note · velocity 10 38 · D2 midi/g8k8p/pad3 — yes
Pad 4 pad4 pad Note · velocity 10 39 · D#2 midi/g8k8p/pad4 — yes
Pad 5 pad5 pad Note · velocity 10 40 · E2 midi/g8k8p/pad5 — yes
Pad 6 pad6 pad Note · velocity 10 41 · F2 midi/g8k8p/pad6 — yes
Pad 7 pad7 pad Note · velocity 10 42 · F#2 midi/g8k8p/pad7 — yes
Pad 8 pad8 pad Note · velocity 10 43 · G2 midi/g8k8p/pad8 — yes

LED feedback is not modeled for this one yet, so OAV does not light its LEDs. Every control still plays and sends its message.

Sources

  • convention open-audiovisual generic layoutNo device behind it: default messages are a convention (knobs CC 70–77 like many 8-knob pads, faders CC 20–27 in the undefined range, pads GM drum notes from 36 on channel 10). Plug an unknown controller in, pick this layout, and auto-learn binds its messages in the order you move the controls.

Port names it recognises

Generic layouts never match a port by themselves: assign one by hand, then learn.

Signals

Every control publishes midi/g8k8p/<control> (0..1), plus /raw; pads add /hit, encoders /delta, keys /on /off and n<note>; the last control touched is midi/g8k8p/last.

Use it

Use Generic 8 knobs + 8 pads in your own work

  1. Embed it with one line

    No import map, no build step. Change layout, add hardware="ask" for a Connect button.

    html
    <script type="module" src="https://openaudiovisual.com/packages/midi/element.js"></script>
    <oav-controller profile="generic-8k8p" readout></oav-controller>
  2. Or as an iframe

    For places that only take an iframe. Every event arrives as a postMessage.

    html
    <iframe src="https://openaudiovisual.com/embed/controller/?profile=generic-8k8p&readout"
            width="720" height="238" style="border:0;max-width:100%" allow="midi"
            title="Generic 8 knobs + 8 pads"></iframe>
    <script>
      // every control the visitor plays arrives here
      addEventListener('message', (e) => {
        if (e.data?.source !== 'openav' || e.data.type !== 'control') return;
        console.log(e.data.detail.signal, e.data.detail.value);
      });
    </script>
  3. Send it to Ableton, TouchDesigner or Resolume

    What you play on screen leaves as real MIDI on the IAC bus (macOS) or a loopMIDI port (Windows). The steps are on the catalog page.

    html
    <!-- what you play on this controller → the IAC bus (macOS) → Ableton, TouchDesigner, Resolume -->
    <script type="module" src="https://openaudiovisual.com/packages/midi/element.js"></script>
    <oav-controller profile="generic-8k8p" midi-out="IAC" readout></oav-controller>
    <!-- Windows: midi-out="loopMIDI" · let the visitor pick a port: midi-out="ask" -->

    macOS: Audio MIDI Setup → MIDI Studio → IAC Driver → “Device is online”. Windows 11: the built-in Windows MIDI Services have a loopback (not tested by us); older Windows: install loopMIDI, add a port and use midi-out="loopMIDI".

In p5.js, with one line

The one-line injection names knobs, faders and pads by their order in this layout, the order of the table above. Add ?profile=generic-8k8p to make the on-screen controller this one.

javascript
document.head.prepend(Object.assign(document.createElement('script'), { src: 'https://openaudiovisual.com/p5/oav-p5.js?profile=generic-8k8p' }));
In your sketchControlMessage
knob1K1 k1CC 70 · Ch 1
knob2K2 k2CC 71 · Ch 1
knob3K3 k3CC 72 · Ch 1
knob4K4 k4CC 73 · Ch 1
knob5K5 k5CC 74 · Ch 1
knob6K6 k6CC 75 · Ch 1
knob7K7 k7CC 76 · Ch 1
knob8K8 k8CC 77 · Ch 1
pad1Pad 1 pad1Note 36 · C2 · Ch 10
pad2Pad 2 pad2Note 37 · C#2 · Ch 10
pad3Pad 3 pad3Note 38 · D2 · Ch 10
pad4Pad 4 pad4Note 39 · D#2 · Ch 10
pad5Pad 5 pad5Note 40 · E2 · Ch 10
pad6Pad 6 pad6Note 41 · F2 · Ch 10
pad7Pad 7 pad7Note 42 · F#2 · Ch 10
pad8Pad 8 pad8Note 43 · G2 · Ch 10
p5.js sketch
function draw() {
  background(knob1 * 255);   // K1 · CC 70
  circle(width / 2, height / 2, 50 + knob2 * 300);   // K2 · CC 71
}

function padPressed(n, velocity) {      // n = 1…8, as in the table
  circle(random(width), random(height), velocity * 100);
}

This is a generic layout. Its numbering applies when you choose it as the on-screen controller; an unknown real controller numbers its knobs in the order you turn them.

The whole p5.js page →

Missing

Is your controller not here?

Open an issue with the brand and model, whether you have the unit and a link to the manual. Or write the profile yourself: it is one JSON file.

GitHub

Is something in this data wrong?

Every number on this page comes from one JSON file. If it disagrees with your unit or the manual, tell us which firmware you checked and we fix the file.