Skip to main content

play audio files in performance contexts

Project description

walkman

Build Status License: GPL v3 PyPI version Code style: black

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


Download files

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

Source Distribution

audiowalkman-0.14.1.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

audiowalkman-0.14.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file audiowalkman-0.14.1.tar.gz.

File metadata

  • Download URL: audiowalkman-0.14.1.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for audiowalkman-0.14.1.tar.gz
Algorithm Hash digest
SHA256 6e2a83d798bb00bc0535c2340cba6c146cbe24284f5fe99ca5a588ea3f4cc3d3
MD5 e207c0cbb072ed7c08b4f6514d3d00a8
BLAKE2b-256 90a6fa412cf1d1a36e1b4b0c6e8ea7046d2dae7df2218fab54d2a41955ffb8ac

See more details on using hashes here.

File details

Details for the file audiowalkman-0.14.1-py3-none-any.whl.

File metadata

File hashes

Hashes for audiowalkman-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4338c7e0a925ccbf628ffa4f1ef5cac45014cdb699468a26b052ef086105b929
MD5 2e93dc657d9b3197d5f4e58126d73ad2
BLAKE2b-256 ac07bfd8e124c96f9aae5acdbe92017f93afb16e56d66dd85b00cba6ffb00a85

See more details on using hashes here.

Supported by

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