Theory Lab for the original OP-1
Version 0.1.0

Original Theory Lab code and learning text: GPL-3.0-or-later.
This project targets the op1r community plugin API. It is independent of Teenage Engineering.
No Teenage Engineering firmware, samples, fonts or device keys are included.

Upstream op1r notice and additional permission follow:

op1r - custom firmware for the Teenage Engineering OP-1 (firmware R246): sources (synth_sdk, tools, docs) and the patcher
Copyright (C) 2026 pcppcp

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version. It is distributed WITHOUT ANY WARRANTY; see the GNU General Public License (LICENSE) for details.

Covered: our source code, our graphics (SVG) and our compiled code, including the code contained in the patch data
(data/). Anyone who distributes this program or a work based on it (modified patchers, other firmware mods or
products containing this code) must do so under the GPL and provide the complete corresponding source.

ADDITIONAL PERMISSION (GPL-3.0 section 7)
As an additional permission, you may combine this program, or a work based on it, with the Teenage Engineering OP-1
firmware (original or patched) and convey the resulting combination, provided that the parts of the combination
that are this program or based on it are conveyed under the terms of the GPL with this additional permission. The
OP-1 firmware itself is not covered by this license.

CONTRIBUTIONS
Contributions (for example synth / FX plugins, synth_sdk/PLUGINS.md) are accepted under the same terms:
GPL-3.0-or-later with the additional permission above. Contributors keep their copyright lines in their files.

FROM HUNDEKRAFT (kennel 3.1.4, GPL-3.0-or-later with the same additional permission; their copyright lines are kept)
- The plugins juni, juni_chorus, pew, father, elg, hollowsaint, washer, snowglobe, hail, stutter, wavetable, taffy,
  monolit, mbira, eva, sid and sister (synth_sdk/plugins/<name>), synth_sdk/hk/, fx_spread.h, op1_l1.h,
  and the L1 lease logic in synth_sdk/l1pool.c (after kennel's kn_l1.c). Copyright (C) 2026 Hundekraft.
- From hundekraft 3.2.3: reactor and rackverb (Copyright (C) 2026 Hundekraft), moai (Copyright (C) 2026 moai
  contributors) and bloodmoon (Nola Drift, published as SammiBabe666, https://github.com/SammiBabe666/Project_Bloodmoon),
  synth_sdk/plugins/<name>; moai's mm_ui.h / test files: host_shift typed int as in op1r's host harness; rackverb:
  page-2 MODE / UNIT as OP1_FX_PAGE_STEPS (kennel's code means a list knob in op1r), host L1 stubs from op1_l1.h.

NOT COVERED by this license
- The Teenage Engineering OP-1 firmware and any part of it, including the original firmware bytes in the patch data
  that the patcher uses to verify its input. Copyright Teenage Engineering. This repository contains no firmware;
  the patcher needs your own copy of the official image.
- Oblique Strategies card texts: by Brian Eno and Peter Schmidt (list from
  https://github.com/ultralazr/op1-oblique-strategies). Not ours and not licensed by us.

FROM COOP-FW (coldsoldr/co-op, firmware/core/sdram, GPL-3.0-or-later with the same additional permission; their
copyright lines are kept)
- The rewrites of stock DSP loops in synth_sdk/dsp/coop/*_fast.S: the DSynth voice loop (from stereo_thunks.S), the
  cwo, punch, phone, nitro, grid, spring and delay effects and the Phase and Voltage engines. Copyright (C) 2026
  coldsoldr. op1r adds a run counter for its test builds (OP1R_COOP_HITS) and the glue (dsp/coop/coop_fast.c).

- delayed, pitch delay, bubbler (plugins/delayed, plugins/pitchdelay, plugins/bubbler): the DSP (*_dsp.c, tables,
  bubbler_params.c) is ESC_CODE's (Volker Junginger) Delay Trio (https://github.com/VolkerJunginger/OP-1, Delay-Trio),
  GPL-3.0-or-later, fixed-point ports of Tom Erbe / SoundHack's +delay, +pitchdelay and +bubbler (SoundHack's BSD
  terms in each folder's SoundHack-LICENSE.txt). op1r adds the glue, the screens and two small changes noted in the
  files (delayed: the time slew step per block; bubbler: a 65,536-sample delay line).

THIRD-PARTY CODE (MIT License, compatible with the GPL; their notices are kept)
- Fixed-point ports of Mutable Instruments Clouds and the Elements reverb: original code (c) 2014 Emilie Gillet,
  MIT License.
- blot (plugins/blot): the filter's coefficient fits, stage updates, feedback high-pass and gain follow the TB-303 mode of
  Open303's TeeBeeFilter (rosic_TeeBeeFilter), (c) 2009 Robin Schmidt (rs-met.com), MIT License.
- hail (plugins/hail): a port of Mutable Instruments Beads, (c) 2017 Emilie Gillet, MIT License
  (plugins/hail/LICENSE.beads).
- engine+ (synth_sdk/engplus/ep_dsp.c): the drive, ladder filter and crush stages of op1-sdk's
  features/engine_plus, (c) 2026 BertBrandstifter, MIT License (engplus/LICENSE.op1-sdk); op1r retuned the filter table
  for the voice rate and wrote the fm hook, keys and screen (engplus/ep.c).
- drumtrim (synth_sdk/drumtrim.py, the patcher's drumtrim step): the method (cut each factory drum hit 64 frames
  after its last sample above -60 dB of its own peak, fade those frames, move the key points) and the self-check
  after op1-sdk's features/drumtrim, (c) 2026 BertBrandstifter, MIT License (https://github.com/BertBrandstifter/op1-sdk).
- perc (plugins/percsyn, plugins/percdrum): the PO-32 patch model, parameter maps and signal path follow libpo32's
  documented reference renderer, and the transfer reader (DPSK demodulator, framing) is an integer port of libpo32's,
  (c) 2026 Eric Lewis, MIT License (https://github.com/ericlewis/libpo32).
- sid (plugins/sid): oscillator / filter primitives and 8580 tables from cRSID 1.58 by Hermit (Mihaly Horvath),
  under its permissive notice (kept in the sources).
- iter-lab.svg and the LZMA settings of op1repacker: (c) 2016 op1hacks, MIT License
  (https://github.com/op1hacks/op1repacker).
- svgfont.py and the Oblique Strategies idea: (c) 2026 Martin Mairinger, MIT License
  (https://github.com/ultralazr/op1-oblique-strategies).
- Iosevka 34.9.0 glyph outlines for the host previews (synth_sdk/harness/fonts/iosevka_glyphs.json, from the
  op1-design skill's bundled font): (c) 2015-2026 Renzhi Li, SIL Open Font License 1.1
  (synth_sdk/harness/fonts/Iosevka-OFL.md, https://github.com/be5invis/Iosevka).
