Notices
Pocket
Copyright (C) 2026 Ryan Palermo
Pocket is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
Software Foundation, version 3 only (SPDX: AGPL-3.0-only).
Pocket is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
The license text is in LICENSE. Additional permissions under section 7 of that
license, for output made with Pocket and for Pocket's Max for Live devices, are
in LICENSE-EXCEPTION.md. LICENSING.md explains the licensing in plain language,
including the commercial license.
==============================================================================
Which license applies to which files
==============================================================================
Everything in this repository is licensed under AGPL-3.0-only, with the
additional permissions in LICENSE-EXCEPTION.md, except:
- examples/ and skills/ are licensed under the MIT License. The MIT notice
below applies to them, with "Software" meaning those files.
- src/pocket_music/audio_note_projection.py adapts part of Basic Pitch 0.4.0,
and src/pocket_music/audio_note_projection_v2.py adapts the same part plus
the retained-frame count from Basic Pitch commit e989e40. Spotify AB's
portions are licensed under the Apache License, Version 2.0
(src/pocket_music/basic_pitch_LICENSE.txt); Pocket's changes are licensed
under AGPL-3.0-only. Basic Pitch's notice is reproduced below.
- assets/fonts/ contains the Atkinson Hyperlegible Next font, licensed under
the SIL Open Font License, Version 1.1 (assets/fonts/OFL.txt). It is used
only by the website.
Source files carry an SPDX-License-Identifier line at the top. A few files can't
carry one: JSON and binary files, license texts, and files whose exact bytes
are part of a recorded identity, where adding a line would invalidate existing
records, qualifications or native acceptance. Those are:
- src/pocket_music/audio_note_projection.py (see above)
- src/pocket_music/audio_note_projection_v2.py (see above)
- src/pocket_music/audio_model_runner.py
- src/pocket_music/audio_note_runner.py
- every file in src/pocket_music/devices/
Apart from the Basic Pitch derivatives, they are licensed under AGPL-3.0-only
like the rest of the core.
==============================================================================
Earlier versions: MIT License
==============================================================================
Pocket was licensed under the MIT License from commit 9b43c78 (2026-09-22)
through version 0.4.0: the source at commit
3ba9a4f1ba8d34039371702092bc86a65696b105 (tag v0.4.0). Copies of those versions
remain available under the MIT License. Later versions are licensed as
described above.
Every change in Pocket's history up to that version was made by, or under the
direction of, Ryan Palermo, so there are no other contributors' MIT notices to
carry forward. The MIT notice for those versions, and for examples/ and
skills/, follows.
MIT License
Copyright (c) 2026 Ryan Palermo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
==============================================================================
Third-party notices
==============================================================================
Basic Pitch (https://github.com/spotify/basic-pitch) is licensed under the
Apache License, Version 2.0. src/pocket_music/audio_note_projection.py is
adapted from its note_creation.py at version 0.4.0.
src/pocket_music/audio_note_projection_v2.py is adapted from the same file and
from the retained-frame count in inference.py at commit e989e40. Basic Pitch's
NOTICE file reads the same at both versions:
Basic Pitch
Copyright 2022 Spotify AB
This product includes software developed at
Spotify AB (http://www.spotify.com/).
This product includes software from Librosa (ISC).
* Copyright (C) 2013--2017, librosa development team.
This product includes software from mir_eval (MIT)
* Copyright (C) 2014 Colin Raffel
This product includes software from numpy (BSD)
* Copyright (C) 2005-2022, NumPy Developers.
This product includes software from pretty-midi (MIT)
* Copyright (C) 2014 Colin Raffel
This product includes software from resampy (ISC)
* Copyright (C) 2016, Brian McFee
This product includes software from scipy (BSD)
* Copyright (C) 2001-2002 Enthought, Inc. 2003-2022, SciPy Developers
This product includes software from tensorflow (Apache 2.0)
* Copyright (C) 2019 Google, LLC <packages@tensorflow.org>
The tests for `basic-pitch` include audio files from the
Vocadito dataset liscened under Creative Commons
Attribution 4.0 International. The dataset can be found at:
https://zenodo.org/record/5578807#.YnRm5vPMKDU
Atkinson Hyperlegible Next (assets/fonts/): Copyright 2020-2024 The Atkinson
Hyperlegible Next Project Authors
(https://github.com/googlefonts/atkinson-hyperlegible-next). Licensed under the
SIL Open Font License, Version 1.1; see assets/fonts/OFL.txt.