mb-surround 0.0.0.usegit
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +25 -0
- data/Gemfile.lock +117 -0
- data/README.md +45 -0
- data/Rakefile +2 -0
- data/bin/console +7 -0
- data/lib/mb-surround.rb +1 -0
- data/lib/mb/surround.rb +7 -0
- data/lib/mb/surround/version.rb +5 -0
- data/mb-surround.gemspec +37 -0
- metadata +141 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0ecdab09d87031fc1291b7051a5db8db95b2faa9b0eec235650f938f06a56d4c
|
4
|
+
data.tar.gz: be9e3bd217cd1449a97fc06f375d2d7af7f6e615c9e2da9299e0758902faabec
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 543463c0815d97ce6f6f84a04b6b85a6b29420dc5bff53ac96e1c59944071904e62103a8aff43ebd575f265443eba25da0e29b8d2a7f4d261664cef0ff871af1
|
7
|
+
data.tar.gz: e87ef5b80462b2988e21e1b631d8bd196e020d31fd797f49238c6d95982363706fdc1e626f71856578a29ddc8a459a15697b6cc9b2d7910542d680fe43c65ca3
|
data/.gitignore
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
mb-surround
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.3
|
data/Gemfile
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
source 'https://rubygems.org'
|
3
|
+
|
4
|
+
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
5
|
+
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
gem 'rake', '~> 13.0'
|
9
|
+
|
10
|
+
# Interactive command line
|
11
|
+
gem 'pry'
|
12
|
+
gem 'pry-byebug'
|
13
|
+
gem 'pry-doc'
|
14
|
+
|
15
|
+
# Testing
|
16
|
+
gem 'rspec'
|
17
|
+
|
18
|
+
# Dependencies on sibling projects
|
19
|
+
gem 'mb-sound', '>= 0.1.3.usegit', github: 'mike-bourgeous/mb-sound.git'
|
20
|
+
gem 'mb-geometry', '>= 0.0.1.usegit', github: 'mike-bourgeous/mb-geometry.git'
|
21
|
+
gem 'mb-math', '>= 0.0.1.usegit', github: 'mike-bourgeous/mb-math.git'
|
22
|
+
gem 'mb-util', '>= 0.0.1.usegit', github: 'mike-bourgeous/mb-util.git'
|
23
|
+
|
24
|
+
# Comment this out if you don't want to use Jack via FFI or don't want to install FFI.
|
25
|
+
gem 'mb-sound-jackffi', '>= 0.0.15.usegit', github: 'mike-bourgeous/mb-sound-jackffi.git'
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/mike-bourgeous/mb-geometry.git
|
3
|
+
revision: 550629cacb118f7c480e8a0646f8a4ce410ff8ad
|
4
|
+
specs:
|
5
|
+
mb-geometry (0.0.1.usegit)
|
6
|
+
mb-math
|
7
|
+
mb-util
|
8
|
+
rubyvor (= 0.1.4)
|
9
|
+
|
10
|
+
GIT
|
11
|
+
remote: https://github.com/mike-bourgeous/mb-math.git
|
12
|
+
revision: 4dcea43fc09b9446beb17b310347fada545221af
|
13
|
+
specs:
|
14
|
+
mb-math (0.0.1.usegit)
|
15
|
+
cmath (~> 1.0.0)
|
16
|
+
numo-narray (~> 0.9.1)
|
17
|
+
|
18
|
+
GIT
|
19
|
+
remote: https://github.com/mike-bourgeous/mb-sound-jackffi.git
|
20
|
+
revision: 30381aec4e8e1ffd0ed5c2dc968a190911f497ad
|
21
|
+
specs:
|
22
|
+
mb-sound-jackffi (0.0.15.usegit)
|
23
|
+
ffi (~> 1.13.0)
|
24
|
+
numo-narray (~> 0.9.1)
|
25
|
+
|
26
|
+
GIT
|
27
|
+
remote: https://github.com/mike-bourgeous/mb-sound.git
|
28
|
+
revision: 8b9b63f00412b09134919251e60bbcceec88a1ae
|
29
|
+
specs:
|
30
|
+
mb-sound (0.2.0.usegit)
|
31
|
+
cmath (~> 1.0.0)
|
32
|
+
mb-math
|
33
|
+
mb-util
|
34
|
+
midi-nibbler (~> 0.2.4)
|
35
|
+
numo-narray (~> 0.9.1.8)
|
36
|
+
numo-pocketfft (~> 0.2.2)
|
37
|
+
|
38
|
+
GIT
|
39
|
+
remote: https://github.com/mike-bourgeous/mb-util.git
|
40
|
+
revision: 903e28d6cade1063bec7e1a754367150bbca7d15
|
41
|
+
specs:
|
42
|
+
mb-util (0.0.1.usegit)
|
43
|
+
|
44
|
+
PATH
|
45
|
+
remote: .
|
46
|
+
specs:
|
47
|
+
mb-surround (0.0.0.usegit)
|
48
|
+
cmath
|
49
|
+
mb-geometry
|
50
|
+
mb-math
|
51
|
+
mb-sound
|
52
|
+
mb-util
|
53
|
+
numo-narray
|
54
|
+
|
55
|
+
GEM
|
56
|
+
remote: https://rubygems.org/
|
57
|
+
specs:
|
58
|
+
GeoRuby (1.3.4)
|
59
|
+
byebug (11.1.3)
|
60
|
+
cmath (1.0.0)
|
61
|
+
coderay (1.1.3)
|
62
|
+
diff-lcs (1.4.4)
|
63
|
+
ffi (1.13.1)
|
64
|
+
libxml-ruby (3.2.1)
|
65
|
+
method_source (1.0.0)
|
66
|
+
midi-message (0.4.9)
|
67
|
+
midi-nibbler (0.2.4)
|
68
|
+
midi-message (~> 0.4, >= 0.4.4)
|
69
|
+
numo-narray (0.9.1.9)
|
70
|
+
numo-pocketfft (0.2.2)
|
71
|
+
numo-narray (~> 0.9.1)
|
72
|
+
pry (0.13.1)
|
73
|
+
coderay (~> 1.1)
|
74
|
+
method_source (~> 1.0)
|
75
|
+
pry-byebug (3.9.0)
|
76
|
+
byebug (~> 11.0)
|
77
|
+
pry (~> 0.13.0)
|
78
|
+
pry-doc (1.1.0)
|
79
|
+
pry (~> 0.11)
|
80
|
+
yard (~> 0.9.11)
|
81
|
+
rake (13.0.3)
|
82
|
+
rspec (3.10.0)
|
83
|
+
rspec-core (~> 3.10.0)
|
84
|
+
rspec-expectations (~> 3.10.0)
|
85
|
+
rspec-mocks (~> 3.10.0)
|
86
|
+
rspec-core (3.10.1)
|
87
|
+
rspec-support (~> 3.10.0)
|
88
|
+
rspec-expectations (3.10.1)
|
89
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
90
|
+
rspec-support (~> 3.10.0)
|
91
|
+
rspec-mocks (3.10.2)
|
92
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
93
|
+
rspec-support (~> 3.10.0)
|
94
|
+
rspec-support (3.10.2)
|
95
|
+
rubyvor (0.1.4)
|
96
|
+
GeoRuby (>= 1.3.0)
|
97
|
+
libxml-ruby (>= 0.9.9)
|
98
|
+
yard (0.9.26)
|
99
|
+
|
100
|
+
PLATFORMS
|
101
|
+
ruby
|
102
|
+
|
103
|
+
DEPENDENCIES
|
104
|
+
mb-geometry (>= 0.0.1.usegit)!
|
105
|
+
mb-math (>= 0.0.1.usegit)!
|
106
|
+
mb-sound (>= 0.1.3.usegit)!
|
107
|
+
mb-sound-jackffi (>= 0.0.15.usegit)!
|
108
|
+
mb-surround!
|
109
|
+
mb-util (>= 0.0.1.usegit)!
|
110
|
+
pry
|
111
|
+
pry-byebug
|
112
|
+
pry-doc
|
113
|
+
rake (~> 13.0)
|
114
|
+
rspec
|
115
|
+
|
116
|
+
BUNDLED WITH
|
117
|
+
2.1.4
|
data/README.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# mb-surround
|
2
|
+
|
3
|
+
Ruby code for encoding, decoding, and processing positional audio in various
|
4
|
+
forms. This is a companion library to an [educational video series I'm making
|
5
|
+
about sound][0].
|
6
|
+
|
7
|
+
This relies on [mb-sound][1] and [mb-geometry][2], and you might also be
|
8
|
+
interested in [mb-sound-jackffi][3], [mb-math][4], and [mb-util][5].
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Follow the installation instructions for [mb-sound][1], then repeat for this
|
13
|
+
repo.
|
14
|
+
|
15
|
+
If you would like to use this code as a Gem, add this to your Gemfile:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
# your-project/Gemfile
|
19
|
+
gem 'mb-surround', git: 'https://github.com/mike-bourgeous/mb-surround.git'
|
20
|
+
|
21
|
+
# Also specify Git location for other mb-* dependencies
|
22
|
+
gem 'mb-sound', git: 'https://github.com/mike-bourgeous/mb-sound.git'
|
23
|
+
gem 'mb-geometry', git: 'https://github.com/mike-bourgeous/mb-geometry.git'
|
24
|
+
gem 'mb-util', git: 'https://github.com/mike-bourgeous/mb-util.git'
|
25
|
+
gem 'mb-math', git: 'https://github.com/mike-bourgeous/mb-math.git'
|
26
|
+
```
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
TODO: Write usage instructions here
|
31
|
+
|
32
|
+
## Contributing
|
33
|
+
|
34
|
+
Since this library is meant to accompany a video series, most new features will
|
35
|
+
be targeted at what's covered in episodes as they are released. If you think
|
36
|
+
of something cool to add that relates to the video series, then please open a
|
37
|
+
pull request.
|
38
|
+
|
39
|
+
|
40
|
+
[0]: https://www.youtube.com/playlist?list=PLpRqC8LaADXnwve3e8gI239eDNRO3Nhya
|
41
|
+
[1]: https://github.com/mike-bourgeous/mb-sound
|
42
|
+
[2]: https://github.com/mike-bourgeous/mb-geometry
|
43
|
+
[3]: https://github.com/mike-bourgeous/mb-sound-jackffi
|
44
|
+
[4]: https://github.com/mike-bourgeous/mb-math
|
45
|
+
[5]: https://github.com/mike-bourgeous/mb-util
|
data/Rakefile
ADDED
data/bin/console
ADDED
data/lib/mb-surround.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require_relative 'mb/surround'
|
data/lib/mb/surround.rb
ADDED
data/mb-surround.gemspec
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
require_relative 'lib/mb/surround/version'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "mb-surround"
|
5
|
+
spec.version = MB::Surround::VERSION
|
6
|
+
spec.authors = ["Mike Bourgeous"]
|
7
|
+
spec.email = ["mike@mikebourgeous.com"]
|
8
|
+
|
9
|
+
spec.summary = %q{Ruby code for encoding, decoding, and processing positional audio.}
|
10
|
+
spec.description = %q{
|
11
|
+
Ruby code for encoding, decoding, and processing positional audio. This
|
12
|
+
code accompanies my educational video series about sound.
|
13
|
+
}
|
14
|
+
spec.homepage = 'https://github.com/mike-bourgeous/mb-surround'
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.1")
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
#spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
24
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sounds|tmp|coverage)/}) }
|
25
|
+
end
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_runtime_dependency 'cmath'
|
31
|
+
spec.add_runtime_dependency 'numo-narray'
|
32
|
+
|
33
|
+
spec.add_runtime_dependency 'mb-sound'
|
34
|
+
spec.add_runtime_dependency 'mb-geometry'
|
35
|
+
spec.add_runtime_dependency 'mb-math'
|
36
|
+
spec.add_runtime_dependency 'mb-util'
|
37
|
+
end
|
metadata
ADDED
@@ -0,0 +1,141 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mb-surround
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0.usegit
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mike Bourgeous
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-06-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: cmath
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: numo-narray
|
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
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mb-sound
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mb-geometry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mb-math
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mb-util
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: "\n Ruby code for encoding, decoding, and processing positional audio.
|
98
|
+
\ This\n code accompanies my educational video series about sound.\n "
|
99
|
+
email:
|
100
|
+
- mike@mikebourgeous.com
|
101
|
+
executables: []
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- ".ruby-gemset"
|
107
|
+
- ".ruby-version"
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
110
|
+
- README.md
|
111
|
+
- Rakefile
|
112
|
+
- bin/console
|
113
|
+
- lib/mb-surround.rb
|
114
|
+
- lib/mb/surround.rb
|
115
|
+
- lib/mb/surround/version.rb
|
116
|
+
- mb-surround.gemspec
|
117
|
+
homepage: https://github.com/mike-bourgeous/mb-surround
|
118
|
+
licenses: []
|
119
|
+
metadata:
|
120
|
+
homepage_uri: https://github.com/mike-bourgeous/mb-surround
|
121
|
+
source_code_uri: https://github.com/mike-bourgeous/mb-surround
|
122
|
+
post_install_message:
|
123
|
+
rdoc_options: []
|
124
|
+
require_paths:
|
125
|
+
- lib
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 2.7.1
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 1.3.1
|
136
|
+
requirements: []
|
137
|
+
rubygems_version: 3.1.6
|
138
|
+
signing_key:
|
139
|
+
specification_version: 4
|
140
|
+
summary: Ruby code for encoding, decoding, and processing positional audio.
|
141
|
+
test_files: []
|