yanndepps / Sporth

A stack-based language for audio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sporth

Sporth (short for SoundPipe fORTH), is a small stack-based musical language, roughly inspired by stack languages like Forth and PostScript.

Features

  • Stack oriented paradigm
  • Written entirely in C
  • 100+ unit generators to choose from
  • Powered by the Soundpipe DSP library
  • Unix-Friendly
  • Small codebase
  • Powerful C API
  • Easily extendable
  • Easily embeddable

Installation

In order to compile Sporth, SoundPipe needs to be installed.

Then:

  1. make
  2. sudo make install

Quick start

To see Sporth in action, run this command from the inside the project directory:

sporth -d 5s -o dialtone.wav examples/dialtone.sp

This will generate a 5 second audio clip of sound.

More information on Sporth can be found here.

Examples

Several examples demonstrating specific ugens can be found in the examples folder of the repository. More musical examples can be found on the Sporthlings page.

Licensing

This project is dual-licensed under MIT or UNLICENSE.

About

A stack-based language for audio.

License:MIT License


Languages

Language:C 83.0%Language:C++ 7.7%Language:Scheme 6.2%Language:Makefile 1.0%Language:Shell 0.8%Language:Lua 0.6%Language:SourcePawn 0.4%Language:ChucK 0.2%Language:Raku 0.1%Language:Vim Script 0.0%Language:Perl 0.0%Language:Faust 0.0%