Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/5t111111/nilsteps
https://github.com/5t111111/nilsteps
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/5t111111/nilsteps
- Owner: 5t111111
- License: mit
- Created: 2014-12-16T01:46:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-23T01:39:44.000Z (over 8 years ago)
- Last Synced: 2024-10-18T18:59:26.306Z (28 days ago)
- Language: Ruby
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Nilsteps
Nilsteps is an OSC client sequecer for 16 steps / bar, only single track is available for the moment. You need OSC server compatible instruments to hear generated sound.
__This is just a proof of concept as it does not care about the overhead. The specified BPM is not guaranteed at all.__
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'nilsteps'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install nilsteps
## Usage
```ruby
# C1 for 1st note and D1 for 8th note of 16 steps in a bar
seq = Nilsteps::Sequencer.new(bpm: 128)
seq.setup_steps(0 => 'C1', 8 => 'D1')
seq.play(4)# Drum machine like sequence DSL
include Nilsteps::DSLkick 'oxxxoxxxoxxxoxox', times: 1
```