nerpin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +47 -0
- data/Rakefile +10 -0
- data/data/nrpn/micron.json +1172 -0
- data/lib/nerpin/controller.rb +39 -0
- data/lib/nerpin/nrpn/micron.rb +14 -0
- data/lib/nerpin/nrpn.rb +52 -0
- data/lib/nerpin/util.rb +36 -0
- data/lib/nerpin/version.rb +3 -0
- data/lib/nerpin.rb +19 -0
- data/nerpin.gemspec +25 -0
- data/spec/micron.html +1693 -0
- data/spec/nerpin/controller_spec.rb +59 -0
- data/spec/nerpin/micron_spec.rb +15 -0
- data/spec/nerpin/nrpn/micron_spec.rb +66 -0
- data/spec/nerpin/util_spec.rb +36 -0
- data/spec/spec_helper.rb +21 -0
- metadata +175 -0
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 youpy
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# Nerpin [![Build Status](https://travis-ci.org/youpy/nerpin.png?branch=master)](https://travis-ci.org/youpy/nerpin)
|
2
|
+
|
3
|
+
A Ruby library to send manufacturer-specific or instrument-specific MIDI messages
|
4
|
+
|
5
|
+
## Supported Instruments
|
6
|
+
|
7
|
+
* [Alesis micron](http://www.alesis.com/micron)
|
8
|
+
* [Alesis ion](http://www.alesis.com/ion) (not tested)
|
9
|
+
* [Akai MINIAK](http://www.akaipro.com/miniak) (not tested)
|
10
|
+
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
Add this line to your application's Gemfile:
|
14
|
+
|
15
|
+
gem 'nerpin'
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install nerpin
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
require 'coremidi'
|
29
|
+
require 'nerpin'
|
30
|
+
|
31
|
+
destination = CoreMIDI::Destination.first
|
32
|
+
micron = Nerpin::Micron(destination)
|
33
|
+
|
34
|
+
micron.oscillator_1_octave(3)
|
35
|
+
```
|
36
|
+
|
37
|
+
## See Also
|
38
|
+
|
39
|
+
* [Alesis Ion, Micron and Akai Miniak Synth Wiki - Common FAQ](http://ion-micron-miniak.wikia.com/wiki/Common_FAQ)
|
40
|
+
|
41
|
+
## Contributing
|
42
|
+
|
43
|
+
1. Fork it
|
44
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
45
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
46
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
47
|
+
5. Create new Pull Request
|