GithubHelp home page GithubHelp logo

garrett-laroy-johnson / glj.modalysguigenerator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

scripts GUI control panel for Modalys instruments when modalys~ is queried for ctrllist

License: The Unlicense

Max 92.76% JavaScript 7.24%

glj.modalysguigenerator's Introduction

glj.modalysGUIGenerator

This is a quick & dirty JS scriptsto generate GUI control panel for Modalys instruments when modalys~ is queried for ctrllist.

js glj.mdlysCtrlGen.js object will expect a Max list with the firstitem = createModalysController, followed by strings corresponding to modalys~ parameters (e.g. MonoString@Tension).

Quickstart

  • put glj.mdlysCtrlGen.js in the same folder as your patch or in Max's search path.
  • make a new js object with single argument, glj.mdlysCtrlGen.js.
  • route ctrllist data from rightmost outlet of modalys~ into a prepend createModalysController object. Connect prepend to modalys~
  • click modalys~, open the inspector, and set script name to modalys
  • (see example patch for barebones workflow)
  • you can send a deleteObjects message to clear out the interface (note: atm, after saving, closing, and opening the patch, this will not work and you'll need to delete manually).

dependencies

IRCAM Modalys

to-do

  • generate interface into a bpatcher
  • create dictionary with generic ranges built into generated objects (e.g. string, 0-1)
  • some way to toggle interface (dial, slider, number, etc.)
  • deal with modalys @name in some intuitive way

glj.modalysguigenerator's People

Contributors

garrett-laroy-johnson avatar

Stargazers

Yousif Alzayed 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.