Giter Site home page Giter Site logo

aioi's Introduction

Λioi

A companion app for ORCΛ using its UDP operator to send complex OSC message to multiple hosts.

Λioi

Goals

Λioi is an ElectronJS application that intends to let you access the extra complexity you may need for ORCΛ to drive your applications. Λioi provides support for OSC messages with multiple parameters, types and to multiple hosts. Λioi helps you configure OSC hosts dynamically with a simple GUI and test your OSC messages.

Install & Run

You can download builds for OSX, Windows and Linux, or if you wish to run it from sources, follow these steps:

git clone https://github.com/MAKIO135/aioi.git
cd aioi/desktop
npm install
npm run start

You can also build it for your system using npm run build_osx, npm run build_linux or npm run build_win.

Usage from ORCΛ

;[base36hostIndex1[base36hostIndex2[...base36hostIndexN]]#] path [;parameter1[;parameter2[;...parameterN]]]

  • specify path:
    ;foo in ORCΛ sends /foo to the first host in Λioi
    ;bar in ORCΛ sends /bar to the first host in Λioi
    ;21 in ORCΛ sends /21 to the first host in Λioi

  • send integers:
    ;foo;5 in ORCΛ sends /foo 5 to the first host in Λioi
    ;foo;127 in ORCΛ sends /foo 127 to the first host in Λioi

  • send base 36 integers (single char are converted to base 36 integers):
    ;foo;8 in ORCΛ sends /foo 8 to the first host in Λioi ;foo;c in ORCΛ sends /foo 12 to the first host in Λioi

  • send floats (integers followed by f are divided by 10 and sent as floats):
    ;foo;3f in ORCΛ sends /foo 0.3 to the first host in Λioi
    ;foo;235f in ORCΛ sends /foo 23.5 to the first host in Λioi

  • send strings:
    ;foo;yes in ORCΛ sends /foo "yes" to the first host in Λioi
    ;foo;h3ll0 in ORCΛ sends /foo "h3ll0" to the first host in Λioi

  • send multiple parameters (split parameters using ;):
    ;foo;yo;5 in ORCΛ sends /foo "yo" 5 to the first host in Λioi ;foo;2f;c;135 in ORCΛ sends /foo 0.2 12 135 to the first host in Λioi

  • host selection (Λioi sends the message to the first host by default, but we can start UDP message with base 36 indexes followed by #):
    ;2#foo in ORCΛ sends /foo to the third host in Λioi
    ;a#foo;2f in ORCΛ sends /foo 0.2 to the tenth host in Λioi

  • send to multiple hosts at once:
    ;2a#foo in ORCΛ sends /foo to the third and tenth hosts in Λioi

Λioi does not support:

  • complex paths (eg. /foo/bar)
  • negative values
  • arrays

Example

Open aioi_test.orca with ORCΛ and start listener.js with NodeJS:

cd aioi
node listener.js

Extra

This application supports the Ecosystem Theme.
PR are welcomed.
Extra thanks to Devine Lu Linvega for all his works.

aioi's People

Contributors

ashugeo avatar makio135 avatar

Watchers

 avatar

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.