aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAnthony Wang2023-03-12 17:53:37 +0000
committerAnthony Wang2023-03-12 17:53:37 +0000
commit44b8c5f7311eccb8058df27be1a4d55651580940 (patch)
tree478ff6ef7c83c0d81ae02db1cb6ec699a252ef7b /README.md
parentba1c702d34ebb9cf7971e165e8e0e96ba1a63c78 (diff)
parent5fe21ce19c52326c79c1fe09000218af66f386c5 (diff)
Merge pull request 'Nim port' (#1) from iacore/Lambeat:main into main
Reviewed-on: https://git.exozy.me/a/Lambeat/pulls/1
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7a50d67..eb1259f 100644
--- a/README.md
+++ b/README.md
@@ -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
+```