APC40 MK II write for FL Studio

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

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

 

 

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

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

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

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

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%

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.

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.

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

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%

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

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.

Hi. I have the same problem. And how do you continue with this script.Do you have resignwd some buttons and pads for performance mode in Fl studio? Thnks Ladislav

Hi @leysinho1 and welcome to the Bome community!

I’m not sure what the “same problem” means as we discussed several issues in this thread. Could you start a new thread with the exact issue you are seeing? Are you trying to get play/pause working with FL Studio with your APC40-MKII or perhaps you are trying to use the APC40-MKII with an APC40-MKI FL Studio definition. The first issue is fairly easily solvable (Play/Pause). The second issue is more complex and would need either:

  1. Bome MIDI Translator Project to convert APC40-MKII commands and LEDs to existing FL Studio definition for APC40-MKI
  2. A new FL Studio APC40-MKII definition mapping which should probably come from FL Studio

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Hi, Steve.

I am not programmer ,only musician and I try to use my mk2 like in Ableton, using pads for playing clips ,scenes. tempo knob use for tempo,nudge± for nudge. yeah, when anybody has existing script for mk1 and is remaked for some functions of mk2 it is huge. I dont now find any script,on internet for use in Fl studio. I don t know where are scripts for midi controllers hidden in Fl studio.Nothing. Any idea ? Thnks

The following link might be helpful. I cannot get to the scripting forum mentioned as I’m not a customer of FL Studio. If you are a customer, maybe an APC-40 MKII definition script is posted there.

https://www.image-line.com/fl-studio-learning/fl-studio-online-manual/html/midi_scripting.htm

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Hi, Steve.

Yes, I was read this manual and I was looking for scripts in those files,but nothing I found. I was looking for APC-40 MKI script, because the MKII is not supported with Imagine-Line as midi controller usable in FL Studio now. They didn´t write a script for and some people who asked the Akai company for FL Studio script,received the answer " don´t plan write script for FL at near future." So, it remains only remake MKI script for use of MKII or remapping it with Bome.
Ok, I will must to start a new thread here and try find anybody with remaked script. :slightly_smiling_face:

Thanks for all Steve and sorry for my English

You can certainly try this script. I pretty much made if for a different application but it might work for you with FL studio.

I set up so the Play button on your APC40-MKII will alternate between play and stop.
Other than that, it attempts to just emulate everything that APC40-MK1 does with an APC40-MK2.

Set up your aliases as follows in MT Pro.

image

And FL Studio Like the below

Using the attached project file.

APC40-MKII-to-APC40MK1 Emulator-FL-Studio -2022-06-01.bmtp (34.8 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Thank you ,Steve. I will try it.Have a nice day :slightly_smiling_face:.
Ladislav