# nickculbertson/teensy-arcade-synth architecture

> Architecture diagram of the GitHub repository nickculbertson/teensy-arcade-synth, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nickculbertson/teensy-arcade-synth
- Repository: https://github.com/nickculbertson/teensy-arcade-synth

## Overview

Teensy Arcade Synth is a hardware synthesizer built around a Teensy, arcade buttons, a rotary encoder, and an LCD. Its documented product workflow is user interaction with the controls to operate a three-layer polyphonic synth and produce audio. The repository contains only the sketch path, and no source excerpt was provided, so implementation details and specific control-to-synthesis behavior cannot be verified; dashed links mark documented but unverified relationships.

Main entry points: [`Teensy-Arcade-Synth.ino`](https://github.com/nickculbertson/teensy-arcade-synth/blob/main/Teensy-Arcade-Synth.ino) (Teensy sketch)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_controls["Hardware controls"]
  node_buttons["Arcade buttons"]
  node_encoder["Rotary encoder"]
  node_lcd["LCD display"]
end

subgraph group_synthesis["Synthesis and audio"]
  node_sketch["Teensy sketch"]
  node_synth["Three-layer synth"]
  node_audio["Audio output"]
end

node_user(("Player"))

node_user -.->|"presses"| node_buttons
node_user -.->|"operates"| node_encoder
node_buttons -.->|"input"| node_sketch
node_encoder -.->|"input"| node_sketch
node_sketch -.->|"updates"| node_lcd
node_sketch -.->|"runs"| node_synth
node_synth -.->|"produces"| node_audio

click node_sketch "https://github.com/nickculbertson/teensy-arcade-synth/blob/main/Teensy-Arcade-Synth.ino"
click node_synth "https://github.com/nickculbertson/teensy-arcade-synth/blob/main/Teensy-Arcade-Synth.ino"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_buttons,node_encoder,node_lcd toneBlue
class node_sketch,node_synth,node_audio toneAmber
class node_user toneIndigo
```

## Components

### Hardware controls

- **Arcade buttons**
- **Rotary encoder**
- **LCD display**

### Synthesis and audio

- [Teensy sketch](https://github.com/nickculbertson/teensy-arcade-synth/blob/main/Teensy-Arcade-Synth.ino): `Teensy-Arcade-Synth.ino`
- [Three-layer synth](https://github.com/nickculbertson/teensy-arcade-synth/blob/main/Teensy-Arcade-Synth.ino): `Teensy-Arcade-Synth.ino`
- **Audio output**

### Other components

- **Player**

## Connections

- Player → Arcade buttons: presses (evidence: `README.md`)
- Player → Rotary encoder: operates (evidence: `README.md`)
- Arcade buttons → Teensy sketch: input (evidence: `README.md`)
- Rotary encoder → Teensy sketch: input (evidence: `README.md`)
- Teensy sketch → LCD display: updates (evidence: `README.md`)
- Teensy sketch → Three-layer synth: runs (evidence: `README.md`)
- Three-layer synth → Audio output: produces (evidence: `README.md`)
