NeuroScript routing model
Each route contains a source, a destination, channel rules, and one ordered NeuroScript program.
Compilation and activation
- The route editor produces NeuroScript source.
- The app validates and prepares the script without interrupting the active route.
- Select Apply or Save to activate a valid edit.
- If validation fails, the editor reports the error instead of applying an incomplete script.
Event flow
text
CoreMIDI input
→ source and channel selection
→ compiled NeuroScript plan
→ zero, one, or several output events
→ destinationNeuroScript statements run in source order. A program can modify the current event, drop it, emit additional events, or schedule supported delayed events. Stateful operations use the execution state owned by that route's program engine.
Editing safely
- Use the route editor's validation result before applying a script.
- Test a small program in the NeuroScript simulator.
- Check activity and statistics after activating a change.
