Hercules P32 Custom Script

Discuss MIDI Controller support/issues here.

Return to “MIDI Controller Support”

[You can only see part of this thread as you are not logged in to the forums]
Jasper_odijk
Sun Mar 18, 2018 1:25 pm

x

Hercules P32 Custom Script

Hi all,

I would like to create a custom script for the Hercules P32, more or less like the one that is made for Ableton. See the link below:

https://remotify.io/product/kuala-hercu ... dj-ableton

I think a nice starting point would be to be able to control performance mode with LED feedback as done ie. with the Launchpad, but also wonders if it would be possible to use it program drums with FPC like this https://www.youtube.com/watch?v=OpToNmn1mKs

Perhaps some of you can point me in the right direction how to start?

I got the following to work:

The controller contains pads, which result into midi notes, and sliders and faders are coming in to FL so as CC's. Also I can set up a MIDI Out and send notes back to the P32 using using the HEX note numbers I have borrowed from http://forum.mixvibes.com/viewtopic.php?f=401&t=38669 but only after I have done some a small conversion. The hex notes are:

Code: Select all

PAD#

13 14 15 16 
 9 10 11 12
 5  6  7  8
 1  2  3  4
---------------
CUE Mode
60 61 62 63
5c 5d 5e 5f		
58 59 5a 5b
54 55 56 57		
-------------
Loop Mode
50 51 52 53 
4c 4d 4e 4f 		
48 49 4a 4b
44 45 46 47		
-------------
Slicer Mode
40 41 42 43
3c 3d 3e 3f		
38 39 3a 3b
34 35 36 37		
-------------
Sampler Mode
30 31 32 33
2c 2d 2e 2f		
28 29 2a 2b
24 25 26 27		
-------------
Mixer	Channel 1
		Channel 4
DECK A	Channel 2
		Channel 5
DECK B	Channel 3
		Channel 6
-------------------
REC**		Channel 1
REC**		Channel 4
-------------
SLIP**		Channel 1
SLIP**		Channel 4
In order to activate the LED colours on the above mentioned channels and note numbers a small conversion has to be done. When sample mode is activated pad 1 comes into FL as note 292 which tranlates to hex 124. According to the table above this should be 24. When using decimal note 36 (=hex 24) the note activates a colour using the controller values as shown below.

Code: Select all

LED_OFF = 0
RED_FULL = 125
RED_HALF = 21
RED_LOW = 11
BLUE_FULL = 126
BLUE_HALF = 61
BLUE_LOW = 41
PURPLE_FULL = 127
PURPLE_HALF = 101
PURPLE_LOW = 81
So to make pads 1 - 16 (which are note HEX 24 - 33 = Dec 36 - 51) blue when the P32 is set to sampling blue, I use MIDI out as below:

Image

Voilla this works.

Now my question is: where to go from here? I have been looking at the hardware specific templates in the system folder to see if I can alter them, but that does not make any sense to me straight away. I there any documentation on this I have missed?

NTO
Sun Mar 18, 2018 2:38 pm

x

Re: Hercules P32 Custom Script

Interesting project. I would start w/making ...

Jasper_odijk
Sun Mar 18, 2018 2:58 pm

x

Re: Hercules P32 Custom Script

Tnx NTO, indeed I have changed it to 35 and now...

NTO
Sun Mar 18, 2018 4:24 pm

x

Re: Hercules P32 Custom Script

Aw Snap! My bad in stating "(Nice to have the...

Jasper_odijk
Sun Mar 18, 2018 5:09 pm

x

Re: Hercules P32 Custom Script

Indeed, its a single port. But since the functi...

Jasper_odijk
Thu Mar 22, 2018 1:40 pm

x

Re: Hercules P32 Custom Script

I have checked the midi scripts for the Launchp...

Jasper_odijk
Wed Oct 10, 2018 3:25 pm

x

Re: Hercules P32 Custom Script

For those interested, I managed to get this to ...

Mikey951357
Fri Nov 08, 2019 1:26 pm

x

Re: Hercules P32 Custom Script

Hey man, I am interested in how did you get th...


Return to “MIDI Controller Support”