Skip to main content

Longplayer in Python

Longplayer is a thousand year long musical composition by Jem Finer.

This is an open-source implementation of Longplayer in Python, which can be run on any compatible computer with audio output.

For more information about Longplayer, read an overview of the piece.

Requirements

  • A Linux (including Raspberry Pi), macOS or Windows system with audio output
  • Python 3.9 or above (python.org)

Installation

If you're using Linux (including Raspberry Pi), you will need to install the portaudio library for audio output: sudo apt install libportaudio2

To install Longplayer from the command line, for any platform, open up a terminal session and enter:

pip3 install longplayer

Usage

To run Longplayer from the command line, run:

python3 -m longplayer

Press Ctrl-C to stop playback.

Troubleshooting

If you are hearing stuttery playback, try:

  • increasing the audio buffer size: python3 -m longplayer --buffer-size 4096
  • mono (single-channel) playback: python3 -m longplayer --channels 1

To see all of the command-line options: python -m longplayer --help

Metadata

Release files for longplayer 0.2.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 longplayer 0.2.0
File Size Uploaded
longplayer-0.2.0.tar.gz 62.5 MB Details

Release files / longplayer-0.2.0.tar.gz

Download URL longplayer-0.2.0.tar.gz
Size 62.5 MB
Tags Source
SHA-256 checksum
How to use checksums
4ca20810696363ea9928a30d791426bd15a0b12e271514fc2dd4a09b24bde590
BLAKE2b-256 checksum
How to use checksums
ab3b789f8131f4bb487e5970235eb0688d85c1a620f97751bdc0e3fee6fd6880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.1

1 release file

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