Page 1 of 1

Crash report - processing + midi

Posted: Sun Jun 29, 2014 15:42
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(){
}

Re: Crash report - processing + midi

Posted: Thu Jul 03, 2014 14:48
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.

Re: Crash report - processing + midi

Posted: Tue Oct 07, 2014 00:26
by kinksid