diff options
author | Locria Cyber | 2023-03-12 15:48:41 +0000 |
---|---|---|
committer | Locria Cyber | 2023-03-12 15:48:41 +0000 |
commit | c415caf533cc0896e2f2cf78024e751bc44739b0 (patch) | |
tree | 36c32e78cd2d35d3c5441c66bb6de3844a12eed1 /README.md | |
parent | ab835f8e189dcd3ccdf7ae014369d7ee4ab591fb (diff) |
Add nim impl
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -5,3 +5,10 @@ Lambeat is a new way to make music using functional programming. It's heavily in 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 -`! 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. + +For the nim version +``` +nim c --mm:orc -d:release music.nim +./music > music.s32 +play -r 44100 -t s32 music.s32 +``` |