1
0
Fork 0
forked from a/yue
Lambeat/README.md

15 lines
773 B
Markdown
Raw Permalink Normal View History

# Lambeat
Lambeat is a new way to make music using functional programming. It's heavily influenced by [Bytebeat](https://dollchan.net/bytebeat) and initially started out as an reimplementation of Bytebeat in Scheme. Since then, it's grown to be a delightful new way to make music with code.
2022-12-17 18:46:41 +00:00
## Get started
2022-12-18 05:00:16 +00:00
First, install [Sox](https://sox.sourceforge.net/) and clone this repo. Write some music in `music.scm`. Enjoy your music with `guile --fresh-auto-compile lambeat.scm | play -r 8000 -t s16 -`!
2023-03-12 02:27:44 +00:00
2023-03-12 05:18:58 +00:00
For the Python version, use `pypy3 music.py | play -r 44100 -t s32 -` to listen and `pypy3 music.py | sox -r 44100 -t s32 - example.ogg` to save to a file.
2023-03-12 15:48:41 +00:00
For the nim version
```
nim c --mm:orc -d:release music.nim
./music > music.s32
play -r 44100 -t s32 music.s32
```