Welcome to the API for MAIA GUI!
The examples folder contains working examples, such as waveform sequencer (relatively simple) and piano_roll+env_sequencer (more complex). For each example, the most important file to study to see how to build interfaces with MAIA GUI is public -> sketch.js.
To run these examples locally,
- You will need Node.js installed.
- In Terminal or GitBASH, navigate to the directory containing the example (if you run the
lscommand, one of the files should be server.js)
npm installto obtain the dependencies for your example of choice. (The dependencies are minimal -- just fastify and fastify-static to serve the page and associated resources.)
node server.jsfrom the command line, then point your browser at http://127.0.0.1:3000/