archaeopteryx 0.1.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.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/MIDI_FLOW_DIAGRAM.md +61 -0
- data/README.md +133 -0
- data/bin/arcx +8 -0
- data/lib/archaeopteryx/app_pathname.rb +50 -0
- data/lib/archaeopteryx/application.rb +183 -0
- data/lib/archaeopteryx/application_runner.rb +23 -0
- data/lib/archaeopteryx/cli.rb +44 -0
- data/lib/archaeopteryx/client.rb +153 -0
- data/lib/archaeopteryx/clip.rb +119 -0
- data/lib/archaeopteryx/clip_application.rb +7 -0
- data/lib/archaeopteryx/commands/application_helper.rb +9 -0
- data/lib/archaeopteryx/commands/connections.rb +41 -0
- data/lib/archaeopteryx/commands/create_instrument.rb +15 -0
- data/lib/archaeopteryx/commands/generate.rb +44 -0
- data/lib/archaeopteryx/commands/new.rb +103 -0
- data/lib/archaeopteryx/commands/start.rb +13 -0
- data/lib/archaeopteryx/commands/status.rb +15 -0
- data/lib/archaeopteryx/commands/stop.rb +15 -0
- data/lib/archaeopteryx/commands/templates/Gemfile +3 -0
- data/lib/archaeopteryx/commands/templates/bin/arcx +6 -0
- data/lib/archaeopteryx/commands/templates/clips/clip.rb +3 -0
- data/lib/archaeopteryx/commands/templates/config/application.rb +8 -0
- data/lib/archaeopteryx/commands/templates/config/connections.yml +3 -0
- data/lib/archaeopteryx/commands/templates/instruments/instrument.rb +3 -0
- data/lib/archaeopteryx/commands/templates/live.rb +3 -0
- data/lib/archaeopteryx/commands.rb +12 -0
- data/lib/archaeopteryx/daemonize.rb +73 -0
- data/lib/archaeopteryx/duration_calculator.rb +35 -0
- data/lib/archaeopteryx/instrument.rb +60 -0
- data/lib/archaeopteryx/journey.rb +163 -0
- data/lib/archaeopteryx/live.rb +13 -0
- data/lib/archaeopteryx/mutator.rb +7 -0
- data/lib/archaeopteryx/note.rb +40 -0
- data/lib/archaeopteryx/notifier.rb +23 -0
- data/lib/archaeopteryx/probability_generator.rb +18 -0
- data/lib/archaeopteryx/registrable.rb +28 -0
- data/lib/archaeopteryx/rythm_sequence.rb +43 -0
- data/lib/archaeopteryx/track.rb +37 -0
- data/lib/archaeopteryx/track_notifier.rb +15 -0
- data/lib/archaeopteryx/version.rb +3 -0
- data/lib/archaeopteryx.rb +11 -0
- metadata +213 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
require 'forwardable'
|
|
2
|
+
require 'musicalism'
|
|
3
|
+
require 'archaeopteryx/registrable'
|
|
4
|
+
|
|
5
|
+
module Archaeopteryx
|
|
6
|
+
class Journey
|
|
7
|
+
include Registrable
|
|
8
|
+
|
|
9
|
+
MODES = %i[up down up_down random].freeze
|
|
10
|
+
FIRST_BAR = 1
|
|
11
|
+
|
|
12
|
+
Step = Data.define(:key, :previous_key, :distance, :direction, :number, :first_bar, :bars, :peak, :modulation) do
|
|
13
|
+
def away? = direction == :away
|
|
14
|
+
def toward? = direction == :toward
|
|
15
|
+
def arrived? = distance.zero?
|
|
16
|
+
def farthest? = distance >= peak
|
|
17
|
+
def last_bar = first_bar + bars - 1
|
|
18
|
+
def covers?(bar) = bar.between?(first_bar, last_bar)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
Bar = Data.define(:step, :song_bar, :bars_until_home) do
|
|
22
|
+
extend Forwardable
|
|
23
|
+
|
|
24
|
+
def_delegators :step, :key, :previous_key, :distance, :direction, :modulation, :bars,
|
|
25
|
+
:away?, :toward?, :arrived?, :farthest?
|
|
26
|
+
|
|
27
|
+
def bar = song_bar - step.first_bar
|
|
28
|
+
def first_bar? = bar.zero?
|
|
29
|
+
def last_bar? = bar == bars - 1
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
class << self
|
|
33
|
+
def register(name, **options, &walk)
|
|
34
|
+
@registry[name] = @registry.key?(name) ? @registry[name].steer(**options, &walk) : new(name, **options, &walk)
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
attr_reader :name
|
|
39
|
+
|
|
40
|
+
def initialize(name, **options, &walk)
|
|
41
|
+
@name = name
|
|
42
|
+
@prepared_until = 0
|
|
43
|
+
configure(**options, &walk)
|
|
44
|
+
@planned = [first_step]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def steer(**options, &walk)
|
|
48
|
+
configure(**options, &walk)
|
|
49
|
+
@planned = @planned.select { |step| step.first_bar <= @prepared_until }
|
|
50
|
+
@planned = [first_step] if @planned.empty?
|
|
51
|
+
self
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def bar(song_bar)
|
|
55
|
+
raise ArgumentError, "bars start at #{FIRST_BAR}, got #{song_bar}" if song_bar < FIRST_BAR
|
|
56
|
+
|
|
57
|
+
@prepared_until = [@prepared_until, song_bar].max
|
|
58
|
+
step = step_at(song_bar)
|
|
59
|
+
Bar.new(step:, song_bar:, bars_until_home: bars_until_home(step, song_bar))
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
private
|
|
63
|
+
|
|
64
|
+
attr_reader :from, :home, :mode, :range, :rate, :steps, :walk, :random
|
|
65
|
+
|
|
66
|
+
def configure(from:, mode: :up_down, range: :farthest, rate: 4, steps: nil, home: nil, seed: nil, &walk)
|
|
67
|
+
raise ArgumentError, "#{mode} is not a journey mode, use up, down, up_down or random" unless MODES.include?(mode)
|
|
68
|
+
|
|
69
|
+
@from = Musicalism::Key.coerce(from)
|
|
70
|
+
@home = home ? Musicalism::Key.coerce(home) : @from
|
|
71
|
+
@mode = mode
|
|
72
|
+
@range = range
|
|
73
|
+
@rate = rate
|
|
74
|
+
@steps = steps
|
|
75
|
+
@walk = walk
|
|
76
|
+
@random = seed ? Random.new(seed) : Random.new
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
def first_step
|
|
80
|
+
Step.new(key: from, previous_key: nil, distance: from.distance_to(home), direction: :level,
|
|
81
|
+
number: 0, first_bar: FIRST_BAR, bars: rate, peak:, modulation: nil)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def step_at(song_bar)
|
|
85
|
+
@planned << next_step(@planned.last) until @planned.last.covers?(song_bar) || @planned.last.first_bar > song_bar
|
|
86
|
+
@planned.find { |step| step.covers?(song_bar) }
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
def bars_until_home(step, song_bar)
|
|
90
|
+
return 0 if step.arrived?
|
|
91
|
+
|
|
92
|
+
plan_steps(step.number + lookahead_steps)
|
|
93
|
+
homecoming = @planned.drop(step.number + 1).find(&:arrived?)
|
|
94
|
+
homecoming && homecoming.first_bar - song_bar
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
def lookahead_steps
|
|
98
|
+
2 * home.farthest_distance + 1
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
def plan_steps(count)
|
|
102
|
+
@planned << next_step(@planned.last) while @planned.size <= count
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
def next_step(step)
|
|
106
|
+
key = next_key(step)
|
|
107
|
+
distance = key.distance_to(home)
|
|
108
|
+
Step.new(key:, previous_key: step.key, distance:, direction: direction_between(step.distance, distance),
|
|
109
|
+
number: step.number + 1, first_bar: step.last_bar + 1, bars: rate, peak:,
|
|
110
|
+
modulation: modulation_between(step.key, key))
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
def next_key(step)
|
|
114
|
+
return step.key if steps && step.number + 1 >= steps
|
|
115
|
+
|
|
116
|
+
candidates = step.key.closely_related
|
|
117
|
+
chosen = walk ? walk.call(step.key, candidates, home) : send(:"walk_#{mode}", step, candidates)
|
|
118
|
+
chosen ? Musicalism::Key.coerce(chosen) : step.key
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
def walk_up(step, candidates)
|
|
122
|
+
one_level_from(step, candidates, +1) unless step.distance >= peak
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
def walk_down(step, candidates)
|
|
126
|
+
one_level_from(step, candidates, -1) unless step.arrived?
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
def walk_up_down(step, candidates)
|
|
130
|
+
heading_home?(step) ? walk_down(step, candidates) : walk_up(step, candidates)
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
def walk_random(_step, candidates)
|
|
134
|
+
candidates.sample(random:)
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
def heading_home?(step)
|
|
138
|
+
!step.arrived? && (step.distance >= peak || step.toward?)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def one_level_from(step, candidates, levels)
|
|
142
|
+
candidates.select { |candidate| candidate.distance_to(home) == step.distance + levels }.sample(random:)
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
def direction_between(previous_distance, distance)
|
|
146
|
+
return :level if distance == previous_distance
|
|
147
|
+
|
|
148
|
+
distance > previous_distance ? :away : :toward
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
def modulation_between(previous_key, key)
|
|
152
|
+
previous_key.modulate_through([key], random:) unless previous_key.distance_to(key).zero?
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
def peak
|
|
156
|
+
farthest = home.farthest_distance
|
|
157
|
+
return farthest if range == :farthest
|
|
158
|
+
return farthest + range if range.negative?
|
|
159
|
+
|
|
160
|
+
[range, farthest].min
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
require 'musicalism'
|
|
2
|
+
|
|
3
|
+
module Archaeopteryx
|
|
4
|
+
class Note
|
|
5
|
+
attr_accessor :note, :velocity, :channel, :status_byte, :on_timestamp, :off_timestamp, :destination
|
|
6
|
+
private :note=, :velocity=, :channel=, :status_byte=, :on_timestamp=
|
|
7
|
+
|
|
8
|
+
NOTE_ON = 0x90
|
|
9
|
+
NOTE_OFF = 0x80
|
|
10
|
+
DEFAULT_VELOCITY = 90
|
|
11
|
+
|
|
12
|
+
def initialize(name, on_timestamp = nil, off_timestamp = nil, channel = 0, velocity = DEFAULT_VELOCITY)
|
|
13
|
+
validate!(name)
|
|
14
|
+
self.note = Musicalism::Note.new(name[0..-2], name[-1].to_i)
|
|
15
|
+
self.velocity = velocity
|
|
16
|
+
self.channel = channel
|
|
17
|
+
self.on_timestamp = on_timestamp
|
|
18
|
+
self.off_timestamp = off_timestamp
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def on
|
|
22
|
+
[channel | NOTE_ON, note.to_midi, velocity]
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def off
|
|
26
|
+
[channel | NOTE_OFF, note.to_midi, 0]
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def ==(other)
|
|
30
|
+
!!(note == other.note && velocity == other.velocity)
|
|
31
|
+
end
|
|
32
|
+
private
|
|
33
|
+
attr_writer :note, :velocity, :at_offset, :status_byte
|
|
34
|
+
|
|
35
|
+
def validate!(name)
|
|
36
|
+
return true if name.match(/^[A-G]{1}([#b]{0,2})[0-7]{1}$/)
|
|
37
|
+
raise InvalidNotName.new("#{name.to_s} is not a valid note name")
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module Archaeopteryx
|
|
2
|
+
class Notifier
|
|
3
|
+
|
|
4
|
+
def initialize(clip)
|
|
5
|
+
self.clip = clip
|
|
6
|
+
self.tracks = []
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def update(event = nil)
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def add_subscriber(clip)
|
|
13
|
+
tracks << subscribers
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def remove_subscriber(clip)
|
|
17
|
+
tracks.delete(clip)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
private
|
|
21
|
+
attr_accessor :clip, :tracks
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Archaeopteryx
|
|
2
|
+
|
|
3
|
+
class ProbabilityGenerator
|
|
4
|
+
|
|
5
|
+
def initialize(&block)
|
|
6
|
+
self.generator = block
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def play?(probability)
|
|
10
|
+
probability > (generator.nil? ? 0 : generator.call)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
private
|
|
14
|
+
|
|
15
|
+
attr_accessor :generator
|
|
16
|
+
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module Archaeopteryx
|
|
2
|
+
module Registrable
|
|
3
|
+
|
|
4
|
+
def self.included(klass)
|
|
5
|
+
|
|
6
|
+
klass.instance_variable_set(:@registry, {})
|
|
7
|
+
|
|
8
|
+
klass.define_singleton_method :all do |&block|
|
|
9
|
+
@registry.values
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
klass.define_singleton_method :[] do |key|
|
|
13
|
+
klass.instance_variable_get(:@registry)[key]
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
klass.define_singleton_method :register do |*args, **options, &block|
|
|
17
|
+
# return self[args.first].load && self[args.first] if self[args.first]
|
|
18
|
+
klass.instance_variable_get(:@registry)[args.first] ||= new(*args, **options, &block)
|
|
19
|
+
klass.instance_variable_get(:@registry)[args.first].load(&block)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def load
|
|
25
|
+
Archaeopteryx::Application.config.logger.warn("Default Registrable method called. #{self.class} does implement #load")
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
require 'archaeopteryx/probability_generator'
|
|
2
|
+
|
|
3
|
+
module Archaeopteryx
|
|
4
|
+
class RythmSequence
|
|
5
|
+
attr_reader :pitches, :probabilities
|
|
6
|
+
|
|
7
|
+
def initialize(pitch, beat_resolution, probabilities, velocities = nil)
|
|
8
|
+
self.pitches = Array(pitch)
|
|
9
|
+
self.beat_resolution = beat_resolution
|
|
10
|
+
self.probabilities = probabilities
|
|
11
|
+
self.velocities = velocities
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def generate(enable_probability, channel)
|
|
15
|
+
probabilities.each_with_index.flat_map do |probability, step|
|
|
16
|
+
next [] unless probability_generator[enable_probability].play?(probability)
|
|
17
|
+
|
|
18
|
+
timestamps = duration_calculator.timestamps_for(step)
|
|
19
|
+
pitches.map { |pitch| Note.new(pitch, *timestamps, channel, velocity_at(step)) }
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
private
|
|
24
|
+
|
|
25
|
+
attr_writer :pitches, :probabilities
|
|
26
|
+
attr_accessor :beat_resolution, :velocities
|
|
27
|
+
|
|
28
|
+
def velocity_at(step)
|
|
29
|
+
velocities ? velocities[step % velocities.size] : Note::DEFAULT_VELOCITY
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def probability_generator
|
|
33
|
+
@probability_generator ||= {
|
|
34
|
+
false => ProbabilityGenerator.new,
|
|
35
|
+
true => ProbabilityGenerator.new { SecureRandom.random_number }
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def duration_calculator
|
|
40
|
+
@duration_calculator ||= DurationCalculator.new(Archaeopteryx::Application.config.bpm)
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
require 'archaeopteryx/notifier'
|
|
2
|
+
|
|
3
|
+
module Archaeopteryx
|
|
4
|
+
class Track
|
|
5
|
+
attr_accessor :channel
|
|
6
|
+
|
|
7
|
+
def initialize(channel)
|
|
8
|
+
self.channel = channel
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def generate(bar)
|
|
12
|
+
clip, enable_probability, bar_offset = bars[bar]
|
|
13
|
+
|
|
14
|
+
return [] unless clip
|
|
15
|
+
|
|
16
|
+
clip.rythm_sequences_for(bar_offset, bar).flat_map do |rythm_sequence|
|
|
17
|
+
rythm_sequence.generate(enable_probability, channel)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def play(bar, clip, enable_probability, bar_offset = 0)
|
|
22
|
+
bars[bar] = [clip, enable_probability, bar_offset]
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def reset
|
|
26
|
+
@bars = {}
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
private
|
|
30
|
+
|
|
31
|
+
attr_accessor :notifiers
|
|
32
|
+
|
|
33
|
+
def bars
|
|
34
|
+
@bars ||= {}
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
require 'securerandom'
|
|
2
|
+
require 'rcoremidi'
|
|
3
|
+
require 'archaeopteryx/version'
|
|
4
|
+
require 'archaeopteryx/registrable'
|
|
5
|
+
require 'archaeopteryx/journey'
|
|
6
|
+
require 'archaeopteryx/rythm_sequence'
|
|
7
|
+
require 'archaeopteryx/clip'
|
|
8
|
+
require 'archaeopteryx/live'
|
|
9
|
+
require 'archaeopteryx/note'
|
|
10
|
+
require 'archaeopteryx/instrument'
|
|
11
|
+
require 'archaeopteryx/application'
|
metadata
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: archaeopteryx
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- StupidCodeFactory <ymarquet@gmail.com>
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: listen
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: logger
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: musicalism
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0.1'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0.1'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: observer
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: rcoremidi
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '0.1'
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - "~>"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '0.1'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: thor
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - ">="
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '0'
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - ">="
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '0'
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: rake
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '0'
|
|
103
|
+
type: :development
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: rspec
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - ">="
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '0'
|
|
117
|
+
type: :development
|
|
118
|
+
prerelease: false
|
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: '0'
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: rspec-its
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
- - ">="
|
|
129
|
+
- !ruby/object:Gem::Version
|
|
130
|
+
version: '0'
|
|
131
|
+
type: :development
|
|
132
|
+
prerelease: false
|
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
134
|
+
requirements:
|
|
135
|
+
- - ">="
|
|
136
|
+
- !ruby/object:Gem::Version
|
|
137
|
+
version: '0'
|
|
138
|
+
description: |
|
|
139
|
+
Archaeopteryx is a live coding environment for MIDI: write clips and
|
|
140
|
+
instruments in Ruby, start a session with `arcx start`, and edit the files
|
|
141
|
+
while it plays in time with an external MIDI clock. It drives macOS
|
|
142
|
+
CoreMIDI through the rcoremidi gem.
|
|
143
|
+
email:
|
|
144
|
+
- ymarquet@gmail.com
|
|
145
|
+
executables:
|
|
146
|
+
- arcx
|
|
147
|
+
extensions: []
|
|
148
|
+
extra_rdoc_files: []
|
|
149
|
+
files:
|
|
150
|
+
- LICENSE
|
|
151
|
+
- MIDI_FLOW_DIAGRAM.md
|
|
152
|
+
- README.md
|
|
153
|
+
- bin/arcx
|
|
154
|
+
- lib/archaeopteryx.rb
|
|
155
|
+
- lib/archaeopteryx/app_pathname.rb
|
|
156
|
+
- lib/archaeopteryx/application.rb
|
|
157
|
+
- lib/archaeopteryx/application_runner.rb
|
|
158
|
+
- lib/archaeopteryx/cli.rb
|
|
159
|
+
- lib/archaeopteryx/client.rb
|
|
160
|
+
- lib/archaeopteryx/clip.rb
|
|
161
|
+
- lib/archaeopteryx/clip_application.rb
|
|
162
|
+
- lib/archaeopteryx/commands.rb
|
|
163
|
+
- lib/archaeopteryx/commands/application_helper.rb
|
|
164
|
+
- lib/archaeopteryx/commands/connections.rb
|
|
165
|
+
- lib/archaeopteryx/commands/create_instrument.rb
|
|
166
|
+
- lib/archaeopteryx/commands/generate.rb
|
|
167
|
+
- lib/archaeopteryx/commands/new.rb
|
|
168
|
+
- lib/archaeopteryx/commands/start.rb
|
|
169
|
+
- lib/archaeopteryx/commands/status.rb
|
|
170
|
+
- lib/archaeopteryx/commands/stop.rb
|
|
171
|
+
- lib/archaeopteryx/commands/templates/Gemfile
|
|
172
|
+
- lib/archaeopteryx/commands/templates/bin/arcx
|
|
173
|
+
- lib/archaeopteryx/commands/templates/clips/clip.rb
|
|
174
|
+
- lib/archaeopteryx/commands/templates/config/application.rb
|
|
175
|
+
- lib/archaeopteryx/commands/templates/config/connections.yml
|
|
176
|
+
- lib/archaeopteryx/commands/templates/instruments/instrument.rb
|
|
177
|
+
- lib/archaeopteryx/commands/templates/live.rb
|
|
178
|
+
- lib/archaeopteryx/daemonize.rb
|
|
179
|
+
- lib/archaeopteryx/duration_calculator.rb
|
|
180
|
+
- lib/archaeopteryx/instrument.rb
|
|
181
|
+
- lib/archaeopteryx/journey.rb
|
|
182
|
+
- lib/archaeopteryx/live.rb
|
|
183
|
+
- lib/archaeopteryx/mutator.rb
|
|
184
|
+
- lib/archaeopteryx/note.rb
|
|
185
|
+
- lib/archaeopteryx/notifier.rb
|
|
186
|
+
- lib/archaeopteryx/probability_generator.rb
|
|
187
|
+
- lib/archaeopteryx/registrable.rb
|
|
188
|
+
- lib/archaeopteryx/rythm_sequence.rb
|
|
189
|
+
- lib/archaeopteryx/track.rb
|
|
190
|
+
- lib/archaeopteryx/track_notifier.rb
|
|
191
|
+
- lib/archaeopteryx/version.rb
|
|
192
|
+
homepage: https://github.com/StupidCodeFactory/archaeopteryx
|
|
193
|
+
licenses:
|
|
194
|
+
- MIT
|
|
195
|
+
metadata: {}
|
|
196
|
+
rdoc_options: []
|
|
197
|
+
require_paths:
|
|
198
|
+
- lib
|
|
199
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
200
|
+
requirements:
|
|
201
|
+
- - ">="
|
|
202
|
+
- !ruby/object:Gem::Version
|
|
203
|
+
version: '3.2'
|
|
204
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
|
+
requirements:
|
|
206
|
+
- - ">="
|
|
207
|
+
- !ruby/object:Gem::Version
|
|
208
|
+
version: '0'
|
|
209
|
+
requirements: []
|
|
210
|
+
rubygems_version: 4.0.20
|
|
211
|
+
specification_version: 4
|
|
212
|
+
summary: Live coding MIDI in Ruby on top of rcoremidi
|
|
213
|
+
test_files: []
|