# Longplayer in Python
[Longplayer](https://longplayer.org/) 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](https://longplayer.org/about/overview/).
## Requirements
- A Linux (including Raspberry Pi), macOS or Windows system with audio output
- Python 3.9 or above ([python.org](https://www.python.org/downloads/))
## 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`
Raw data
{
"_id": null,
"home_page": "https://github.com/TheLongplayerTrust/longplayer-python",
"name": "longplayer",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "sound, music, time, soundart",
"author": "Daniel Jones and Jem Finer",
"author_email": "dan-code@erase.net",
"download_url": "https://files.pythonhosted.org/packages/ab/3b/789f8131f4bb487e5970235eb0688d85c1a620f97751bdc0e3fee6fd6880/longplayer-0.2.0.tar.gz",
"platform": null,
"description": "# Longplayer in Python\n\n[Longplayer](https://longplayer.org/) is a thousand year long musical composition by Jem Finer.\n\nThis is an open-source implementation of Longplayer in Python, which can be run on any compatible computer with audio output.\n\nFor more information about Longplayer, read an [overview of the piece](https://longplayer.org/about/overview/).\n\n## Requirements\n\n- A Linux (including Raspberry Pi), macOS or Windows system with audio output\n- Python 3.9 or above ([python.org](https://www.python.org/downloads/))\n\n## Installation\n\nIf you're using Linux (including Raspberry Pi), you will need to install the `portaudio` library for audio output: `sudo apt install libportaudio2`\n\nTo install Longplayer from the command line, for any platform, open up a terminal session and enter:\n\n```\npip3 install longplayer\n```\n\n## Usage\n\nTo run Longplayer from the command line, run:\n\n```\npython3 -m longplayer\n```\n\nPress Ctrl-C to stop playback.\n\n## Troubleshooting\n\nIf you are hearing stuttery playback, try:\n\n- increasing the audio buffer size: `python3 -m longplayer --buffer-size 4096`\n- mono (single-channel) playback: `python3 -m longplayer --channels 1`\n\nTo see all of the command-line options: `python -m longplayer --help`\n",
"bugtrack_url": null,
"license": null,
"summary": "Longplayer, a thousand-year long musical composition, implemented in Python",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/TheLongplayerTrust/longplayer-python"
},
"split_keywords": [
"sound",
" music",
" time",
" soundart"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ab3b789f8131f4bb487e5970235eb0688d85c1a620f97751bdc0e3fee6fd6880",
"md5": "b53da8d6bb3d8268d763f631b08a1710",
"sha256": "4ca20810696363ea9928a30d791426bd15a0b12e271514fc2dd4a09b24bde590"
},
"downloads": -1,
"filename": "longplayer-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "b53da8d6bb3d8268d763f631b08a1710",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 62524696,
"upload_time": "2025-01-23T15:04:23",
"upload_time_iso_8601": "2025-01-23T15:04:23.733448Z",
"url": "https://files.pythonhosted.org/packages/ab/3b/789f8131f4bb487e5970235eb0688d85c1a620f97751bdc0e3fee6fd6880/longplayer-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-23 15:04:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "TheLongplayerTrust",
"github_project": "longplayer-python",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "longplayer"
}