examples/raw_audio.rb in rubyonacid-0.1.2 vs examples/raw_audio.rb in rubyonacid-0.2.0
- old
+ new
@@ -1,11 +1,10 @@
require 'rubygems'
require 'rubyonacid/factories/meta'
require 'rubyonacid/factories/constant'
require 'rubyonacid/factories/flash'
require 'rubyonacid/factories/loop'
-require 'rubyonacid/factories/modulo'
require 'rubyonacid/factories/random'
require 'rubyonacid/factories/repeat'
require 'rubyonacid/factories/sine'
require 'rubyonacid/factories/skip'
@@ -29,10 +28,9 @@
)
factory_pool << RubyOnAcid::RepeatFactory.new(
RubyOnAcid::SineFactory.new(random_factory.within(:increment, -0.1, 0.1)),
random_factory.within(:interval, 2, 100)
)
- factory_pool << RubyOnAcid::ModuloFactory.new(RubyOnAcid::LoopFactory.new(0.00001))
factory_pool
end
#A skip factory, in charge of randomly resetting the meta factory.
@resetter = RubyOnAcid::SkipFactory.new(0.99995)