Giter Site home page Giter Site logo

m158a-node_python_odot's Introduction

Sending OSC to Max

Disclaimer -- it's super late now, but I think a lot of you are interested in this, so here goes...

IMPORTANT

You don't need to use these modules specifically. I tested the basics for you, but if you Google things like Node OSC or Python OSC you will find a lot of libraries. You can try out other ones if these don't work for you.

MAX

Please open OPEN_ME.maxpat before doing anything else.

Seriously, if I get one email about "What should I open in Max" Imma ban you 4 life.

Node

You need Node installed. That comes with npm -- which used to stand for Node Package Manager but I've read that it doesn't anymore... Computer Scientists of the future, please try to keep it real and stop with this nonsense.

The osc module appears to be the best supported -- I have no way of testing on Windows at the moment. If it doesn't work, try to find another OSC library that does...

cd nodejs
npm install osc
node send.js

Note that I did copy/paste the example code that makes odot bundles sent out of Max print to a Node console -- see the code for send.js for that.

Python

One thing I forgot about Python is how exciting it is to answer a students' question about a Python library without knowing if you need Python 2 or Python 3. COMPUTER SCIENTISTS, YO, LET'S TRY TO KEEP IT REAL!

Anyway, this pyOSC thing does the trick, though as you can see I just copy/pasted OSC.py in both python2 and python3 folders...

cd python/python3
python send.py

Read the readme in /python for stuffs.

SUMMARY

Let's try to keep it real for reals.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.