APC40 MK II write for FL Studio

MikeDoor

2019-10-29 23:56:33

Hey,

I have a crazy question to you. Did you think that would be possible to write the whole mapping to FL Studio from the Akai APC40 MK II?

I mean, maybe the most possible commands to write in another DAW not Ableton.

The APC40 was running perfect in other DAWs and FL Studio too.

So I think, if would be a possibility to write a mapping between APC40 MK II and FL Studio through the Bome Pro would be awesome!

But with much work! Didn't know, if the 32 bit variable version would be enough for writing this script...

 

Kindest regards

Mike

Steve-Bome Forum Moderator

2019-10-30 00:24:19

Very possible, just takes a bit of time an patience. Also if FL Studio has MIDI Learn, perhaps most controls would just map directly and all you would need Bome MIDI translator for are the few that don’t have a good mapping to FL studio.

I’ve mapped APC40 to GrandMA2 which doesn’t have any standard mapping. Had to convert all CC messages to notes as GransMA2 only understand notes.  Even created a mapping to run 2 APC40’s with GrandMA2 concurrently.  Again, just time and patience.

Creating a complete mapping on this board is outside of scope of support (but we can help with some pointed questions here).  However if you want a complete solution, I’m available for hire.  Just drop me an email.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

 

MikeDoor

2019-10-30 09:53:25

comment

Very nice!
I think maybe I will come back to your offer.
Another thing. I have a big list of translators for my MIDImix, can I run my MIDImix for these controls I have made and the APC40 for the other translators without interference the translators from my MIDImix?
Kindest regards
Mike

Steve-Bome Forum Moderator

2019-10-30 15:06:20

comment

Yes, this can be done. In FL Studio you would have to define 2 incoming controllers. In Bome MIDI Translator you would take the input from MIDIMix and send to one virtual port and from APC40 to another virtual port. I believe FL Studio support interacting with multiple MIDI ports. I also noticed that FL Studio supports the old APC40 and I might have a template somewhere that converts APC40MKII to APC40 original. I had to use it for a project I did with another client since I didn’t have an original APC40. I had to use my MKII for testing.
It probably needs a bit of work to make it more production ready though as I made it minimalistic just as a test jig for the project I did.

Steve

MikeDoor

2019-11-05 14:46:11

comment

Hey Steve, sorry for the late answer. Was a Little bit busy the last days.

Now I have started to program the mapping of the APC40 MK II.
But with the Lights “on” and “off” if the note is triggered or not, I got some problems. Did I have to give all notes a similar variable?

And another Thing, the important thing:

I can`t do a NRPN protocoll for the MIDI CC 149 (because I Need this for the “Play/Pause, Records” Buttons.
Couldn`t find the best solution to go over the 127 CCs. In the forum from FL Studio, they wrote, Play button has standard MIDI CC 149.
I`ve tried to look outside one template from the MIDI Controllers are installed. But can`t configure them and can`t find them to open the programmed script.
Another point. If I let run one of These templates on the MK II the Play/record Buttons run! But can`t find they command to do this….
Could you help me please on it?

kindest regards
Mike

Steve-Bome Forum Moderator

2019-11-05 16:23:42

comment

Yes, if you want to toggle lights on-and off for LED feedback from Bome, you will need a either a different global variable for each light or at least at least a bit defined (for light on/off) two bits (for for possible color states), 3 bits (for 8 possible color states) etc.

For CC149, I’m not sure what you are looking for but with MT Pro you can map any incoming message to any outgoing message so mapping from/to CC149 to/from NRPN is certainly possible. If you want to see how it works with the standard mappings, just put Bome MT Pro in between the controller and the application and turn on logging and watch.

Same thing, if you want to see what the MKII sends, just hook it up to MTPro with logging on, hit the desired button and watch the log.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

MikeDoor

2019-11-05 17:04:38

comment

Okey. I will try to resolve this, with one of your examples you did. Thanks.

The MK II tells me:
MIDI IN [APC40 mkII]: 90 5B 7F
MIDI IN [APC40 mkII]: 80 5B 7F
The Debug with the APC40 Template on my DAW by pressing the Play button (which works) tells me:
Akai APC40: 90 5B 7F Note On : G7
Handled (first chance) Absolute 0%
Akai APC40: 80 5B 7F Note Off: G7
Handled (first chance) Absolute 0%
Launching in MT Pro to the DAW the debug Shows (Which the Play button didn`t run)
(generic controller): 90 5B 7F Note On : G7
Handled (first chance) Absolute 0%
(generic controller): 80 5B 7F Note Off: G7
Handled (first chance) Absolute 0%

Steve-Bome Forum Moderator

2019-11-05 17:07:55

comment

Launching in MT Pro to the DAW the debug Shows (Which the Play button didn`t run)
(generic controller): 90 5B 7F Note On : G7
Handled (first chance) Absolute 0%
(generic controller): 80 5B 7F Note Off: G7
Handled (first chance) Absolute 0%

Make sure you have the correct output port set and send only to one output port.

MikeDoor

2019-11-05 17:10:28

comment

I´ve tried: MK II to Virtual Port 2
and routing MK II to Virtual Port 2.
In my DAW I have only Virtual Port 2 on.

Steve-Bome Forum Moderator

2019-11-05 21:43:21

comment

Double check your log file, looking at MIDI out.
I suspect that you have a translator sending the message and then also have a MIDI thru path set that is re-sending the message, hence is negating the first message.

Best to check all of the following and copy and past the log results

MIDI IN, MIDI Out, Incoming, Outgoing

Then press the button in question

MikeDoor

2019-11-05 23:14:17

comment

Maybe found the problem: It`s the absolute value:

Launching in MT Pro to the DAW the debug Shows (Which the Play button didn`t run)
(generic controller): 90 5B 7F Note On : G7
Handled (first chance) Absolute 100%
(generic controller): 80 5B 7F Note Off: G7
Handled (first chance) Absolute 0%

How I can convert “absolute to 0%”?

It isn`t value and not Velocity. Didn`t know, how to make this to 0%

Steve-Bome Forum Moderator

2019-11-06 00:22:32

comment

In rules, set it up so that if incoming message is 80 5B 7F raw put it to 80 5B 00 in raw.

MikeDoor

2019-11-06 00:39:11

comment

Now I got absolute 0% in G7 but the Play/Pause button didn`t wanna run again.
I don`T understand this….

Could it be, that I have to convert the 90 5B 7F/00 and 80 5B 7F/00 to a MMC protocol?

I have read something About the following Buttons:
Play/Pause, Record and Loop Buttons are running on MMC protocol, but normally if I got the right MIDI IN from the DAW and convert it to the same MIDI OUT should be run. But this didn`t wanna work.