I need help badly

I’m trying to get a JS midi function I’ve programmed on canvas to talk to two computers.

The iPad and both laptops are connected via Ethernet switcher and the canvas is only able to control the A computer

Hey @Arod 17, welcome to the forum!

There are a few different things that could cause this, so let’s narrow it down.

A few questions about your setup:

  • Is AbleNet enabled on both computers (Settings → Redundancy)? How many hosts does each one report?
  • Which host is your iPad actually connected to? You can check this in the Hosts menu or in the URL bar. A remote device is always connected to one specific computer at a time, and your Canvas scripts run against that host, so that’s the first thing worth confirming. (2:51 in the AbleNet tutorial explains this)
  • How does MIDI physically get out of each computer. Is it a USB interface on each one, RTP MIDI, something else?
  • Is the MIDI output port named exactly the same on both machines? sendMidiNote() and the other MIDI functions take the output name as their first argument, so if the port on computer B has a different name, the command has nowhere to go there.
  • Is computer B completely silent, or does it receive something but not what you expect?
  • Could you also share the script itself?

That way I can tell whether the issue is in the script or in how the command is being routed across the two machines.

Finally, could you provide log packages from both computers?
You can create a log package by opening AbleSet’s icon tray, clicking the gear icon, and then selecting “Create Log Package”. Please make sure to include your project files as well (just the .als files, no audio needed). To send the files, you can upload them to AbleSet’s support inbox.

The official tutorial also covers how redundant MIDI can be set up.

I’m looking forward to your reply!