jazz-soft/JZZ

How to send MIDI messages to other Software?

katerlouis opened this issue · 1 comments

I want to send MIDI messages to Adobe Lightroom Classic's Plugin "MIDI2LR" (or for debugging just any MIDI logger like "MIDI Monitor" on macOS)

But neither the Lightroom Plugin is reacting to the message I'm sending nor is "a new device" showing up in MIDI Monitor.

I'm intending to use this in a Nuxt 3 Application. Here is my page component:

<template>
  <div class="midi-out-test">
    <button @click="sendMidi()">
      Send some Midi
    </button>
  </div>
</template>

<script>
import * as JZZ from 'jzz';

export default {
  name: 'MidiOutTest',

  mounted() {
    this.output = JZZ().openMidiOut('Frankensteins Controller');
  },

  methods: {
    sendMidi() {
      this.output.control(1, 1, 127);
    },
  },
};
</script>

Receiving MIDI to manipulate my application works already on a different page in this project, so I guess JZZ is working properly.

How can I make messages go out of the browser to said applications?

Thanks!

EDIT: My op1 field (pocket synth connected via bluetooth) just played a note while working on a solution. I crapped myself :D:D – So apparently MIDI is sent. But it's still not picked up by either MIDI2LR or MIDI Monitor. So I have to "create and register a device somehow"?

Are you trying to create a new MIDI port? In this case you may want to try https://github.com/jazz-soft/midi-test
JZZ can only open existing MIDI ports.