synthesizer 1.3.1 → 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6b5babc21ba2481f2cf0370c25c7442a4aa00301e32d478ebae892eeb626d3e
4
- data.tar.gz: 273962e36325e5c1fe5bdfa87e1cc2e2ef6a2300d2d2430621cd05aa851fb66b
3
+ metadata.gz: a7e6a05eadeadea829486c0c5012adcdcc4deb992aa9a99525c862eecc119bba
4
+ data.tar.gz: 2909ffbb25432754f768fba9b9d3b43e2b50960ebc705333241d9651ffb6c403
5
5
  SHA512:
6
- metadata.gz: 69bb9792278dc5f35f83e5ebd7c178aa03f5cf65d6eb5c8a7d3c909a7e829b8c5694f4f77ffd1a6cf783ad99c23f3d3cc357f78651c4d2e1376ab5ae6141c7cf
7
- data.tar.gz: a611b6b6a02ba4603edb0acd18a211f1dbc39325fe5908250ca10aebba0a4501f7c597ec1f49546c0b6ee646c6c6a0d4ff31243569f80c0475872d31d4585a95
6
+ metadata.gz: c75d87c2f40c55cc554db6c242b994b736550cde5f576f21b1b1d4617ac9e8ed42bbf29a0e5ba4cbaaa782398531fc5699edba1063ed0727ca08d3b4b0fa037b
7
+ data.tar.gz: 4aa19b84fa6b286597caadbe89ef5c7ed7c5063d79c31e3cc6084472d526dfa283ef867324c3f25358eca67d38c3d6947442f305af06e7987648bf30530e825b
@@ -9,7 +9,7 @@ module AudioStream
9
9
  @beat = beat.to_i
10
10
  @repeat = repeat
11
11
 
12
- @synth = Synthesizer::Poly.new(
12
+ @synth = Synthesizer::PolySynth.new(
13
13
  oscillators: Synthesizer::Oscillator.new(
14
14
  shape: Synthesizer::Shape::Sine,
15
15
  phase: 0,
@@ -22,7 +22,7 @@ module Synthesizer
22
22
  # @param sync [Integer] TODO not implemented
23
23
  # @param uni_num [Float] oscillator voicing number (1.0~16.0)
24
24
  # @param uni_detune [Float] oscillator voicing detune percent. 0.01=1cent 1.0=semitone (0.0~1.0)
25
- def initialize(shape: Shape::Sine, volume: 1.0, pan: 0.0, tune_semis: 0, tune_cents: 0, sym: 0, phase: nil, sync: 0, uni_num: 1.0, uni_detune: 0.0)
25
+ def initialize(shape: Shape::Sine, volume: 1.0, pan: 0.0, tune_semis: 0, tune_cents: 0, sym: 0, phase: nil, sync: 0, uni_num: 1.0, uni_detune: 0.01)
26
26
  @shape = shape
27
27
 
28
28
  @volume = ModulationValue.create(volume)
@@ -1,3 +1,3 @@
1
1
  module Synthesizer
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synthesizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshida Tetsuya
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-19 00:00:00.000000000 Z
11
+ date: 2019-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler