Skip to main content

SoundServer

The sound server reads a YAML file specifying sounds to be played. Sounds can then be triggered and manipulated remotely over OSC (e.g. fading in and out tracks, 3D positioning of sounds). This allows configuration and remote triggering/manipluation of sounds over a network. This software was designed for adding audio to interactive art installations and similar; it is probably not suitable for gaming or real-time musical applications.

Sound generation is via pyfmodex, which in turn wraps the high performance FMODEx library, which is used to render the sounds. Most FMODEx features are supported.

The server also supports autonomous fades, and automations for making filter changes, position movements, and pitch adjustment using random, periodic or spline based patterns. It supports stochastic sound generation, so that random sounds can be generated server-side according to a fairly flexible random generation model.

Example OSC messages:

# create a new transient sound mysound_0
/sound_server/spawn mysound mysound_0

# set the gain to -80dB
/sound_server/gain mysound_0 -80

# start the sound playing
/sound_server/start mysound_0

# start a fade up to 0dB over the next 5 seconds
/sound_server/gain mysound_0 0 5.0

Requires numpy, pyfmodex and simpleOSC.

Note: this is currently Python 2.x only. Python 3.x may or may not work with some small changes. You must separately acquire FMODEx for your platform. Depending on your use, FMODEx may require a commercial license.

This library relies on pyfmodex, which is somewhat incomplete/buggy at the moment. In particular, it does not work on 64-bit systems (you will get an FMOD_INVALID_PARAMETER error if you try and run on a 64 bit system). sound_server has some workarounds for missing or incomplete features in pyfmodex by calling FMODEx directly via ctypes.

OS X note: On OS X, the pyfmodex library must be patched to change the FMODEx library name from .so to .dylib

Metadata

Release files for sound_server 0.1.1

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

Source distribution (sdist)

Source distribution for sound_server 0.1.1
File Size Uploaded
sound_server-0.1.1.zip 26.9 kB Details

Release files / sound_server-0.1.1.zip

Download URL sound_server-0.1.1.zip
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c0e81d664705ee16743b4cdf2b174ffb7fe2588ce2c471494feb234005465c5d
BLAKE2b-256 checksum
How to use checksums
4b60c557bc132b36462ff920c0ec4330c262ed73f93be91014918f944ff3a8d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

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