Select your language

Résolution de problème : merci de consulter la FAQ et le Wiki

Aidez-nous à améliorer le contenu du Wiki et de la FAQ en les consultant. Le Wiki est mis à jour régulièrement et la FAQ permet une résolution rapide des principales embûches rencontrées. N'hésitez pas à nous faire parvenir vos suggestions d'amélioration sur le forum ou à éditer directement le Wiki ou la FAQ .

INTERFACES - node.js remote for D::Light

More
11 years 6 months ago #8632 by sl1200mk2
INTERFACES - node.js remote for D::Light was created by sl1200mk2
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

Please Log in to join the conversation.

More
11 years 6 months ago #8648 by sl1200mk2
Replied by sl1200mk2 on topic INTERFACES - node.js remote for D::Light
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

Please Log in to join the conversation.

More
11 years 6 months ago - 11 years 6 months ago #8652 by nomatter
Replied by nomatter on topic INTERFACES - node.js remote for D::Light
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.
Last edit: 11 years 6 months ago by nomatter.

Please Log in to join the conversation.

More
11 years 6 months ago #8653 by sl1200mk2
Replied by sl1200mk2 on topic INTERFACES - node.js remote for D::Light
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

Please Log in to join the conversation.

More
11 years 6 months ago #8654 by nomatter
Replied by nomatter on topic INTERFACES - node.js remote for D::Light
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.

Please Log in to join the conversation.

More
11 years 6 months ago #8656 by sl1200mk2
Replied by sl1200mk2 on topic INTERFACES - node.js remote for D::Light
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

Please Log in to join the conversation.

More
11 years 5 months ago #8804 by Durruti
Replied by Durruti on topic INTERFACES - node.js remote for D::Light
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

Please Log in to join the conversation.

More
11 years 5 months ago #8806 by nomatter
Replied by nomatter on topic INTERFACES - node.js remote for D::Light
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.

Please Log in to join the conversation.

More
11 years 5 months ago #8809 by sl1200mk2
Replied by sl1200mk2 on topic INTERFACES - node.js remote for D::Light
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

Please Log in to join the conversation.

More
11 years 5 months ago #8813 by nomatter
Replied by nomatter on topic INTERFACES - node.js remote for D::Light
Are you sure about this?
Because to me seems that it does not Receive but just Send.
But I will try harder.

Please Log in to join the conversation.

More
11 years 5 months ago #8815 by sl1200mk2
Replied by sl1200mk2 on topic INTERFACES - node.js remote for D::Light
No, not sure....
But a sevrer should send and receive... otherwise it's not a server.
++

nicolas

Please Log in to join the conversation.

More
11 years 2 months ago #9297 by Wishmapper
Replied by Wishmapper on topic INTERFACES - node.js remote for D::Light
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

Please Log in to join the conversation.

More
11 years 2 months ago #9300 by sl1200mk2
Replied by sl1200mk2 on topic INTERFACES - node.js remote for D::Light
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

Please Log in to join the conversation.

More
11 years 2 months ago - 11 years 2 months ago #9305 by Wishmapper
Replied by Wishmapper on topic INTERFACES - node.js remote for D::Light
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é !
Last edit: 11 years 2 months ago by Wishmapper.

Please Log in to join the conversation.

More
11 years 2 months ago #9307 by sl1200mk2
Replied by sl1200mk2 on topic INTERFACES - node.js remote for D::Light
t'as redémarré ton ordi depuis l'installation de node.js?

++

nicolas

Please Log in to join the conversation.

Time to create page: 0.200 seconds
Powered by Kunena Forum