surface_master 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/.travis.yml +8 -0
  4. data/Gemfile +13 -0
  5. data/LICENSE +21 -0
  6. data/README.md +48 -0
  7. data/Rakefile +10 -0
  8. data/debug_tools/Numark_Orbit_Pad_Coloring.mmon +98 -0
  9. data/debug_tools/OrbitLightingExample.json +662 -0
  10. data/debug_tools/Orbit_Color_Test.json +662 -0
  11. data/debug_tools/Orbit_Colors_And_Reset.1.raw +0 -0
  12. data/debug_tools/Orbit_Colors_And_Reset.1.txt +82 -0
  13. data/debug_tools/Orbit_Colors_And_Reset.2.raw +0 -0
  14. data/debug_tools/Orbit_Colors_And_Reset.2.txt +2 -0
  15. data/debug_tools/Orbit_Colors_And_Reset.3.raw +0 -0
  16. data/debug_tools/Orbit_Colors_And_Reset.3.txt +82 -0
  17. data/debug_tools/Orbit_Colors_And_Reset.mmon +93 -0
  18. data/debug_tools/Orbit_Preset.1.raw +0 -0
  19. data/debug_tools/Orbit_Preset.1.txt +82 -0
  20. data/debug_tools/Orbit_Preset.2.raw +0 -0
  21. data/debug_tools/Orbit_Preset.2.txt +2 -0
  22. data/debug_tools/Orbit_Preset.mmon +72 -0
  23. data/debug_tools/compare.sh +12 -0
  24. data/debug_tools/decode.rb +14 -0
  25. data/debug_tools/extract_midi_monitor_sample.sh +33 -0
  26. data/docs/Numark_Orbit_QuickRef.md +50 -0
  27. data/examples/launchpad_testbed.rb +141 -0
  28. data/examples/monitor.rb +61 -0
  29. data/examples/orbit_testbed.rb +62 -0
  30. data/lib/control_center.rb +26 -0
  31. data/lib/surface_master/device.rb +90 -0
  32. data/lib/surface_master/errors.rb +27 -0
  33. data/lib/surface_master/interaction.rb +133 -0
  34. data/lib/surface_master/launchpad/device.rb +159 -0
  35. data/lib/surface_master/launchpad/errors.rb +11 -0
  36. data/lib/surface_master/launchpad/interaction.rb +86 -0
  37. data/lib/surface_master/launchpad/midi_codes.rb +51 -0
  38. data/lib/surface_master/logging.rb +15 -0
  39. data/lib/surface_master/orbit/device.rb +160 -0
  40. data/lib/surface_master/orbit/interaction.rb +29 -0
  41. data/lib/surface_master/orbit/midi_codes.rb +31 -0
  42. data/lib/surface_master/version.rb +3 -0
  43. data/mappings/Orbit_Preset.json +662 -0
  44. data/surface_master.gemspec +26 -0
  45. data/test/helper.rb +44 -0
  46. data/test/test_device.rb +530 -0
  47. data/test/test_interaction.rb +456 -0
  48. metadata +121 -0
metadata ADDED
@@ -0,0 +1,121 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: surface_master
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Jon Frisby
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-09-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: portmidi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.0.6
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.6
27
+ - !ruby/object:Gem::Dependency
28
+ name: ffi
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: This gem provides an interface to access Novation's LaunchPad Mark 2,
42
+ and Numark's Orbit programmatically. LEDs can be lit and button presses can be read.
43
+ email:
44
+ - jfrisby@mrjoy.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".gitignore"
50
+ - ".travis.yml"
51
+ - Gemfile
52
+ - LICENSE
53
+ - README.md
54
+ - Rakefile
55
+ - debug_tools/Numark_Orbit_Pad_Coloring.mmon
56
+ - debug_tools/OrbitLightingExample.json
57
+ - debug_tools/Orbit_Color_Test.json
58
+ - debug_tools/Orbit_Colors_And_Reset.1.raw
59
+ - debug_tools/Orbit_Colors_And_Reset.1.txt
60
+ - debug_tools/Orbit_Colors_And_Reset.2.raw
61
+ - debug_tools/Orbit_Colors_And_Reset.2.txt
62
+ - debug_tools/Orbit_Colors_And_Reset.3.raw
63
+ - debug_tools/Orbit_Colors_And_Reset.3.txt
64
+ - debug_tools/Orbit_Colors_And_Reset.mmon
65
+ - debug_tools/Orbit_Preset.1.raw
66
+ - debug_tools/Orbit_Preset.1.txt
67
+ - debug_tools/Orbit_Preset.2.raw
68
+ - debug_tools/Orbit_Preset.2.txt
69
+ - debug_tools/Orbit_Preset.mmon
70
+ - debug_tools/compare.sh
71
+ - debug_tools/decode.rb
72
+ - debug_tools/extract_midi_monitor_sample.sh
73
+ - docs/Numark_Orbit_QuickRef.md
74
+ - examples/launchpad_testbed.rb
75
+ - examples/monitor.rb
76
+ - examples/orbit_testbed.rb
77
+ - lib/control_center.rb
78
+ - lib/surface_master/device.rb
79
+ - lib/surface_master/errors.rb
80
+ - lib/surface_master/interaction.rb
81
+ - lib/surface_master/launchpad/device.rb
82
+ - lib/surface_master/launchpad/errors.rb
83
+ - lib/surface_master/launchpad/interaction.rb
84
+ - lib/surface_master/launchpad/midi_codes.rb
85
+ - lib/surface_master/logging.rb
86
+ - lib/surface_master/orbit/device.rb
87
+ - lib/surface_master/orbit/interaction.rb
88
+ - lib/surface_master/orbit/midi_codes.rb
89
+ - lib/surface_master/version.rb
90
+ - mappings/Orbit_Preset.json
91
+ - surface_master.gemspec
92
+ - test/helper.rb
93
+ - test/test_device.rb
94
+ - test/test_interaction.rb
95
+ homepage: https://github.com/MrJoy/surface_master
96
+ licenses: []
97
+ metadata: {}
98
+ post_install_message:
99
+ rdoc_options: []
100
+ require_paths:
101
+ - lib
102
+ required_ruby_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 2.2.0
107
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ requirements: []
113
+ rubyforge_project:
114
+ rubygems_version: 2.4.5.1
115
+ signing_key:
116
+ specification_version: 4
117
+ summary: A gem for accessing various MIDI control surfaces programmatically.
118
+ test_files:
119
+ - test/helper.rb
120
+ - test/test_device.rb
121
+ - test/test_interaction.rb