Skip to main content

Sardine: ✨ Live Coding Library for Python ✨

Python's missing algorave module. Hackable live coding tool for modern Python (3.10+)

Discord | Website | Examples | Installation | Author | About Live Coding


Sardine algorave picture

Sardine is a versatile and hacker-friendly Python library designed for musical improvisation, algorithmic composition, and beyond. It transforms your standard Python interpreter into a powerful music instrument, enabling you to create and map melodic and rhythmic patterns to any electronic instrument (MIDI, OSC, and SuperCollider). With Sardine, you can:

  • Unleash your musical creativity on stage, in the studio, or for personal enjoyment

    • Seamlessly communicate with any MIDI/OSC device and the SuperCollider audio engine using Sardine.
    • Utilize bindings for SuperDirt, a widely recognized synthesis engine embraced by live coders globally.
  • Empower your Python code with time-aware capabilities

    • Employ temporal recursion to make any Python code time and tempo aware.
    • Accurately launch synchronous or asynchronous functions with time-specific results.
    • Customize your own Senders or Receivers to pattern any desired elements!
  • Develop intricate audio/visual installations with MIDI and OSC I/O

    • Assign callbacks to any OSC event, transforming Sardine into a sophisticated reactive toolbox.
    • Monitor changing values and incorporate them into your musical patterns or code.
  • Synchronize with other computers and musical instruments

    • Synchronise your hardware with MIDI Clocks.
    • Synchronize effortlessly with other tools or players using the Link Protocol.

Installation

Refer to the installation section.

Contributions

Sardine is in its early stages of development, and we're actively seeking contributors to help enhance the project. If you're passionate about music and technology, we welcome your expertise, whether it's code, documentation, or ideas. We are looking for contributors!

To collaborate with the Sardine community, connect with us on Discord, Github or send a private message if you have specific inquiries. Together, we can create an even more powerful tool for musical expression and creativity!

Release files for sardine-system 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sardine-system 0.4.0
File Size Uploaded
sardine-system-0.4.0.tar.gz 120.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sardine-system 0.4.0
File Interpreter ABI Platform
sardine_system-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 259.8 kB

Release files / sardine-system-0.4.0.tar.gz

Download URL sardine-system-0.4.0.tar.gz
Size 120.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a52071c734d299540da53cffec5570ec5dbfac82173de77368fc71892d63f6ac
BLAKE2b-256 checksum
How to use checksums
712fb7743c2fe5cb1aa79daa5fd43e5a93a01c5cd499e4ebfdbd363f189e82a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / sardine_system-0.4.0-py3-none-any.whl

Download URL sardine_system-0.4.0-py3-none-any.whl
Size 139.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5c147c27c152767f8faf58156b7cad3986cde3aed5b60baa8f67593b62d1e5e
BLAKE2b-256 checksum
How to use checksums
51ac288b75eb41a63891e8260c37e90a769e0e8847136b78c5146684f5a11407
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page