Crash report - processing + midi

Post your questions here and we'll all try to help.
Post Reply
Sadler
Posts: 240
Joined: Tue Sep 20, 2011 23:55

Crash report - processing + midi

Post by Sadler »

If this piece of code is running in Processing, Arena crashes on start-up.

Code: Select all

import themidibus.*;
MidiBus apc40;

void setup(){
  apc40 = new MidiBus(this, 0, 3);
}

void draw(){
}

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: Crash report - processing + midi

Post by Joris »

Yes. This has to do with the Control Surface recognition for the APC 40 in Resolume. The Control Surface recognition is the Generic / Ableton Live mode dropdown, we use this to put the APC in the correct 'mood'.

In order to see if it's an APC40, we need to send some midi to it and get it back. On a PC, only one application can access a device. So when another app already has the APC40 in use, this can cause a crash.

We're looking into improving this, along with better support for the APC20 and the APC40 Mk2.

kinksid
Posts: 14
Joined: Sun Nov 13, 2011 20:41

Re: Crash report - processing + midi

Post by kinksid »


Post Reply