synthdef 0.0.3 → 0.0.4
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/README.md +20 -0
- data/bin/synthdef +5 -0
- data/lib/synthdef/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ec5c7f7405fbd5da62bed4b75eb323c50e68561
|
|
4
|
+
data.tar.gz: 513086de792c8c371b912a3e0fb00ffff0280840
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fabbd69d4e25c238f522f6eebb9ea075fda74f6ec3031779c802aee08f568f8151e47f52641523b7c53c27427efb241ca3a09e2de1bb26967202eaf0a16e73b9
|
|
7
|
+
data.tar.gz: 3ff9d9c6a2f850b7084b00ee19dcb3eb188b37027c4259d540a24679789f046a6bd3d2c317b97f482742f6bf1864993d7eb0fc5a87ef52d009902d08db2e223f
|
data/README.md
CHANGED
|
@@ -38,6 +38,26 @@ Or install it yourself as:
|
|
|
38
38
|
|
|
39
39
|
$ gem install synthdef
|
|
40
40
|
|
|
41
|
+
## Command line usage
|
|
42
|
+
|
|
43
|
+
The gem ships with a command line tool to print the contents of a synthdef file as json
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
$ gem install synthdef
|
|
47
|
+
$ synthdef /path/to/synthdefs/foo.scsyndef
|
|
48
|
+
=> {
|
|
49
|
+
"file_type_id": "SCgf",
|
|
50
|
+
"file_version": 1,
|
|
51
|
+
"no_of_synthdefs": 1,
|
|
52
|
+
"synthdefs": [
|
|
53
|
+
{
|
|
54
|
+
"name": "sonic-pi-pretty_bell",
|
|
55
|
+
"no_of_constants": 15,
|
|
56
|
+
"constants": [
|
|
57
|
+
0.0,
|
|
58
|
+
...
|
|
59
|
+
```
|
|
60
|
+
|
|
41
61
|
## Usage
|
|
42
62
|
|
|
43
63
|
Take a binary scsyndef file (you can find an example in `spec/data/recorder.scsyndef`)
|
data/bin/synthdef
ADDED
data/lib/synthdef/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: synthdef
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Xavier Riley
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bindata
|
|
@@ -139,7 +139,8 @@ dependencies:
|
|
|
139
139
|
description: Use the power of Ruby to convert, edit and save synthdefs for SuperCollider
|
|
140
140
|
email:
|
|
141
141
|
- xavriley@hotmail.com
|
|
142
|
-
executables:
|
|
142
|
+
executables:
|
|
143
|
+
- synthdef
|
|
143
144
|
extensions: []
|
|
144
145
|
extra_rdoc_files: []
|
|
145
146
|
files:
|
|
@@ -149,6 +150,7 @@ files:
|
|
|
149
150
|
- LICENSE.txt
|
|
150
151
|
- README.md
|
|
151
152
|
- Rakefile
|
|
153
|
+
- bin/synthdef
|
|
152
154
|
- lib/synthdef.rb
|
|
153
155
|
- lib/synthdef/version.rb
|
|
154
156
|
- spec/data/hoover.scsyndef
|