wavegraph 0.1.1-arm64-darwin → 0.1.2-arm64-darwin
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +22 -15
- data/lib/wavegraph/native/libwavegraph.dylib +0 -0
- data/lib/wavegraph/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3dd62dd53b02f06e4d271f4c03e2618bc9df71d65a8bd510be35689010639a30
|
|
4
|
+
data.tar.gz: 99483905c5fc96d6e4d0ccaa857afb22ed4755e01157de8b975b3da2da9f32b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8379457e8aaa3f3a6d1bbcf2a0d2ca2e90371f7876f169b4a3beb490250c62f5cf03694a81f23e90ddefa2b0ac0fc888daa15ff3049f8b40d671ec0c7385d5f0
|
|
7
|
+
data.tar.gz: 4786c009290065c0868c19b947e524cef509060331a1977abdca4a3e1b18a1dfbb8a27153cdf576a3f45ebca2c04ec5c2e878e24b49bb4fe45197919647ce0a8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2 (2026-12-05)
|
|
4
|
+
|
|
5
|
+
- Ship native gems for `x86_64-linux-gnu` and `aarch64-linux-gnu`. The
|
|
6
|
+
Ubuntu 22.04 builds bundle the WaveGraph 0.1.3 host and use the system
|
|
7
|
+
ALSA library (`libasound.so.2`) for playback.
|
|
8
|
+
- Honor `CARGO_BUILD_TARGET` when building a platform gem from source.
|
|
9
|
+
|
|
3
10
|
## 0.1.1 (2026-12-05)
|
|
4
11
|
|
|
5
12
|
- Introduce wavegraph.rb with examples for embedding the factory rack and
|
data/README.md
CHANGED
|
@@ -11,9 +11,15 @@ notes on the audio sample clock.
|
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
Use Ruby 3.1 or later. Each platform gem includes the native engine.
|
|
15
|
+
Check the [published versions][versions] for your platform.
|
|
16
|
+
|
|
17
|
+
| Gem platform | Runtime |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| `arm64-darwin` | Apple silicon, macOS 14.2+ (CoreAudio) |
|
|
20
|
+
| `x86_64-linux-gnu`, `aarch64-linux-gnu` | glibc Linux (Ubuntu 22.04 baseline), `libasound.so.2` (ALSA), RubyGems 3.3.22+ |
|
|
21
|
+
|
|
22
|
+
In an application with a Gemfile, add the gem with Bundler.
|
|
17
23
|
|
|
18
24
|
```sh
|
|
19
25
|
bundle add wavegraph
|
|
@@ -25,7 +31,7 @@ For a standalone Ruby script, install it directly.
|
|
|
25
31
|
gem install wavegraph
|
|
26
32
|
```
|
|
27
33
|
|
|
28
|
-
On an Intel Mac or 64
|
|
34
|
+
On an Intel Mac or on musl Linux (x86-64 or AArch64), [build from the checkout][build].
|
|
29
35
|
|
|
30
36
|
## Play the factory rack
|
|
31
37
|
|
|
@@ -135,9 +141,10 @@ gem install ./pkg/wavegraph-*.gem
|
|
|
135
141
|
ruby examples/acid.rb
|
|
136
142
|
```
|
|
137
143
|
|
|
138
|
-
`rake build` packages the native library for the build machine.
|
|
139
|
-
|
|
140
|
-
|
|
144
|
+
`rake build` packages the native library for the build machine. To cross-compile,
|
|
145
|
+
set `CARGO_BUILD_TARGET` to the Rust target triple and configure its linker in
|
|
146
|
+
Cargo. For Linux, point `pkg-config` at the target's ALSA development files.
|
|
147
|
+
The build environment determines the libc and minimum symbol versions.
|
|
141
148
|
|
|
142
149
|
## Develop against a local host build
|
|
143
150
|
|
|
@@ -160,17 +167,17 @@ application that supplies its own native library, run
|
|
|
160
167
|
## Publish to RubyGems
|
|
161
168
|
|
|
162
169
|
After merging a gem version bump, push a new `wavegraph-ruby/v<VERSION>` tag.
|
|
163
|
-
The [release workflow][publish] builds
|
|
164
|
-
runs the headless tests
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
170
|
+
The [release workflow][publish] builds each platform gem on its native runner,
|
|
171
|
+
installs it and runs the headless tests against the installed copy. Once all
|
|
172
|
+
platforms pass, it publishes each tested gem through the `rubygems` environment.
|
|
173
|
+
RubyGems 4.1 attempts a Sigstore attestation at push time. Choose **Run workflow**
|
|
174
|
+
on `main` for a dry run that leaves one downloadable artifact per platform.
|
|
168
175
|
|
|
169
176
|
The release task verifies the crates.io archive for `wavegraph` 0.1.3 against
|
|
170
177
|
its SHA-256 checksum, uses the archive's `Cargo.lock`, and packages the native
|
|
171
|
-
dependency notices. To reproduce the build
|
|
172
|
-
`
|
|
173
|
-
The gem is written to `pkg/release/`.
|
|
178
|
+
dependency notices. To reproduce the build, run `bundle exec rake build:release`
|
|
179
|
+
in `wavegraph-ruby/` on Ubuntu 22.04 or set `MACOSX_DEPLOYMENT_TARGET=14.2`
|
|
180
|
+
when running it on macOS. The gem is written to `pkg/release/`.
|
|
174
181
|
|
|
175
182
|
## License
|
|
176
183
|
|
|
Binary file
|
data/lib/wavegraph/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wavegraph
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: arm64-darwin
|
|
6
6
|
authors:
|
|
7
7
|
- WaveGraph Developers
|
|
@@ -29,8 +29,9 @@ description: |
|
|
|
29
29
|
TR-808 and a TR-909, or wire up your own instruments in a .wg patch.
|
|
30
30
|
|
|
31
31
|
Send MIDI notes, sweep a filter and start or stop the sequencer from Ruby.
|
|
32
|
-
The native engine times the notes on its audio sample clock.
|
|
33
|
-
|
|
32
|
+
The native engine times the notes on its audio sample clock. Platform
|
|
33
|
+
gems bundle the engine for CoreAudio on macOS, ALSA on Linux, or
|
|
34
|
+
headless playback on either system.
|
|
34
35
|
executables: []
|
|
35
36
|
extensions: []
|
|
36
37
|
extra_rdoc_files:
|
|
@@ -151,9 +152,9 @@ licenses:
|
|
|
151
152
|
- MIT
|
|
152
153
|
metadata:
|
|
153
154
|
bug_tracker_uri: https://github.com/fm1-rust/wavegraph/issues
|
|
154
|
-
documentation_uri: https://github.com/fm1-rust/wavegraph/blob/wavegraph-ruby/v0.1.
|
|
155
|
-
source_code_uri: https://github.com/fm1-rust/wavegraph/tree/wavegraph-ruby/v0.1.
|
|
156
|
-
changelog_uri: https://github.com/fm1-rust/wavegraph/blob/wavegraph-ruby/v0.1.
|
|
155
|
+
documentation_uri: https://github.com/fm1-rust/wavegraph/blob/wavegraph-ruby/v0.1.2/wavegraph-ruby/README.md#play-a-bass-line
|
|
156
|
+
source_code_uri: https://github.com/fm1-rust/wavegraph/tree/wavegraph-ruby/v0.1.2/wavegraph-ruby
|
|
157
|
+
changelog_uri: https://github.com/fm1-rust/wavegraph/blob/wavegraph-ruby/v0.1.2/wavegraph-ruby/CHANGELOG.md
|
|
157
158
|
rdoc_options:
|
|
158
159
|
- "--main"
|
|
159
160
|
- README.md
|