fiddle_fluidsynth 0.0.1 → 0.0.2
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 +4 -7
- data/examples/settings-each.rb +2 -1
- data/lib/fiddle_fluidsynth/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e281807883f44c4d3848a4fa05dbcb7818b8e31049375716f9ba20699ea3535
|
4
|
+
data.tar.gz: fe08cb501987ffb621be48ae9e61b3482a555e0da94cae60ef96e0d49eecf2c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da08ef7e9d88306c18f5696757ae7c431f6f8e6bcc2cefc5bca1dfea8fd69692fa875d2b04c13716ad5c399ba69b047272d2fdba620d0fe7a6efabfd35be2947
|
7
|
+
data.tar.gz: 420e87bd1eae4d43b83b7654186770afb511d5876c573cbe4a0247cd9ce309a3a5b2e3f673259912db00373fe220f390ab522f1490aadb5b3b559671c373f10b
|
data/README.md
CHANGED
@@ -17,7 +17,8 @@ As for the default soundfont, I recommend GeneralUser GS 2.0.2 (`GeneralUser-GS.
|
|
17
17
|
|
18
18
|
[FluidR3 GM](https://musical-artifacts.com/artifacts/738) soundfont by Frank Wen and Toby Smithe is also great. We can download them on [Musical Artifact](https://musical-artifacts.com/).
|
19
19
|
|
20
|
-
Other soundfont resources are listed in the FluidSynth User Manual Wiki, [SoundFont](https://github.com/FluidSynth/fluidsynth/wiki/SoundFont) chapter.
|
20
|
+
Other soundfont resources are listed in the [FluidSynth User Manual Wiki](https://github.com/FluidSynth/fluidsynth/wiki/UserManual), [SoundFont](https://github.com/FluidSynth/fluidsynth/wiki/SoundFont) chapter.
|
21
|
+
|
21
22
|
|
22
23
|
## Developed Environment
|
23
24
|
|
@@ -30,18 +31,16 @@ Developed/Tested environments are as follows:
|
|
30
31
|
|
31
32
|
## Installation
|
32
33
|
|
33
|
-
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
34
|
-
|
35
34
|
Install the gem and add to the application's Gemfile by executing:
|
36
35
|
|
37
36
|
```bash
|
38
|
-
bundle add
|
37
|
+
bundle add fiddle_fluidsynth
|
39
38
|
```
|
40
39
|
|
41
40
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
42
41
|
|
43
42
|
```bash
|
44
|
-
gem install
|
43
|
+
gem install fiddle_fluidsynth
|
45
44
|
```
|
46
45
|
|
47
46
|
|
@@ -62,8 +61,6 @@ The Structure of classes/modules is:
|
|
62
61
|
- (class/)instance methods are defined. These are almost one-to-one
|
63
62
|
mapping with C-functions, but little bit ruby-fied.
|
64
63
|
- utility methods for shortcuts.
|
65
|
-
- ~~`FiddleFluidSynth#object` (this might be removed...?)
|
66
|
-
the method for referencing to the instance hierarchy~~.
|
67
64
|
- FiddleFluidSynth::C (module) direct mapping for C-functions.
|
68
65
|
|
69
66
|
|
data/examples/settings-each.rb
CHANGED
@@ -30,7 +30,8 @@ fs.settings.each_setting{|data, name, type|
|
|
30
30
|
#
|
31
31
|
# $stderr.puts "{each_setting} data: #{data.null?}," +
|
32
32
|
# " name: #{name}, type: #{type}"
|
33
|
-
puts "item (#{item_cnt}): \"#{name}\", type: #{type}"
|
33
|
+
puts "item (#{item_cnt}): \"#{name}\", type: #{type}" +
|
34
|
+
", realtime?: #{fs.settings.is_realtime?(name)}"
|
34
35
|
|
35
36
|
#
|
36
37
|
mname = FiddleFluidSynth.settings_item_to_meth_name(name)
|
metadata
CHANGED
@@ -1,14 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fiddle_fluidsynth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YAMAMOTO, Masayuki
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
-
dependencies:
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: ffi
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.17'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '1.17'
|
12
26
|
description: program/play (MIDI) music from your code.
|
13
27
|
email:
|
14
28
|
- martin.route66.blues+github@gmail.com
|