Programmatic music library
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Anthony Wang 5bba29570e
Implement saw wave and honk waveform
2 weeks ago
LICENSE Initial commit 9 months ago
README.md Clean up code and rename to yue 2 weeks ago
blend.nim Clean up code and rename to yue 2 weeks ago
blend.ogg Implement different waveforms 2 weeks ago
blend.py Implement different waveforms 2 weeks ago
blend.scm Clean up code and rename to yue 2 weeks ago
keyboard.py Implement saw wave and honk waveform 2 weeks ago
yue.nim Clean up code and rename to yue 2 weeks ago
yue.py Implement saw wave and honk waveform 2 weeks ago
yue.scm Clean up code and rename to yue 2 weeks ago

README.md

yue

yue is a programmatic music library, influenced by Bytebeat. It is designed to be low-level and enable you to build your own abstractions and functions. Think of it like an assembly language for music. There are three implementations in Python (PyPy recommended for speed), Scheme, and Nim. Check out this sample code and listen to it!

Get started

First, install Sox and clone this repo.

To run a program that uses yue, use pypy file.py, guile --fresh-auto-compile file.scm, or nim c --mm:orc -d:release file.nim && ./file, and pipe to play -r 44100 -t s32 -. If you would like to save to a file, pipe to sox -r 44100 -t s32 - file.ogg instead.