beatnik
beatnik copied to clipboard
A drum programming language.
Beatnik
Beatnik is a drum programming language.
What Does it Do?
With Beatnik you can type text which describes your beat, and Beatnik will interpret it and turn in into MIDI.
Getting Started
Running Locally
- Go to releases and download the relevant file. It contains two executables:
btnk
andgui
. - Read the tutorial.
- Start making beats using
btnk
with the command line, orgui
with your browser.
btnk
btnk
is a command line compiler that turns Beatnik code (typically with .btn suffix) into MIDI files.
From the command line run:
btnk file1.btn file2.btn
btnk
will create file1.btn.mid and file2.btn.mid.
gui
gui
is a graphical web interface. Once you run it you can open your browser at the address it shows on the terminal.
This is an experimental thing I did for demonstration purposes. Would love to get feedback on where to take it further!
Getting The Code
To download the code and build your own:
- Install the go compiler (add it to your path).
- Set the GOPATH environment variable to you code directory.
- Run:
go get github.com/fluhus/beatnik go install github.com/fluhus/beatnik/btnk github.com/fluhus/beatnik/gui
- Find the compiled binaries under
bin
and source code undersrc
.
Happy coding!