Bienvenue, Invité
Nom d'utilisateur : Mot de passe :
  • Page :
  • 1
  • 2

SUJET :

INTERFACES - node.js remote for D::Light il y a 6 ans 7 mois #8632

  • sl1200mk2
  • Portrait de sl1200mk2 Auteur du sujet
  • Hors Ligne
  • Messages : 8018
  • Karma: 78
  • Remerciements reçus 701
Hi,
Charlie Roberts wrote nice code that he called INTERFACES.
it's designed to run as a server on a computer allowing any other devices talking to it thanks to a web browser. The server translate the messages to OSC that can be understand by DL.
I like the idea because it's free, you can use the same code (layout) from an ipad, IOS phone, android phone, windows phone, everything non-phone..., it can be scripted (for example we can build a layout that integrate a color picker like this one: bebraw.github.io/colorjoe/ wich is great for a remote control for Devices).

also you can involve in developping a powerfull remote without the need to get inside DL code....

INTERFACES requires node.js to be installed: nodejs.org/
node is two software pieces : npm and node itself (where npm is used to install other library like the color picker)

once node.js is installed,
download the code of INTERFACES here : github.com/charlieroberts/interface.js
(there's a download .zip on the right part of the site)
unzip, move to interface.js-master/server and type :
npm install (this will install required library)

right after you type:
node interface.simpleserver.js (this will launch the server in minimal way _ Charlie told me he's actually re-writing the server with GUI)

and in a web browser you type: (the name of my computer is brouhaha, you'll need to adapt according to your computer's name)
brouhaha.local:8080/OSC_test.htm

and you'll see upper part is a button / lower part is a slider.

once we could manage to have a working layout for DL, it must be located in interface.js-master/server/interfaces in order to be reachable.

it can appear to be a geek think but it's easy and can provide us a usefull remote for DL.
I hope I've fished you and some of us will find time to work on that project.
any feedback are welcomes,
++
nico
nicolas

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 7 mois #8648

  • sl1200mk2
  • Portrait de sl1200mk2 Auteur du sujet
  • Hors Ligne
  • Messages : 8018
  • Karma: 78
  • Remerciements reçus 701
If anyone is interrested, Charlie has modified interface's code to accept Pages (like the good old Control code).
I think I'll start the work and you'll be able to follow it on github:
github.com/dlight-tools

any help is more than welcome...
++
nicolas

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 7 mois #8652

  • nomatter
  • Portrait de nomatter
  • Hors Ligne
  • Messages : 60
  • Remerciements reçus 0
Hallo Nico,

as I would have said elsewhere in this forum, I will be very glad to contribute in developing an Interface, a wing, a remote control to program and playback.

I visited Charlie's website and his github pages.
Some links are broken: no documentation file nor prebuilt binaries for interface.server.

I've tryed to build them as described but a lot of error occurred.
I'm working on OSX 10.9.5 and XCode packages are already installed.
I'm stuck on this.

Anyway, time in this days isn't too much.
I'm testing Dlight for real and it works.
With Enttec DMX Pro and Korg Nanocontrol and Qlab to control Go via-midi. Wow!

I will stay tuned and try again to build and make it work.

Carlo.


Edit: I succeeded to manage it. I'm in. For sure, a documentation file would help.

Connexion pour participer à la conversation.

Dernière édition: par nomatter.

INTERFACES - node.js remote for D::Light il y a 6 ans 7 mois #8653

  • sl1200mk2
  • Portrait de sl1200mk2 Auteur du sujet
  • Hors Ligne
  • Messages : 8018
  • Karma: 78
  • Remerciements reçus 701
Hi Carlo,
glad you want to work on that...
if we can manage it, it should provide a nice remote....

the big server isn't mandatory, there's one include within interface.js zip file.
I've put the first beginning of nothing here:
github.com/dlight-tools/dlight-pad/tree/master/interface

one thing to do would be to write the readme.md for this page.
if you're not familiar with github, please have a look to this thread:
www.nicole-banana.com/index.php/forum/1-...ommandd?limitstart=0

I'm going on tour this morning, and I don't think i'll be able to help for a week...

also just one thing, I use Chrome to test the layout, and it have a Console javascript display with is great for debugging.
++
nicolas

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 6 mois #8654

  • nomatter
  • Portrait de nomatter
  • Hors Ligne
  • Messages : 60
  • Remerciements reçus 0
I will.

GitHub registration done.
Next nights I will try to step forward.
But I'm in the middle of something myself (a festival technical direction) so... Let's keep in touch.

Cheers,

Carlo.

Ps: someone stole my favorite nickname on github so I will be nonebutcarlo.

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 6 mois #8656

  • sl1200mk2
  • Portrait de sl1200mk2 Auteur du sujet
  • Hors Ligne
  • Messages : 8018
  • Karma: 78
  • Remerciements reçus 701
Cool,
I'm constantly referring to Charlie the author of interface to ask him some advice as I don't know anything to JavaScript...
He answer with no problem, si don't hesitate to ask him for more.
++
nicolas

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 6 mois #8804

  • Durruti
  • Portrait de Durruti
  • Hors Ligne
  • Messages : 5
  • Remerciements reçus 0
Just me using Charlie´s remote to control Dlight :)



Really hepfull for me!!

If I have some time I will make a video tutorial about use D:light and this awesome remote

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 6 mois #8806

  • nomatter
  • Portrait de nomatter
  • Hors Ligne
  • Messages : 60
  • Remerciements reçus 0
Hi Durruti,

I've download Charlie's codes and tried to let them work.
Interface.js works but, if I didn't fails something, it can just translate commands from your interface in OSC command.
But it cannot receive commands. And with programs like Dlight that's important.

The one which should do the job is Interface.server.
And I can not make it works.

Node-webkit windows seems not to be refreshing so, when you try to make a New Server it stucks and don't let you choose directory and so on.

Now that (maybe) I will have some time I'll try to ask him what I miss. Or if he could prepare working binaries.

Let's see what happen.
At the moment the system seems to be a little bit complicated for ordinary users.

Let's keep updated.


Carlo.

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 6 mois #8809

  • sl1200mk2
  • Portrait de sl1200mk2 Auteur du sujet
  • Hors Ligne
  • Messages : 8018
  • Karma: 78
  • Remerciements reçus 701
guys,
you don't need the big interface.server.
the one include in interface.js/server called interface.simpleserver.js should be enough to send and receive OSC.
though, I've never tried to receive....

At the moment the system seems to be a little bit complicated for ordinary users.

at the moment yes it is...
but we can work on making it easier (and include code to DL distribution...)

++
nicolas

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 6 mois #8813

  • nomatter
  • Portrait de nomatter
  • Hors Ligne
  • Messages : 60
  • Remerciements reçus 0
Are you sure about this?
Because to me seems that it does not Receive but just Send.
But I will try harder.

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 6 mois #8815

  • sl1200mk2
  • Portrait de sl1200mk2 Auteur du sujet
  • Hors Ligne
  • Messages : 8018
  • Karma: 78
  • Remerciements reçus 701
No, not sure....
But a sevrer should send and receive... otherwise it's not a server.
++
nicolas

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 3 mois #9297

  • ArnoSound
  • Portrait de ArnoSound
  • Hors Ligne
  • Messages : 75
  • Karma: 1
  • Remerciements reçus 3
Hi !
I think I've got a problem with node.js installing.
I have downloaded on nodejs.org the file "node-v0.10.36.pkg". I've installed it, and the final box tell me that :
-Node was installed at
/usr/local/bin/node
-npm was installed at
/usr/local/bin/npm
BUT ! I don't have any folder named "bin" in the root of my name of user. Spotlight doesn't find any file named "npm" or "node". So I think the installation failed.

Somebody to help me ?

MacOSX 10.10.1
Pièces jointes :

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 3 mois #9300

  • sl1200mk2
  • Portrait de sl1200mk2 Auteur du sujet
  • Hors Ligne
  • Messages : 8018
  • Karma: 78
  • Remerciements reçus 701
hello,
/usr est un répertoire caché sur l'osx (accède-y en connaissance de cause car sir tu fais des conneries dedans tu peux vraiment foutre le why dans l'ordi...)

