So, a bit of status update from yesterdays programmingsession.
I started out with testing the APC 40 pageselector project and the Gravitron project files, only to realize ( I hope correctly) that these were made for the APC 40 (mk1) and not the APC 40 mk2, and as such they only work partially since the 2 versions of the APC are different in some key ways.
It seems like the Clip Launch grid and the Scene Launch pads are the main difference, the mk2 sends Notes from the Clip Launch Grid on Midi channel 1, Note 1,1-1,40, and the Scene Launch is also sent on channel 1, notes 1,83-1,87.
I think that the mk1 sends its Lauch pads in a different way, the launching does not work at all when using the Gravitron project, and I couldnt really wrap my head around how to make that type of formula work for the controller at hand and the way we want to trigger things, so I made my own triggergrids, and will probably change them alot tonight, had some new ideas while driving home at midnight :P
And since these 45 pads are RGB they work very differently when it comes to feedback, they listen to Notes on all 16 channels, same color-range on each channel, but depending on what channel you send on, they behave differently.
For example sending on Channel 1 will make them just turn on in the chosen color, and sending on the other channels will make them pulse or blink in sync with some master tempo. We decided to simply send on Channel 1 for now, dont need them to blink or pulse from the hardware, easily done in LJ if needed.
And since they are RGB and not just 3 colors, they use the entire range of the Note you are sending on, 127 states that all give different colors/brightness levels (seems to be 3 levels for most color hues), so its kind of tricky to send a continuosly changing value and not flicker between colors and lighting up after a press of the pad, but it seems doable atleast.
Sending a sinewave with a period of 0.1-0.2 seconds, amplitude of 0.3% and ofset of 99.7% seems to work, and then just setting the max value of each attribute to get the color we want.
Sending a small amplitude gets ignored by the APC, bigger makes it switch between colors and a longer period makes the pads go dark for while until it updates again.
So not 100% optimal, but for now we are running in Default mode to made good use of the encoders, and the banking of the Device encorder and 4 of the device buttons.
In Ableton mode one does not need to constantly change the value for a LED to make them stay on, since the APC has given all LED controll to the host (Lightjams), and there would be no flickering when pressed, but at the moment this seems like the best way to do it, since we dont have a way at the moment to get the APC into Ableton Mode 1 where the APC controls just the LEDrings, all other LEDs controlled by Lightjams. Also, that mode would not give us banking of the Device Knobs, so on the whole, the current solution may be the best.
I´ll try to film the flickering effect and show you guys why I think it is a bit irritating..
On the positive side we do not really need to send midi to the other buttons at the moment, since most of the buttons except for the Launch pads work in a useful way already.
For example we use the Clip Stop pads as a Pause for the group of effect that are triggered by the launchgrid above, and those are momentary in the controller and lights up when pressed, so all good there.
The Arm/Solo/Select buttons are toggle and can be used like that to good effect.
The A/B button steps between 3 different modes, sending 0%(LED turned of), sending 0.8%(LED light-orange) and sending 1,6% (LED dark-orange), and I´m thinking of maybe using that to make 3 pages for each group in a similar but different way to how Mat have done it in the Pageselector APC40 project.
The other buttons are either momentary or toggle, and we can utilise that, so no need to fiddle with sending midi to them to get a momentary to act as a toggle, not at the moment atleast.
This also means we really only need to send 45 channels worth of Midi Notes och a single channel, so could either be done with just the one fixture containing 87 channels, or 2 fixtures, one with 45 and one with 5 channels and the later being adresses to 83, we want with the 2 patched fixtures in different modes route. Going to try and see if we can get the LEDrings on the encoders to switch mode, but not very high priority on that one, now I´ll focus on perfecting what we have now, and porting over as much as possible from the project we had ready for the Tour but programmed with our APC Mini.
Mat, thank you for the tip on how to change the type of attribute in a fixture, worked very good, and it was quick and easy to change all the EffectDimmable into Effect and now it works great!
So on the whole we are pretty happy with the current state of things, and I think we´ll get a good setup going, and after this tour I´ll spend more time to find possibly even better ways to use this controller :)
In someways I prefer to work with some hardware/software constraints and coming up with ways to utilise it rather then a completly blank sheet and making up how everything should work when I dont even know how I want it to work!
Thank you again for your support Mat!
I´ll post the project here when I have a more fully mapped and ready project to go, hopefully tonight, and you guys can see my ghetto-hacking way of programming :P