crocket_example
crocket_example
This is an example usage of Crocket.
Installation
Install the following dependencies:
- libao
- libmpg123
On macOS, this can be done using Homebrew like this:
brew install libao mpg123
Usage
# Build the example in edit mode
shards build
# Start the editor with a .rocket file loaded, and start the built binary:
./bin/crocket_example
# Press space in the editor to start the playback of the pattern.
# This example quits once it reaches a row higher than 128 and then saves the
# resulting tracks to `./data/sync_*.track`.
# Now, close the editor and recompile the example in demo mode.
shards build -Dsync_player
# Finally, run the example.
./bin/crocket_example
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/nilsding/crocket_example/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Georg Gadinger - creator and maintainer
Repository
crocket_example
Owner
Statistic
- 0
- 0
- 0
- 0
- 4
- almost 6 years ago
- January 1, 2019
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 11:18:13 GMT
Languages