Skip to main content

OpenScofo is an open-source score-following system specifically designed for contemporary music.

Project description

OpenScofo

OpenScofo: OpenScore Follower

OpenScofo is an open-source project designed to provide score following capabilities for contemporary music applications. Originally developed as a PureData (Pd) object, OpenScofo has now been expanded into a versatile C++ library that integrates seamlessly with multiple environments, including a Max Object, Python package, and others comming. Currently under development, OpenScofo is already functional and serves as a valuable tool for researchers and musicians.

Download

Examples

Goal

The aim of OpenScofo is to provide a straightforward and accessible tool for real-time score following. By keeping the software lightweight, it can run seamlessly on the web through the pd4web platform, thanks to the ability to use PureData directly in web browsers. With pd4web and OpenScofo will be possible to use the software in rehearsals with just a single click, eliminating the need for external libraries, compatibility issues, or complex installations -- ultimately facilitating the sharing and performance of contemporary music.

Collaboration and Contribution

I invite composers, researchers and developers to contribute to the OpenScofo project. Not just with code, but with theory, math, etc. I am trying to make OpenScofo acessible via a Python implementation, to test it should be easy. By sharing the source code, I am trying to provide access to the theories and mathematical formulas that drive the software, all this come from the amazing research work of Arshia Cont and Philippe Cuvillier at IRCAM.

Technical Foundations

OpenScofo uses several concepts developed by many researches (with focus on the research of Cont and Cuvillier).

  • Pitch Comparison: Utilizes the Kullback-Leibler (KL) Divergence method for pitch comparison as presented by Christopher Raphael (2006), Arshia Cont in 2008 and 2010.
  • Rhythm Synchronization: Integrates theories of rhythm synchronization developed by Edward Large and Mari Riess Jones (1999) and Edward Large and Caroline Palmer (2002), as presented for Cont (2010).
  • Forward Algorithm: For now, OpenScofo uses the equation presented by Arshia Cont (2010) and developed by Yann Guédon (2005).
  • Score Language: Based on the scofo (by Miller Puckette) and antescofo~ (by Arshia Cont, Philippe Cuvillier, and others) language.

Building

Requirements

  • On Windows, you need mingw64.

Optional

  • treesitter (npm install tree-sitter) (If you want to change/update score syntax).
  • nanobind: To build Python package.
  • PureData (optional): To build the Pd Object.

Build Options

  • OPENSCOFO_BUILD_ALL (ON/OFF): Build all OpenScofo modules, including Python, Pd, and Max. Default: ON.
  • OPENSCOFO_BUILD_PD_OBJECT (ON/OFF): Build the Pure Data (Pd) object. Default: OFF.
  • OPENSCOFO_BUILD_PY_MODULE (ON/OFF): Build the Python module. Default: OFF.
  • OPENSCOFO_BUILD_MAX_OBJECT (ON/OFF): Build the Max object. Default: OFF.
  • OPENSCOFO_BUILD_CSOUND_PLUGIN (ON/OFF): Build the Csound plugin. Default: OFF.
  • OPENSCOFO_BUILD_TESTS (ON/OFF): Build test suite. Default: OFF.
  • OPENSCOFO_BUILD_WITH_LUA (ON/OFF): Build Lua module embedded in OpenScofo. Default: ON.
  • UPDATE_OPENSCOFO_LANGUAGE (ON/OFF): Update OpenScofo language grammar (grammar.js). Default: ON.

Building Steps

git clone https://github.com/charlesneimog/OpenScofo
cmake . -B build
cmake --build build

GPLv3 Licensing Notice

OpenScofo is distributed under the GNU General Public License version 3 (GPLv3).

The GPLv3 is a free and open source license. Software distributed as a derivative work of OpenScofo, or as part of a combined work that is subject to the GPLv3, must itself be licensed under the GPLv3 and be accompanied by its complete corresponding source code.

The Free Software Foundation considers both static and dynamic linking to generally create such combined works.

Failure to comply with the GPLv3 automatically terminates the rights granted under the license and may constitute copyright infringement.

Full license text: GNU GPLv3 License Text

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

openscofo-0.2.8b1-cp312-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12+Windows x86-64

openscofo-0.2.8b1-cp312-abi3-manylinux_2_39_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.39+ x86-64

openscofo-0.2.8b1-cp312-abi3-macosx_10_15_universal2.whl (1.8 MB view details)

Uploaded CPython 3.12+macOS 10.15+ universal2 (ARM64, x86-64)

File details

Details for the file openscofo-0.2.8b1-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: openscofo-0.2.8b1-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for openscofo-0.2.8b1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9a93d43564fa52ebdc2050cb8c796f7d918c7244ca00ee9336aa2e2c0782d335
MD5 3d6af8fd5fa44fc1cd4962e39e0de89c
BLAKE2b-256 6916d90075a1a352f6a63e7864a62a5eec39df975a315618ae8ab174adf3fb45

See more details on using hashes here.

File details

Details for the file openscofo-0.2.8b1-cp312-abi3-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for openscofo-0.2.8b1-cp312-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 12f6aa92ba8902fd09ecd1d3080f16774e02d8d094618f6b67be2bad5ef62822
MD5 44d35617e3d93f55306190a5b7d91ce4
BLAKE2b-256 fd6dd6cd70c6c3dca1a9eb93b99b04f0c5be0469e847dbc96d02a75e7385aff2

See more details on using hashes here.

File details

Details for the file openscofo-0.2.8b1-cp312-abi3-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for openscofo-0.2.8b1-cp312-abi3-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 7fd9bef967fd52992d1ca4deff10640e0494cdc0f1098b1df05decab3cc6e425
MD5 a0975fbd8b438c0e77b43f798d972e74
BLAKE2b-256 2b6841c0bbf7321bbe271147d1645e4124c36995c3adb3eb547fe4885bbbb096

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page