Comments (12)
From @loop23 on June 3, 2015 12:39
+1
I may give it a try, I'm into sound protocols and would like to study OSC for personal sake
from espruinodocs.
Just moved to here, because this can be done as a module rather than as part of the Espruino firmware...
Good idea though.
from espruinodocs.
Yes, I was going to do it as a module anyway.
The event emitter interface is going to be very useful I believe
from espruinodocs.
Probably could just port https://www.npmjs.com/package/osc ; Are there any guidelines/tips for "porting node stuff to espruino"?
from espruinodocs.
Looks good - it doesn't seem like it's that bloated, it may run with quite minimal changes.
I don't have many tips really - just try and get rid of external dependencies (of which there aren't many) and try and avoid having loads of 'stub' functions like function getX() { return X; }
from espruinodocs.
you guys are awesome.
btw. is there also a DMX module available - or still missing?
thx @loop23 to try/port this. Perhaps I can help on testing
from espruinodocs.
There's no DMX library at the moment I'm afraid. There are some posts about it on the forum though - I think it'd be possible to get a transmitter going very easily with just a few lines of code. Receive could be a bit more tricky as you have to detect the start of frame - someone would have to try it and see.
from espruinodocs.
I currently working on a simple ArtNet Node based on ESP8266 + MAX485 chip. We have some lights at our hackerspace controlable via DMX, but still not enough cables (fucking expensive these cables).
So my idea is to build simple WiFi-ArtNet-Nodes (DMX over LAN = ArtNet)
I think it is really simple to build - you just need a couple of components; the ESP8266 WiFi SoC + MAX485 TTL chip, e.t.c.
Put everything into 3D printed case with antenna and connect DC power jack. Plugin into DMX device and wooohoo: control over air :D
There are a lot of arduino libraries out there doing this stuff.
Perhaps I will try to port this also to the Espruino.
from espruinodocs.
I did some preliminary work porting https://www.npmjs.com/package/osc and it's not looking too good; It runs out of memory when uploading. I removed all write functions, and at least it fits (but it's missing the DataView). I'll try and see if I find a polyfill of sorts.
from espruinodocs.
Hey @loop23, I know it's been a while, but did you manage to get osc working on a Espruino device? And if not, what problem did you run into that halted your progress? Any luck on your end, @gfwilliams ?
from espruinodocs.
I haven't had time, however there is now DataView support in Espruino, which should make the porting process easier!
from espruinodocs.
No, sorry, i didn't have a chance to get back to it. Be sure to have more memory than standard espruino if you want to use both in and out at the same time.
from espruinodocs.
Related Issues (20)
- [tutorials/BLE Advertising.md] Python section, not using sudo with pip HOT 1
- STM32F4DISCOVERY with different accelerometer HOT 2
- Data Streaming To GCP HOT 1
- [Hardware Reference - SetUI] HOT 3
- info/Compilation.md HOT 1
- info/Font Converter.md HOT 3
- KeyPad return values HOT 1
- Docs not built correctly HOT 1
- ST7735 on ESP32 using hardware SPI HOT 3
- graph module bug HOT 1
- Add "Bangle.js Battery Load/Intensity notes" HOT 2
- Reference pages layout improvements HOT 4
- Forum isn't redirecting correctly HOT 1
- tutorials/Software PWM.md HOT 1
- There is no maximum PW rate specified for the puck.js2 HOT 1
- Add Ungoogled Chromium and Bromite to docs as a FOSS alternative HOT 2
- New tutorial: How to rapidly build and test Espruino for banglejs2 HOT 2
- tutorials/Tiny Word Clock.md HOT 7
- Mouldking module not working, possibly wrong device address? HOT 3
- tutorials/Bangle.js Fast Load.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espruinodocs.