et puis normalement t'as pas besoin d'y accéder...
sinon regarde ici par exemple:
dupcaumac.fr/afficher-les-dossiers-et-fichiers-caches-mac-osx/

et tu verras que npm est bien installé dans /usr/local/bin
et c'est pas dans le root de ton utilisateur que se trouve /usr, c'est en amont.
++
nicolas

Connexion pour participer à la conversation.

INTERFACES - node.js remote for D::Light il y a 6 ans 3 mois #9305

  • ArnoSound
  • Portrait de ArnoSound
  • Hors Ligne
  • Messages : 75
  • Karma: 1
  • Remerciements reçus 3
Merci de ta réponse !
Donc si je comprends bien la suite de la procédure, j'ouvre le terminal et je vais me placer dans le dossier "interface.js-master/server", puis je tape "npm install". Sauf que j'ai un message d'erreur dans le terminal après cette manip :


npm WARN package.json interface.simpleserver@0.0.0 No repository field.

> midi@0.9.0 install /Users/arno/Documents/PRO/Geek/InterfaceJS/interface.js-master/server/node_modules/midi
> node-gyp rebuild

gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: getaddrinfo ENOTFOUND
gyp ERR! stack at errnoException (dns.js:37:11)
gyp ERR! stack at Object.onanswer [as oncomplete] (dns.js:124:16)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/arno/Documents/PRO/Geek/InterfaceJS/interface.js-master/server/node_modules/midi
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

> ws@0.4.32 install /Users/arno/Documents/PRO/Geek/InterfaceJS/interface.js-master/server/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

npm ERR! midi@0.9.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the midi@0.9.0 install script.
npm ERR! This is most likely a problem with the midi package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls midi
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/arno/Documents/PRO/Geek/InterfaceJS/interface.js-master/server
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

Du coup, je suis coincé !

Connexion pour participer à la conversation.

Dernière édition: par ArnoSound.

INTERFACES - node.js remote for D::Light il y a 6 ans 3 mois #9307

  • sl1200mk2
  • Portrait de sl1200mk2 Auteur du sujet
  • Hors Ligne
  • Messages : 8018
  • Karma: 78
  • Remerciements reçus 701
t'as redémarré ton ordi depuis l'installation de node.js?

++
nicolas

Connexion pour participer à la conversation.

  • Page :
  • 1
  • 2
Temps de génération de la page : 0.248 secondes
Propulsé par Kunena

Login

Online

Release :
4.2.04
 
Testing :
4.2.05_b8
 
 
Formations à venir :
 
Aucun évènement à venir!

 

 

LinkedIn Profile

 

DL TShirt icon

dlight tshirt