AudioMasher

command module
v0.0.0-...-394880e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

AudioMasher

Generative Audio Playground - https://www.audiomasher.org

  • Edit and play Sporth patches (audio scripts) in the browser
  • Browse and listen to existing patches
  • Add your patches to the collection
  • Subscribe to the Atom feed of published patches

Writing audio patches

While Sporth code may look esoteric at first glance, it's surprisingly easy to write, especially with immediate audio feedback. This readme doesn't cover the Sporth language itself, but resources to learn Sporth are readily available:

Building AudioMasher

To get the latest source and build the server using Git and Go:

git clone https://github.com/pac-dev/AudioMasher
cd AudioMasher/
go build

Sporth is already compiled to JS and included in the project, but if you want to compile it yourself, the code glue is here: https://github.com/pac-dev/SporthEm

Running the AudioMasher server

  • Serve the static folder from a static host.
  • Create your own config/masher.config based on the included example config file.
    • Note: all config variables can also be set in the environment (which takes precedence).
  • Run the AudioMasher binary alongside the templates and config directories.

Troubleshooting the server

  • Files served by the static host might require some HTTP headers:
    • access-control-allow-origin set to the server address
    • content-type: application/wasm for the wasm file

Tools used

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址