Nota — a free DAW for macOS, Windows and Linux. No subscription, no account — just open it and make music.
C# audioaudio-unitavaloniacpp20cross-platformdawdigital-audio-workstationdspjucelinux-audiomcp-servermidimusicmusic-productionpiano-rollplugin-hostsequencersynthesizervstvst3
Update copyright, add release skill
Egor Khindikaynend730edebe279
diff --git a/.claude/skills/release/SKILL.md b/.claude/skills/release/SKILL.mdnew file mode 100644index 00000000..f158637a--- /dev/null+++ b/.claude/skills/release/SKILL.md@@ -0,0 +1,118 @@+---+name: release+description: Cut a Nota release — actualize CHANGELOG.md (promote [Unreleased] to a dated version and add a short human-readable summary of it), bump VERSION, create the vX.Y.Z tag, then commit and push. Run this when the user asks to release, ship, cut a version, or tag a release. The GitHub Actions release workflow then builds every platform and drafts the release from the changelog section.+user-invocable: true+---++# Cutting a Nota release++A release is a deliberate act: `## [Unreleased]` in `CHANGELOG.md` is promoted to a dated+version, `VERSION` is bumped, a `vX.Y.Z` tag is created, and pushing the tag triggers+`.github/workflows/release.yml` — which builds every target (x64 + arm64 across macOS,+Windows, Linux) and drafts the GitHub release using the version's changelog section as the+body.++Because the CI pulls that whole section verbatim into the release notes, and because+`[Unreleased]` can accumulate arbitrarily many, arbitrarily verbose entries, **this skill's+job is to lead that section with a short, human-readable summary** — so the release notes+open with something a person actually wants to read, with the full detail below.++**Argument** (`/release <arg>`, optional): the bump — `patch`, `minor` (default), `major`,+or an explicit `X.Y.Z`. Nota has historically bumped **minor** per release.++## 0. Preflight — stop if any of these fail++1. **On `main`.** `git rev-parse --abbrev-ref HEAD` must be `main`. Releases build only+ from main (the CI guard enforces it too). If not, stop and tell the user.+2. **Clean working tree.** `git status --porcelain` must be empty, so the release commit+ contains *only* the VERSION + CHANGELOG changes. If dirty, stop and ask the user to+ commit or stash first.+3. **Up to date with origin.** `git fetch origin` then confirm local `main` is not behind+ `origin/main` (`git rev-list --left-right --count origin/main...HEAD`). If behind, stop.+4. **There is something to release.** `## [Unreleased]` must have real content (not just+ empty category headers). If empty, stop — nothing to ship.++## 1. Decide the new version++- Read the current version from `VERSION` (e.g. `0.37.0`).+- Apply the argument: `patch` → `x.y.(z+1)`, `minor` → `x.(y+1).0` (default), `major` →+ `(x+1).0.0`, or use the explicit `X.Y.Z` if one was given.+- Sanity-check it's strictly greater than the current version, and that neither the git tag+ `vX.Y.Z` nor a `## [X.Y.Z]` changelog section already exists. If either exists, stop.+- Get today's date: `date +%F` (do NOT hard-code it).++## 2. Actualize CHANGELOG.md++Read the entire `## [Unreleased]` block (everything from `## [Unreleased]` up to the next+`## [` heading), then rewrite the top of the file so it looks like:++```+## [Unreleased]++## [X.Y.Z] — YYYY-MM-DD++### Highlights+- <3–6 bullets summarising the release in plain language>++### Added+- <the existing detailed entries, kept as-is>+### Changed+- …+### Fixed+- …+### Removed+- …+```++Rules:+- **Write the Highlights yourself** — this is the whole point. Read every `[Unreleased]`+ entry and distil them into 3–6 short, plain-language bullets a musician (not a compiler)+ would understand: group related changes, lead with the biggest user-facing wins, drop the+ internal/mechanical noise. One line each, no jargon, present tense. If the release is+ dominated by one headline feature, say so in the first bullet.+- **Keep the full detail.** The existing category entries stay under Highlights unchanged —+ the changelog is the permanent record; Highlights is just the readable lede.+- Leave a fresh **empty** `## [Unreleased]` section at the very top for future work.+- Preserve the file's header/preamble and every older version section exactly.+- Keep the categories in the order `Added, Changed, Fixed, Removed`; omit any that are empty.++Show the user the promoted section (Highlights + headings) before continuing.++## 3. Bump VERSION++Write the new `X.Y.Z` to `VERSION` (no trailing newline changes beyond what's already+there; it's read with `.Trim()`). This is the single source of truth the CI checks the tag+against — it MUST equal the tag version.++## 4. Commit, tag, push++```bash+git add VERSION CHANGELOG.md+git commit -m "Release vX.Y.Z"+git tag -a "vX.Y.Z" -m "Nota vX.Y.Z"+git push origin main+git push origin "vX.Y.Z"+```++Notes:+- The commit and tag must sit **on main** — the CI's guard job rejects a tag whose commit+ isn't contained in `main`.+- Push the branch **before** the tag, so the tagged commit is already on the remote `main`+ when the guard runs.+- End the commit message body with the standard `Co-Authored-By` trailer if your harness+ requires it.++## 5. Report++Tell the user:+- the released version and tag,+- the Highlights you wrote,+- that the tag push kicked off `.github/workflows/release.yml`, which will produce the 5+ platform artifacts and a **draft** GitHub release (they review + publish manually),+- the release/actions URL to watch (derive from `git remote get-url origin`).++## Don't+- Don't release from a branch other than `main`, or with a dirty tree.+- Don't hard-code the date or reuse an existing version/tag.+- Don't discard the detailed changelog entries — summarise *in addition to* them, not instead.+- Don't publish the GitHub release from here; the workflow drafts it for human review.diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex ed61fd12..debef759 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -29,7 +29,7 @@ jobs:outputs:version: ${{ steps.meta.outputs.version }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5with:fetch-depth: 0 # full history so we can test ancestry against main@@ -70,17 +70,17 @@ jobs:needs: guardruns-on: macos-14 # Apple Silicon; the script cross-builds the x86_64 slicesteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5with:submodules: recursive # JUCE- - uses: actions/setup-dotnet@v4+ - uses: actions/setup-dotnet@v5with:dotnet-version: '10.0.x'- name: Install build toolsrun: brew install cmake ninja- name: Package universal .dmgrun: bash scripts/package-dmg.sh- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v6with:name: macospath: dist/Nota-*-universal.dmg@@ -96,10 +96,10 @@ jobs:needs: guardruns-on: windows-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5with:submodules: recursive # JUCE- - uses: actions/setup-dotnet@v4+ - uses: actions/setup-dotnet@v5with:dotnet-version: '10.0.x'- name: Install Inno Setup@@ -108,7 +108,7 @@ jobs:run: pwsh scripts/package-win.ps1 x64- name: Package arm64 installerrun: pwsh scripts/package-win.ps1 arm64- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v6with:name: windowspath: dist/Nota-Setup-*.exe@@ -131,10 +131,10 @@ jobs:runner: ubuntu-24.04-armruns-on: ${{ matrix.runner }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5with:submodules: recursive # JUCE- - uses: actions/setup-dotnet@v4+ - uses: actions/setup-dotnet@v5with:dotnet-version: '10.0.x'- name: Install build + packaging deps@@ -146,7 +146,7 @@ jobs:libxcursor-dev libfreetype6-dev libfontconfig1-dev- name: Package AppImagerun: bash scripts/package-linux.sh ${{ matrix.arch }}- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@v6with:name: linux-${{ matrix.arch }}path: dist/Nota-*.AppImage@@ -160,7 +160,7 @@ jobs:needs: [guard, macos, windows, linux]runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5- name: Extract CHANGELOG section for this versionrun: |@@ -178,7 +178,7 @@ jobs:echo "----- release notes -----"; cat RELEASE_NOTES.md- name: Download all build artifacts- uses: actions/download-artifact@v4+ uses: actions/download-artifact@v6with:path: artifactsmerge-multiple: truediff --git a/FEATURES.md b/FEATURES.mdindex 005388ec..53fbfae3 100644--- a/FEATURES.md+++ b/FEATURES.md@@ -2,8 +2,9 @@# Nota — full feature listA consolidated list of what Nota (a cross-platform DAW) can do, as of version-**0.37.0**. This document describes what is implemented in the code, not what is-planned. Sources: `CHANGELOG.md`, `README.md`, `ARCHITECTURE.md`.+**0.37.0** (plus changes in development on `main`). This document describes what is+implemented in the code, not what is planned. Sources: `CHANGELOG.md`, `README.md`,+`ARCHITECTURE.md`.Contents- [Platforms and distribution](#platforms-and-distribution)@@ -59,7 +60,8 @@ JUCE module; the engine core is JUCE-free.----## Views+Three top-level views, switched from the toolbar (**Arrangement · Session · Modular**);+the mixer opens as a separate floating window (**View → Mixer**, ⌘M).- **Arrangement View** — a linear timeline: place, move, trim and duplicate clips; gridand snap to bars/beats; scroll and zoom; recording into the arrangement (audio and@@ -68,6 +70,17 @@ JUCE module; the engine core is JUCE-free.- **Session View** — a clip grid (tracks × scenes): launch and stop a clip, launch a wholescene, launch quantization, recording into a clip slot (MIDI or audio), loop clips witha configurable length, and moving material between Session and Arrangement.+- **Modular View** — a signal-graph editor for the track's chain: MIDI FX → instrument →+ effects shown as nodes you can expand, bypass, duplicate, delete and reorder right on the+ canvas (node positions are saved with the project), plus a **Global view** that shows+ tracks as islands with cross-track connections. Its centrepiece is **CV modulation** —+ drag a modulator's CV output onto any device, instrument or MIDI-FX parameter to link+ them with a patch cable; click an edge to edit depth and mode, select and delete edges.+ Modulators: **LFO** (with phase), an **envelope follower**, **MIDI→CV**+ (velocity/gate/note), **ADSR** (gated by notes), **Macro** (a manual control → CV) and+ **Math** (two CV inputs → one output); any parameter can also be a CV source+ (param → param). A **CV Scope** oscilloscope reads any modulator signal, and CV ports are+ drawn only where they actually work.---@@ -106,6 +119,11 @@ JUCE module; the engine core is JUCE-free.- **Input**: MIDI keyboard (live play and recording), and the **computer keyboard** playsMIDI (the S–K row, sharps on W E T Y U) — including while a hosted plugin window hasfocus.+- **Gamepad input (macOS)** — a connected controller (Xbox / DualShock / DualSense /+ Switch Pro / 8BitDo) acts as a small keyboard: the face buttons and bumpers/triggers play+ notes, the D-pad shifts octave and velocity. Notes travel the same path as typed ones+ (live play, recording, roll highlighting); unplugging releases held notes. Enable and+ monitor controllers in Preferences → Gamepads (hot-plug aware).- **Highlighting** of the pressed key on the roll's keyboard and as a bar along its row.- **Audio→MIDI** (right-click an audio clip → Convert):- **Convert Melody** — monophonic pitch detection (YIN) → a new Nota Synth track.@@ -337,7 +355,8 @@ and user presets, automation, persistence and cloning.frame).- **What's New** — a window showing changelog entries newer than `LastSeenVersion`, onceafter the first launch on a new version.-- **About** — the app version, listed separately from the engine version.+- **About** — the app and engine versions, the copyright notice, and a pointer to the+ third-party attribution notices (`LICENSES/THIRD-PARTY-NOTICES.md`).- **Preferences** — a consistent design (the house checkboxes, sunken fields).- **Edit Tags** — the browser's tag editor.- **Devices/Clip panel in its own window** — the ⧉ button in the bottom panel's header@@ -354,6 +373,8 @@ and user presets, automation, persistence and cloning.- **Audio**: device, sample rate, buffer size (latency); **WASAPI exclusive mode**(Windows).- **MIDI**: which MIDI inputs are enabled (the house checkboxes).+- **Gamepads** (macOS): enable gamepad note input; the controller list updates on hot-plug,+ with a live activity indicator beside each pad.- **Plugins**: scan paths, Rescan.- **Library**: library folders.- **Appearance**: **AI control (MCP)** on/off, a port field, and "Copy config" (copies a@@ -413,4 +434,9 @@ Coverage:- **Building**: `scripts/build.sh` (macOS), `scripts/build-win.ps1` (Windows),`scripts/build-linux.sh` (Linux); packaging via `bundle-mac.sh`, `package-dmg.sh`,`package-win.ps1`, `package-linux.sh`.+- **Release CI**: a GitHub Actions workflow builds and packages every target (x64 + arm64+ across macOS, Windows and Linux) on a `vX.Y.Z` release tag, and drafts the GitHub release+ with the matching `CHANGELOG.md` section as its body.- **Tests**: an engine smoke test after every build.+- **Third-party notices**: bundled/linked dependencies and their copyrights are recorded in+ [`LICENSES/THIRD-PARTY-NOTICES.md`](LICENSES/THIRD-PARTY-NOTICES.md).diff --git a/LICENSES/README.md b/LICENSES/README.mdindex afbb5c83..147b83d5 100644--- a/LICENSES/README.md+++ b/LICENSES/README.md@@ -25,6 +25,7 @@ confined to the plugin-hosting module.|---|---|| [`AGPL-3.0-only.txt`](AGPL-3.0-only.txt) | Full GNU AGPLv3 text (verbatim from the FSF) || [`third-party.md`](third-party.md) | Register of every dependency and its license |+| [`THIRD-PARTY-NOTICES.md`](THIRD-PARTY-NOTICES.md) | Copyright & attribution notices for bundled/linked third-party software |The repository root also carries a copy of the AGPLv3 as `LICENSE`, so hosting platformsdetect the license correctly.diff --git a/LICENSES/THIRD-PARTY-NOTICES.md b/LICENSES/THIRD-PARTY-NOTICES.mdnew file mode 100644index 00000000..d0651483--- /dev/null+++ b/LICENSES/THIRD-PARTY-NOTICES.md@@ -0,0 +1,71 @@+<!-- SPDX-License-Identifier: AGPL-3.0-only -->+# Third-party notices++Nota includes and/or links the third-party software listed below. Each component is the+copyright of its respective authors and is used under the license shown. This file+reproduces the required attribution notices; full license terms are in each project's own+distribution. For the dependency register (versions, purpose, clearance status) see+[`third-party.md`](third-party.md).++---++## JUCE+Copyright © Raw Material Software Limited.+Licensed under the **GNU AGPLv3** (see [`AGPL-3.0-only.txt`](AGPL-3.0-only.txt)). JUCE is+statically linked into the plugin-hosting module; its AGPL terms extend to the combined+work, which is why Nota as a whole is AGPLv3. <https://juce.com>++## Steinberg VST3 SDK+Copyright © 2025 Steinberg Media Technologies GmbH.+Licensed under the **MIT License**. Bundled with JUCE for VST3 hosting. "VST" is a+trademark of Steinberg Media Technologies GmbH — its name and logo are governed by+Steinberg's VST trademark guidelines, separate from the code license.++## Avalonia+Copyright © .NET Foundation and Contributors.+Licensed under the **MIT License**. <https://avaloniaui.net>++## .NET runtime & libraries+Copyright © .NET Foundation and Contributors.+Licensed under the **MIT License**. <https://dotnet.microsoft.com>++## miniaudio+Copyright © David Reid ([email protected]).+Dual licensed — choice of **public domain (Unlicense)** or **MIT-0**. Used for audio+device I/O (WASAPI / PulseAudio / ALSA). <https://miniaud.io>++## RtMidi+Copyright © 2003–2023 Gary P. Scavone.+Licensed under the **RtMidi license** (MIT-style, with an additional request to send+modifications upstream). Used for MIDI I/O (WinMM / ALSA).+<https://www.music.mcgill.ca/~gary/rtmidi/>++## dr_libs (dr_wav, dr_flac, dr_mp3)+Copyright © David Reid ([email protected]).+Dual licensed — choice of **public domain (Unlicense)** or **MIT-0**. Used for WAV / FLAC+/ MP3 decoding. <https://github.com/mackron/dr_libs>++## Signalsmith Stretch+Copyright © 2022 Geraint Luff / Signalsmith Audio Ltd.+Licensed under the **MIT License**. Used for time-stretch / pitch-shift (clip warping).+<https://github.com/Signalsmith-Audio/signalsmith-stretch>++## Signalsmith Linear+Copyright © 2025 Signalsmith Audio.+Licensed under the **MIT License**. Used for FFT / linear DSP primitives.+<https://github.com/Signalsmith-Audio/linear>++## HIIR+Copyright © Laurent de Soras.+Licensed under the **WTFPL** (Do What The Fuck You Want To Public License). Used for+oversampling (polyphase half-band IIR filters). <http://ldesoras.free.fr/prod.html>++## Freeverb (algorithm)+Public-domain reverb algorithm by Jezar at Dreampoint. Nota ships its **own+implementation** of the algorithm (`src/native/nota.engine/src/Reverb.h`); no original+code is vendored.++## Apple system frameworks+Portions © Apple Inc. On macOS, Nota calls the CoreAudio, CoreMIDI, AudioToolbox,+AudioUnit, CoreAudioKit and GameController frameworks provided by the operating system.+These are used under Apple's SDK terms and are **not** redistributed with Nota.diff --git a/README.md b/README.mdindex 9bdd035d..85d93da2 100644--- a/README.md+++ b/README.md@@ -26,6 +26,36 @@ The native engine is built separately by CMake, and the app's project copies theright artifact (`libnota_engine.dylib` / `nota_engine.dll` / `libnota_engine.so` +`nota-scanworker`) next to the managed binary for P/Invoke.+## Features++A quick digest — see [`FEATURES.md`](FEATURES.md) for the full, categorised list.++- **Three views** — a linear **Arrangement** timeline, a clip-launching **Session** grid+ (material moves freely between them), and a **Modular** signal-graph editor with **CV+ modulation** (LFO / envelope follower / MIDI→CV / ADSR / Macro / Math, patched with+ cables onto any parameter).+- **Tracks & mixer** — audio / MIDI / return / master / nestable **group** tracks; sends+ and returns; MIDI routing between tracks; peak/RMS + true-peak metering; per-track device+ chains.+- **MIDI editing** — piano roll (draw/move/stretch, quantize, velocity, live edits as one+ undo step); input from a MIDI keyboard, the computer keyboard, or a **gamepad** (macOS);+ **audio→MIDI** (melody / harmony / drums / slice).+- **Audio** — recording (inputs and internal buses), WAV/AIFF/FLAC/MP3 import, clip+ editing with fades and gain, and **warp / time-stretch** (Complex / Complex Pro).+- **~35 built-in devices** — synths (subtractive, wavetable, FM, granular, physical,+ drum-machine and more), a full effects suite (EQ, dynamics, reverb/delay, saturation,+ limiting, utility), MIDI effects (arp, scale, chord, …), and Instrument / Drum / Audio+ Effect **racks** with macros.+- **Plugin hosting** — VST3 everywhere, AU on macOS: native GUIs, state save/restore, PDC,+ transport sync; parameters are automatable and MIDI-learnable.+- **Automation & MIDI Learn** — draw/record automation on any parameter; map hardware+ controllers to almost anything.+- **Export** — master and stems to WAV (pcm16/pcm24/float32), true-peak normalize, dither,+ bit-identical chunked rendering.+- **AI control (MCP)** — an optional loopback MCP server lets Claude drive the open project+ (off by default).+- **Cross-platform** — macOS, Windows and Linux, for both x64 and arm64.+## PrerequisitesCommon to every platform:diff --git a/scripts/package-win.ps1 b/scripts/package-win.ps1index 4b2ec5bc..c472a173 100644--- a/scripts/package-win.ps1+++ b/scripts/package-win.ps1@@ -21,13 +21,21 @@ $Version = (Get-Content VERSION -Raw).Trim()$Rid = "win-$Arch"$CmakeArch = if ($Arch -eq 'arm64') { 'ARM64' } else { 'x64' }$Native = "src/native/nota.engine/build-$Arch"-$NativeOut = Join-Path (Get-Location) "$Native/Release" # VS is multi-config$PubDir = Join-Path (Get-Location) "dist/publish-$Arch"Write-Host "==> Building native engine ($Arch / WASAPI)…"cmake -G "Visual Studio 17 2022" -A $CmakeArch -S src/native/nota.engine -B $Nativecmake --build $Native --config Release+# Locate the freshly built engine DLL. The VS (multi-config) generator usually writes+# to build-<arch>/Release, but the exact layout varies across CMake/VS versions and CI+# images — so resolve it from the actual output instead of hardcoding the path.+$dll = Get-ChildItem -Path $Native -Recurse -Filter nota_engine.dll -ErrorAction SilentlyContinue |+ Sort-Object LastWriteTime -Descending | Select-Object -First 1+if (-not $dll) { throw "nota_engine.dll not found under $Native after the native build." }+$NativeOut = $dll.Directory.FullName+Write-Host " native artifacts: $NativeOut"+Write-Host "==> Publishing managed app ($Rid, self-contained)…"if (Test-Path $PubDir) { Remove-Item -Recurse -Force $PubDir }dotnet publish src/managed/Nota.App -c Release -r $Rid --self-contained true `@@ -35,8 +43,9 @@ dotnet publish src/managed/Nota.App -c Release -r $Rid --self-contained true `# The csproj copies the native artifacts into the publish output for a win RID;# copy them explicitly too as a safety net.-Copy-Item "$NativeOut/nota_engine.dll" $PubDir -Force-if (Test-Path "$NativeOut/nota-scanworker.exe") { Copy-Item "$NativeOut/nota-scanworker.exe" $PubDir -Force }+Copy-Item (Join-Path $NativeOut 'nota_engine.dll') $PubDir -Force+$scanWorker = Join-Path $NativeOut 'nota-scanworker.exe'+if (Test-Path $scanWorker) { Copy-Item $scanWorker $PubDir -Force }Write-Host "==> Building installer with Inno Setup…"function Find-ISCC {diff --git a/src/managed/Nota.App/AboutWindow.cs b/src/managed/Nota.App/AboutWindow.csindex 9a210fc7..c5d82b1e 100644--- a/src/managed/Nota.App/AboutWindow.cs+++ b/src/managed/Nota.App/AboutWindow.cs@@ -17,7 +17,7 @@ public sealed class AboutWindow : NotaWindowvar build = App.Services.GetRequiredService<EngineBuildInfo>();Title = "About Nota";Width = 380;- Height = 276; // + title-bar band+ Height = 348; // + title-bar bandCanResize = false;Background = Brush("Brush.BgApp");@@ -47,6 +47,25 @@ public sealed class AboutWindow : NotaWindowClasses = { "Caption" },Text = "Desktop DAW · AGPLv3",});+ panel.Children.Add(new TextBlock+ {+ Classes = { "Caption" },+ Margin = new Thickness(0, 8, 0, 0),+ Text = "© 2026 Egor Khindikaynen (Ambertape)",+ });+ panel.Children.Add(new TextBlock+ {+ Classes = { "Caption" },+ Text = "Free software under the GNU AGPLv3.",+ });+ panel.Children.Add(new TextBlock+ {+ Classes = { "Caption" },+ TextWrapping = TextWrapping.Wrap,+ Text = "Includes third-party software (JUCE, Avalonia, miniaudio, RtMidi, "+ + "dr_libs, Signalsmith, HIIR). See LICENSES/THIRD-PARTY-NOTICES.md "+ + "for copyright and attribution notices.",+ });SetBody(panel);}