Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffmikels/nim_metronome
A simple command line metronome built in the Nim programming language and the openal audio library.
https://github.com/jeffmikels/nim_metronome
audio hacktoberfest learning metronome music nim nim-lang
Last synced: 15 days ago
JSON representation
A simple command line metronome built in the Nim programming language and the openal audio library.
- Host: GitHub
- URL: https://github.com/jeffmikels/nim_metronome
- Owner: jeffmikels
- Created: 2020-10-12T15:53:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-12T16:01:28.000Z (over 4 years ago)
- Last Synced: 2024-11-10T15:47:55.579Z (2 months ago)
- Topics: audio, hacktoberfest, learning, metronome, music, nim, nim-lang
- Language: Nim
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nim Metronome
Whenever I learn a new language, I try to implement a metronome. It helps me understand the basic structure of the language as well as ways to interact with the device subsystems like audio playback.
This is an implementation of a command-line metronome in the Nim programming language using the OpenAL audio library.
It runs on the command line.
## Installation / Compilation
If you have nim installed, the rest of these commands should work to get the metronome running.
```bash
$ git clone https://github.com/jeffmikels/nim_metronome.git
$ cd nim_metronome
$ nimble install openal
$ nim c metronome
$ ./metronome click.wav
```## Please contribute...
Please add your PRs to help me and others learn Nim with this example.