Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed TGrains ar inputs, mini version bump

  • Loading branch information...
commit 47fb03f738870b498e02a165f6e333ae3c53d418 1 parent ec83dff
@maca authored
View
2  lib/scruby.rb
@@ -25,7 +25,7 @@
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
module Scruby
- VERSION = '0.2.6.2'
+ VERSION = '0.2.6.3'
end
require "scruby/core_ext/object"
View
4 lib/scruby/ugens/buffer_read_write.rb
@@ -24,8 +24,8 @@ def initialize rate, channels, *inputs
end
class << self
- def ar channels, trigger = 0, bufnum = 0, rate = 1, centerPos = 0
- new :audio, channels, trigger, bufnum, rate, centerPos
+ def ar channels, trigger = 0, bufnum = 0, rate = 1, center_pos = 0, dur = 0.1, pan = 0, amp = 0.1, interp = 4
+ new :audio, channels, trigger, bufnum, rate, center_pos, dur, pan, amp, interp
end
named_args_for :ar
end
View
2  scruby.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{scruby}
- s.version = "0.2.6.2"
+ s.version = "0.2.6.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Macario Ortega"]
View
4 spec/buffer_read_write_spec.rb
@@ -97,7 +97,7 @@ class << self; public :new; end
before do
@class = TGrains
@channels = 2
- @inputs = 1.0, 1.0, 1.0, 1.0
+ @inputs = 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
@params = @channels, *@inputs
end
@@ -112,7 +112,7 @@ class << self; public :new; end
before do
@class = TGrains
@channels = 4
- @inputs = 1.0, 1.0, 1.0, 1.0
+ @inputs = 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
@params = @channels, *@inputs
end

0 comments on commit 47fb03f

Please sign in to comment.
Something went wrong with that request. Please try again.