My code was written for the APC20 model. It's possible to run it on the APC40, but the right side won't work because it wasn't accounted for in the code. Unfortunately, this code won't work on the mk2 controller version because it has a different arrangement of MIDI notes on the keys compared to the older version, and it has different MIDI note codes to control LED backlighting. You can try running the code for the APC midi mk2 - if the notes for keys and sliders are the same, it will partially work. Unfortunately, encoders are also not considered in that code. Perhaps you should consider using a different solution, such as Show Cockpit or another Lua code.
hello, j'ai essayé de faire fonctionner le fichier mais j'ai une erreur sur le script ligne 26 caract 1 ? comment faire pour que ça fonctionne ? ça a l'air bien mais j'aimerai le faire fonctionner ;-)
Avant tout, veuillez lire attentivement le fichier README et effectuer les actions appropriées. Je suppose que vous exécutez mon code à l'aide d'un programme sous Windows plutôt qu'avec node.exe du package Node.js dont le lien est fourni dans le README. Vérifiez si vous avez correctement ajouté le nom d'utilisateur et le mot de passe, et si vous avez activé la connexion à distance (vous pouvez le vérifier en ouvrant www 127.0.0.1). Assurez-vous également que le contrôleur MIDI n'est pas utilisé par une autre application - y compris MA2 !
Bien sûr, si vous avez des difficultés, n'hésitez pas à me contacter sur mon compte Facebook personnel ou sur le groupe Facebook. Nous pouvons vous aider à distance.
I wrote several solutions for other MIDI controllers, such as the APC Mini or BCF2000, because each of them has slightly different MIDI messages assigned to the buttons. At one point, I started working on code for the Launchpad Mk3 because I saw a lot of potential in it, but due to a conflict with feedback on virtual faders, I completely abandoned the project and sold the Launchpad. Of course, you can use more than one controller this way, but unfortunately, I don’t have a ready-made solution for your Launchpad. You can simply use it with other software or map it manually via MIDI in MA2.
Todo se muestra en el video y no necesita ser un programador para ejecutarlo. Qué hay que hacer para que esto funcione. Descargue e instale nodejs en la versión que se proporciona en la descripción. En el programa de luces, active el control remoto web (inicio de sesión remoto) y agregue un usuario y una contraseña. Luego ejecute CMD (win + R) y ejecute dos comandos para ir a mi directorio de código. Ejecuta el código con el nodo de comando seguido del nombre del archivo .js Algunas personas intentan ejecutar el código haciendo clic en el ícono; puede ejecutarlo así; solo necesita cambiar el programa predeterminado que abre este tipo de archivo a nodejs.
Hi My greetings Man. Can you tell, page_mode =2 particularly implemented but non of the faders are going to work because of pageIndex2 = pageIndex in that mode? Thank anyway.
Everything works correctly pageindex is the page parameter for executors and pageindex2 is the page parameter for faders. In mode 2 - by changing the page with the buttons on the right - the pageindex parameter is set for executors - and is also copied for faders via (pageindex2 = pageindex;)
@@KrzysztofKorzeniowski Thank you, I used wrong word, faders instead of encoders, now I can see last string of README.md -> ENCODER - not programed. Is it current state of art ? No encoders yet implemented ? input.on('cc', function (msg) { this line kind of a test IMHO
@@mikg2618 HI if u want use apc20 encoder to control pan, add after this line input.on('cc', function (msg) { this code var encodervalue = 1; if (msg.controller == 47) { if (msg.value == 2) { client.send('{"requestType":"encoder","name":"PAN","value":' + encodervalue + ',"session":' + session + ',"maxRequests":0}'); } else if (msg.value == 126) { client.send('{"requestType":"encoder","name":"PAN","value":' + -1 * encodervalue + ',"session":' + session + ',"maxRequests":0}'); } }
unfortunately ma2 and webremote work as two separate controllers. Some functions, e.g. store - will not work - because you would have to select them on the webremote screen.
@@KrzysztofKorzeniowski I mean go to not that on comand wing and for example when you on executor press flash or go or toggle it works and when you choose goto it does not work
@@myroslavyaskovets2126 yes i know this - it won't work - because goto would have to be selected for webremote. grandma does not sync everything with web remote. You can use my code to read only the state of the containers and send midi commands with midiox or bome. All you have to do is disable midiin in your code. Change this line var input = new easymidi.Input (midi_in); in this way // var input = new easymidi.Input (midi_in); I don't have a controller now - but it is possible that I would have to remove the part of the code responsible for sending messages this has
You program normally like any other show - If you use the ma2 onpc version you run the code on the same computer. If you are using the ma2 console - you can run this code on a computer connected to the lan console and you can give it the ip number, but it is better to run onpc and connect to the console in one session - it is safer this way.
@@KrzysztofKorzeniowski but can I use that using only a laptop with artnet converter or something like that? I know that in order to use MA onpc controlling fixtures we need some MA hardware like a node, to unlock parameters, which is expensive as hell, but i've already seen 2 guys in 2 different bands using only the Laptop+APC mini. I dont know either of these guys so I didnt ask how they had it working
@@RafaelSilva-jz5jm Yes - to unlock parameters you need e.g. MA2 node. If you want to start an adventure with lighting, I recommend MA Dot2, it has 1 universe unlocked and will work with any artnet gate. Operation is very simple and similar to MA2.
@@KrzysztofKorzeniowski Thank you, but im already a bit into ma2 but only using it with its own 3d viz, that kinda sucks, and keyboard/mouse, so im stuck at practicing making timecodes, which is actually funny but yeah... Im interested in buying a MK2 to keep learning, and perhaps thats what i will do in the next months
@@RafaelSilva-jz5jm OK - if you're exclusively working with MA2, I understand. I have the NODE 2k, and it's the most affordable solution to start working with the software - along with a MIDI controller, it's very convenient. For MA2, there are many solutions and plugins available, so there are plenty of possibilities. I also recommend the Elgato Stream Deck - it's incredible how it can streamline your work if you have custom graphics with descriptions instead of colored buttons on the screen.
Yes - this code can be work with apc40 - but U need make some changes - 1. open js file - find //config line - and change midi_in and midi_out to correct midi names. 2. find line| output.send('sysex', [0xF0, 0x47, 0x7F, 0x7B, 0x60, 0x00, 0x04, 0x42, 0x08, 0x02, 0x01, 0xF7]); //APC20 mode2 and change to output.send('sysex',[0xf0, 0x47, 0x00, 0x73, 0x60, 0x00, 0x04, 0x42, 0x08, 0x04, 0x01, 0xf7]); //APC40 mode2
works great, special thanks for meshuggan song))
New Version 1.3.5 - u can use encoders
Hola buenas noches, tengo un problema que me salta error en node ya hice todo los pasos y no hay caso
saludo.
I connected grandma2 with apc40 mk2, only fader work and how to set up encoders.
My code not work with apc40 mk2. I dont have this controller.
My code was written for the APC20 model. It's possible to run it on the APC40, but the right side won't work because it wasn't accounted for in the code. Unfortunately, this code won't work on the mk2 controller version because it has a different arrangement of MIDI notes on the keys compared to the older version, and it has different MIDI note codes to control LED backlighting.
You can try running the code for the APC midi mk2 - if the notes for keys and sliders are the same, it will partially work. Unfortunately, encoders are also not considered in that code.
Perhaps you should consider using a different solution, such as Show Cockpit or another Lua code.
thanks@@KrzysztofKorzeniowski
hello, j'ai essayé de faire fonctionner le fichier mais j'ai une erreur sur le script ligne 26 caract 1 ? comment faire pour que ça fonctionne ? ça a l'air bien mais j'aimerai le faire fonctionner ;-)
Avant tout, veuillez lire attentivement le fichier README et effectuer les actions appropriées.
Je suppose que vous exécutez mon code à l'aide d'un programme sous Windows plutôt qu'avec node.exe du package Node.js dont le lien est fourni dans le README.
Vérifiez si vous avez correctement ajouté le nom d'utilisateur et le mot de passe, et si vous avez activé la connexion à distance (vous pouvez le vérifier en ouvrant www 127.0.0.1).
Assurez-vous également que le contrôleur MIDI n'est pas utilisé par une autre application - y compris MA2 !
Bien sûr, si vous avez des difficultés, n'hésitez pas à me contacter sur mon compte Facebook personnel ou sur le groupe Facebook. Nous pouvons vous aider à distance.
Hello, great work, is that work with another midi controller ? I have a novation launchpad mk2. Thanks 👍
I wrote several solutions for other MIDI controllers, such as the APC Mini or BCF2000, because each of them has slightly different MIDI messages assigned to the buttons. At one point, I started working on code for the Launchpad Mk3 because I saw a lot of potential in it, but due to a conflict with feedback on virtual faders, I completely abandoned the project and sold the Launchpad. Of course, you can use more than one controller this way, but unfortunately, I don’t have a ready-made solution for your Launchpad. You can simply use it with other software or map it manually via MIDI in MA2.
Another question😅, how do you assign midi remote to the direct action button ? When i try to do It, i have to do It in command, Is the right method ?
@@xa-vi-d.o3387 help2.malighting.com/Page/grandMA2/remote_control_input/en/3.9
Podras mostrar la ruta de comando o explicar mejor que lineas poner para los que no son programadores de JS desde ya muchas gracias
Todo se muestra en el video y no necesita ser un programador para ejecutarlo.
Qué hay que hacer para que esto funcione.
Descargue e instale nodejs en la versión que se proporciona en la descripción.
En el programa de luces, active el control remoto web (inicio de sesión remoto) y agregue un usuario y una contraseña.
Luego ejecute CMD (win + R) y ejecute dos comandos para ir a mi directorio de código.
Ejecuta el código con el nodo de comando seguido del nombre del archivo .js
Algunas personas intentan ejecutar el código haciendo clic en el ícono; puede ejecutarlo así; solo necesita cambiar el programa predeterminado que abre este tipo de archivo a nodejs.
Si todavía tiene problemas para iniciar, contácteme a través de FB (facebook.com/ArtGate512) - Intentaré ayudarlo de forma remota
Hi My greetings Man.
Can you tell, page_mode =2 particularly implemented but non of the faders are going to work because of pageIndex2 = pageIndex in that mode? Thank anyway.
Everything works correctly
pageindex is the page parameter for executors and pageindex2 is the page parameter for faders.
In mode 2 - by changing the page with the buttons on the right - the pageindex parameter is set for executors - and is also copied for faders via (pageindex2 = pageindex;)
@@KrzysztofKorzeniowski Thank you, I used wrong word, faders instead of encoders, now I can see last string of README.md -> ENCODER - not programed. Is it current state of art ? No encoders yet implemented ? input.on('cc', function (msg) { this line kind of a test IMHO
@@mikg2618 HI
if u want use apc20 encoder to control pan, add after this line
input.on('cc', function (msg) {
this code
var encodervalue = 1;
if (msg.controller == 47) {
if (msg.value == 2) {
client.send('{"requestType":"encoder","name":"PAN","value":' + encodervalue + ',"session":' + session + ',"maxRequests":0}');
} else if (msg.value == 126) {
client.send('{"requestType":"encoder","name":"PAN","value":' + -1 * encodervalue + ',"session":' + session + ',"maxRequests":0}');
}
}
Very cool, but “go to” is not working
You can write something more - what do you want to do and what doesn't work?
unfortunately ma2 and webremote work as two separate controllers. Some functions, e.g. store - will not work - because you would have to select them on the webremote screen.
@@KrzysztofKorzeniowski I mean go to not that on comand wing and for example when you on executor press flash or go or toggle it works and when you choose goto it does not work
@@myroslavyaskovets2126 yes i know this - it won't work - because goto would have to be selected for webremote. grandma does not sync everything with web remote. You can use my code to read only the state of the containers and send midi commands with midiox or bome.
All you have to do is disable midiin in your code.
Change this line
var input = new easymidi.Input (midi_in);
in this way
// var input = new easymidi.Input (midi_in);
I don't have a controller now - but it is possible that I would have to remove the part of the code responsible for sending messages this has
@@myroslavyaskovets2126 Yes - i confirm - if exec button is set as GO TO - command not work - Go to not work in webremote
How can I use this to work using real fixtures? Amazing videos btw!
You program normally like any other show - If you use the ma2 onpc version you run the code on the same computer. If you are using the ma2 console - you can run this code on a computer connected to the lan console and you can give it the ip number, but it is better to run onpc and connect to the console in one session - it is safer this way.
@@KrzysztofKorzeniowski but can I use that using only a laptop with artnet converter or something like that? I know that in order to use MA onpc controlling fixtures we need some MA hardware like a node, to unlock parameters, which is expensive as hell, but i've already seen 2 guys in 2 different bands using only the Laptop+APC mini.
I dont know either of these guys so I didnt ask how they had it working
@@RafaelSilva-jz5jm Yes - to unlock parameters you need e.g. MA2 node. If you want to start an adventure with lighting, I recommend MA Dot2, it has 1 universe unlocked and will work with any artnet gate. Operation is very simple and similar to MA2.
@@KrzysztofKorzeniowski Thank you, but im already a bit into ma2 but only using it with its own 3d viz, that kinda sucks, and keyboard/mouse, so im stuck at practicing making timecodes, which is actually funny but yeah...
Im interested in buying a MK2 to keep learning, and perhaps thats what i will do in the next months
@@RafaelSilva-jz5jm OK - if you're exclusively working with MA2, I understand.
I have the NODE 2k, and it's the most affordable solution to start working with the software - along with a MIDI controller, it's very convenient.
For MA2, there are many solutions and plugins available, so there are plenty of possibilities. I also recommend the Elgato Stream Deck - it's incredible how it can streamline your work if you have custom graphics with descriptions instead of colored buttons on the screen.
I have apc40 I can do the same?
Yes - this code can be work with apc40 - but U need make some changes -
1. open js file - find //config line - and change midi_in and midi_out to correct midi names.
2. find line|
output.send('sysex', [0xF0, 0x47, 0x7F, 0x7B, 0x60, 0x00, 0x04, 0x42, 0x08, 0x02, 0x01, 0xF7]); //APC20 mode2
and change to
output.send('sysex',[0xf0, 0x47, 0x00, 0x73, 0x60, 0x00, 0x04, 0x42, 0x08, 0x04, 0x01, 0xf7]); //APC40 mode2
@@KrzysztofKorzeniowski thanks it's woks, but how can I chang2 protocol from websocet to tel net?
@@taurus86 i dont know , i dont use telnet
@@KrzysztofKorzeniowski not all version support web socket((
@@taurus86 HI, i know - this not work with 3.1.2.5 version :P
How many universes U need to work ?