Build setup
Requirements
- Arduino IDE or
arduino-cliwith Teensyduino support - Teensy 4.1 board support
- Libraries referenced from
toern.ino/ README, including:- Teensy Audio
- FastLED + WS2812Serial
- MIDI
- i2cEncoderLibV2
- FastTouch
- TeensyPolyphony
- Mapf
Custom audio sources in src/ compile with the sketch — no extra package step.
Open the sketch
Open toern.ino from the repo root (the folder containing all toern_*.ino files). Arduino treats that folder as one sketch.
USB type
For MIDI + serial SD tool use a USB type that includes Serial (and MIDI if you want USB MIDI). The SD serial server and debug prints need the serial interface.
Docs site (this site)
Sources live in website/devdocs/ (not a repo-root sibling). Full publish / Netlify details: This docs site.
cd website/devdocs
npm install
npm start
Node ≥ 20 required (see package.json engines).
To produce the static files Netlify serves under /docs/:
cd website
npm run build:docs
Operator handbook
End-user docs are static HTML under handbook/ — separate from this Docusaurus tree.