play audio files in performance contexts
Project description
walkman
Walkman is a minimalistic, robust software to trigger (audio) cues in performance contexts. It uses pyo as its backend and pysimplegui as its frontend. It can be configured by toml files.
Rationale
Live-electronic setups tend to be messy, difficult to maintain and difficult to test.
Furthermore many compositions with live-electronics make use of cue-based pattern, but in most of electronic music frameworks (Pd, Max/MSP, ...) no default implementation exists.
walkman
aims to improve the situation by providing a simple, declarative configuration language to setup programs based on cues.
The actual software is implemented in Python3, can be extended in python3 and can be tested with unit tests.
Installation
walkman is available on pip:
pip3 install audiowalkman
You can also use buildout to create an isolated environment. Please consult the respective README for more information.
Configuration file
# my_composition.toml
# ## General configurations ## #
[configure]
name = "my composition"
[configure.audio]
sampling_rate = 44100
[configure.module.audio_input.0]
input_channel_index = 1
[configure.module.sound_file_player]
replication_count = 1
[configure.module.sound_file_player.0]
# We can set values passed to '__init__'
auto_stop = false
# And we can also override the default values of
# 'initialize' method.
[configure.module.sound_file_player.0.default_dict.decibel]
value = -6
midi_control_index = 0
midi_range = [-120, 0]
# ## Cues ## #
[cue.1.sound_file_player.0]
path = "jungle_rain.wav"
decibel = -12
loop = true
[cue.2]
sound_file = false
[cue.2.harmonizer.0]
# Move in 10 seconds from decibel -20 to decibel 0
decibel = [[0, -20], [10, 0]]
factor = 4
Usage
walkman my_composition.toml
Tests
Automatic
The run-tests
script setups a test environment and runs automatic unit tests.
./run-tests
Manual
Please consult the respective README.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file audiowalkman-0.19.2.tar.gz
.
File metadata
- Download URL: audiowalkman-0.19.2.tar.gz
- Upload date:
- Size: 50.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e4ed2aeae56fc023afff3dcc7f57f2b08ea8d539377f26393f5270027c64a2f |
|
MD5 | 4738c10bd47ae271da62e43195564a1e |
|
BLAKE2b-256 | f92944a1329ba27cfbe60d499704a6e159c6a0d207d9fda45ae097237db5a60c |
File details
Details for the file audiowalkman-0.19.2-py3-none-any.whl
.
File metadata
- Download URL: audiowalkman-0.19.2-py3-none-any.whl
- Upload date:
- Size: 55.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6de843bfae65eb5f7b351b765d96040f092c196ef8f61e4ba444e2efd5e46061 |
|
MD5 | ff5632530e7802ba2cedeb3b20c85365 |
|
BLAKE2b-256 | 88dfb29db2598676f2af9f69409b36b9d5a2cda95baa6179782ecd9efc73ada5 |