Permalink
Browse files

gem version bump

  • Loading branch information...
1 parent 74a8e8e commit 9ce6e4fa3959ffa69e3004c1cb60b8bcfd792cb0 Macario committed Aug 18, 2009
Showing with 39 additions and 388 deletions.
  1. +6 −0 Manifest.txt
  2. +2 −2 Rakefile
  3. +1 −1 lib/scruby.rb
  4. +1 −2 lib/scruby/ugens/buffer_read_write.rb
  5. +0 −167 lib/scruby/ugens/pan.rb
  6. +4 −4 scruby.gemspec
  7. +0 −204 spec/pan_spec.rb
  8. +25 −8 test.live.rb
View
@@ -33,19 +33,24 @@ lib/scruby/node.rb
lib/scruby/server.rb
lib/scruby/synth.rb
lib/scruby/synthdef.rb
+lib/scruby/ticker.rb
+lib/scruby/ugens/buffer_read_write.rb
lib/scruby/ugens/env_gen.rb
lib/scruby/ugens/in_out.rb
lib/scruby/ugens/multi_out_ugens.rb
lib/scruby/ugens/operation_indices.yaml
lib/scruby/ugens/operation_ugens.rb
+lib/scruby/ugens/panner.rb
lib/scruby/ugens/ugen.rb
lib/scruby/ugens/ugen_defs.yaml
lib/scruby/ugens/ugen_operations.rb
lib/scruby/ugens/ugens.rb
+notas.markdown
script/console
script/destroy
script/generate
scruby.gemspec
+spec/buffer_read_write_spec.rb
spec/buffer_spec.rb
spec/bus_spec.rb
spec/core_ext/core_ext_spec.rb
@@ -60,6 +65,7 @@ spec/integration_spec.rb
spec/multiout_ugen_spec.rb
spec/node_spec.rb
spec/operation_ugens_spec.rb
+spec/panner_spec.rb
spec/server.rb
spec/server_spec.rb
spec/synth_spec.rb
View
@@ -12,17 +12,17 @@ Hoe.plugin :newgem
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.spec 'scruby' do
self.developer 'Macario Ortega', 'macarui@gmail.com'
+ self.summary = %q{SuperCollider client for Ruby}
self.rubyforge_name = self.name
self.extra_deps = [
['maca-arguments','>= 0.6'],
['maca-rosc', '>= 0.0.1']
]
-
end
require 'newgem/tasks'
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
# remove_task :default
-# task :default => [:spec, :features]
+task :default => [:spec]
View
@@ -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.5'
+ VERSION = '0.2.6'
end
require "scruby/core_ext/object"
@@ -88,8 +88,7 @@ def ar input, bufnum = 0
class Tap < Ugen
class << self
def ar bufnum = 0, num_channels = 1, delay_time = 0.2
- n = SampleRate.ir.neg * 3
- PlayBuf.ar num_channels, bufnum, 1, 0, n, 1
+ PlayBuf.ar num_channels, bufnum, 1, 0, SampleRate.ir.neg * 3, 1
end
named_args_for :ar
end
View
@@ -1,167 +0,0 @@
-module Scruby
- module Ugens
-
- class Panner < MultiOutUgen
- def initialize rate, inputs, channels
- super rate, *(0...channels).map{ |i| OutputProxy.new(rate, self, i) }
- @inputs = inputs
- inputs.each do |i|
- raise ArgumentError.new("input #{ i } has not audio rate.") unless i.rate == :audio if Ugen === i
- end if rate == :audio
- end
- end
-
- class Pan2 < Panner
- def initialize rate, *inputs
- super rate, inputs, 2
- end
-
- class << self
- def ar input, pos = 0.0, level = 1.0
- new :audio, input, pos, level
- end
-
- def kr input, pos = 0.0, level = 1.0
- new :control, input, pos, level
- end
- named_args_for :ar, :kr
- end
- end
-
- class LinPan2 < Pan2; end
-
- class Pan4 < Panner
- def initialize rate, *inputs
- super rate, inputs, 4
- end
-
- class << self
- def ar input, xpos = 0.0, ypos = 0.0, level = 1.0
- new :audio, input, xpos, ypos, level
- end
-
- def kr input, xpos = 0.0, ypos = 0.0, level = 1.0
- new :control, input, xpos, ypos, level
- end
-
- named_args_for :ar, :kr
- end
- end
-
- class Balance2 < Panner
- def initialize rate, *inputs
- super rate, inputs, 2
- end
-
- class << self
- def ar left, right, pos = 0.0, level = 1.0
- new :audio, left, right, pos, level
- end
-
- def kr left, right, pos = 0.0, level = 1.0
- new :control, left, right, pos, level
- end
- named_args_for :ar, :kr
- end
- end
-
- class Rotate2 < Panner
- def initialize rate, *inputs
- super rate, inputs, 2
- end
-
- class << self
- def ar x, y, pos = 0.0
- new :audio, x, y, pos
- end
-
- def kr x, y, pos = 0.0
- new :control, x, y, pos
- end
- end
- end
-
- class PanB < Panner
- def initialize rate, *inputs
- super rate, inputs, 4
- end
-
- class << self
- def ar input, azimuth = 0, elevation = 0, gain = 1
- new :audio, input, azimuth, elevation, gain
- end
-
- def kr input, azimuth = 0, elevation = 0, gain = 1
- new :control, input, azimuth, elevation, gain
- end
- named_args_for :ar, :kr
- end
- end
-
- class PanB2 < Panner
- def initialize rate, *inputs
- super rate, inputs, 3
- end
-
- class << self
- def ar input, azimuth = 0, gain = 1
- new :audio, input, azimuth, gain
- end
-
- def kr input, azimuth = 0, gain = 1
- new :control, input, azimuth, gain
- end
- named_args_for :ar, :kr
- end
- end
-
- class BiPanB2 < Panner
- def initialize rate, *inputs
- super rate, inputs, 3
- end
-
- class << self
- def ar a, b, azimuth, gain = 1
- new :audio, a, b, azimuth, gain
- end
-
- def kr a, b, azimuth, gain = 1
- new :control, a, b, azimuth, gain
- end
- end
- end
-
- class DecodeB2 < Panner
- def initialize rate, num_channels, *inputs
- super rate, inputs, num_channels
- end
-
- class << self
- def ar num_channels, w, x, y, orientation = 0.5
- new :audio, num_channels, w, x, y, orientation
- end
-
- def kr num_channels, w, x, y, orientation = 0.5
- new :control, num_channels, w, x, y, orientation
- end
- end
- end
-
- class PanAz < Panner
- def initialize rate, num_channels, *inputs
- super rate, inputs, num_channels
- end
-
- class << self
- def ar num_channels, input, pos = 0.0, level = 1.0, width = 2.0, orientation = 0.5
- new :audio, num_channels, input, pos, level, width, orientation
- end
-
- def kr num_channels, input, pos = 0.0, level = 1.0, width = 2.0, orientation = 0.5
- new :control, num_channels, input, pos, level, width, orientation
- end
- end
- end
-
- end
-end
View
@@ -2,24 +2,24 @@
Gem::Specification.new do |s|
s.name = %q{scruby}
- s.version = "0.2.2"
+ s.version = "0.2.6"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Macario Ortega"]
- s.date = %q{2009-08-07}
+ s.date = %q{2009-08-18}
s.default_executable = %q{livecode.rb}
s.description = %q{}
s.email = ["macarui@gmail.com"]
s.executables = ["livecode.rb"]
s.extra_rdoc_files = ["History.txt", "Manifest.txt"]
- s.files = ["History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "TODO.markdown", "bin/livecode.rb", "examples/example.live.rb", "extras/Ruby Live.tmbundle/Commands/Run selection:line in session.tmCommand", "extras/Ruby Live.tmbundle/Commands/Run selection:scope in session.tmCommand", "extras/Ruby Live.tmbundle/Commands/Run update blocks in session.tmCommand", "extras/Ruby Live.tmbundle/Commands/Start Session.tmCommand", "extras/Ruby Live.tmbundle/Commands/Stop server.tmCommand", "extras/Ruby Live.tmbundle/Support/lib/live_session.rb", "extras/Ruby Live.tmbundle/Syntaxes/Ruby Live.tmLanguage", "extras/Ruby Live.tmbundle/info.plist", "lib/live/session.rb", "lib/scruby.rb", "lib/scruby/buffer.rb", "lib/scruby/bus.rb", "lib/scruby/control_name.rb", "lib/scruby/core_ext/array.rb", "lib/scruby/core_ext/delegator_array.rb", "lib/scruby/core_ext/fixnum.rb", "lib/scruby/core_ext/numeric.rb", "lib/scruby/core_ext/object.rb", "lib/scruby/core_ext/proc.rb", "lib/scruby/core_ext/string.rb", "lib/scruby/core_ext/symbol.rb", "lib/scruby/core_ext/typed_array.rb", "lib/scruby/env.rb", "lib/scruby/group.rb", "lib/scruby/node.rb", "lib/scruby/server.rb", "lib/scruby/synth.rb", "lib/scruby/synthdef.rb", "lib/scruby/ugens/env_gen.rb", "lib/scruby/ugens/in_out.rb", "lib/scruby/ugens/multi_out_ugens.rb", "lib/scruby/ugens/operation_indices.yaml", "lib/scruby/ugens/operation_ugens.rb", "lib/scruby/ugens/ugen.rb", "lib/scruby/ugens/ugen_defs.yaml", "lib/scruby/ugens/ugen_operations.rb", "lib/scruby/ugens/ugens.rb", "script/console", "script/destroy", "script/generate", "scruby.gemspec", "spec/buffer_spec.rb", "spec/bus_spec.rb", "spec/core_ext/core_ext_spec.rb", "spec/core_ext/delegator_array_spec.rb", "spec/core_ext/typed_array_spec.rb", "spec/env_gen_spec.rb", "spec/env_spec.rb", "spec/group_spec.rb", "spec/helper.rb", "spec/in_out_spec.rb", "spec/integration_spec.rb", "spec/multiout_ugen_spec.rb", "spec/node_spec.rb", "spec/operation_ugens_spec.rb", "spec/server.rb", "spec/server_spec.rb", "spec/synth_spec.rb", "spec/synthdef_spec.rb", "spec/ugen_operations_spec.rb", "spec/ugen_spec.rb", "spec/ugens_spec.rb", "test.live.rb"]
+ s.files = ["History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "TODO.markdown", "bin/livecode.rb", "examples/example.live.rb", "extras/Ruby Live.tmbundle/Commands/Run selection:line in session.tmCommand", "extras/Ruby Live.tmbundle/Commands/Run selection:scope in session.tmCommand", "extras/Ruby Live.tmbundle/Commands/Run update blocks in session.tmCommand", "extras/Ruby Live.tmbundle/Commands/Start Session.tmCommand", "extras/Ruby Live.tmbundle/Commands/Stop server.tmCommand", "extras/Ruby Live.tmbundle/Support/lib/live_session.rb", "extras/Ruby Live.tmbundle/Syntaxes/Ruby Live.tmLanguage", "extras/Ruby Live.tmbundle/info.plist", "lib/live/session.rb", "lib/scruby.rb", "lib/scruby/buffer.rb", "lib/scruby/bus.rb", "lib/scruby/control_name.rb", "lib/scruby/core_ext/array.rb", "lib/scruby/core_ext/delegator_array.rb", "lib/scruby/core_ext/fixnum.rb", "lib/scruby/core_ext/numeric.rb", "lib/scruby/core_ext/object.rb", "lib/scruby/core_ext/proc.rb", "lib/scruby/core_ext/string.rb", "lib/scruby/core_ext/symbol.rb", "lib/scruby/core_ext/typed_array.rb", "lib/scruby/env.rb", "lib/scruby/group.rb", "lib/scruby/node.rb", "lib/scruby/server.rb", "lib/scruby/synth.rb", "lib/scruby/synthdef.rb", "lib/scruby/ticker.rb", "lib/scruby/ugens/buffer_read_write.rb", "lib/scruby/ugens/env_gen.rb", "lib/scruby/ugens/in_out.rb", "lib/scruby/ugens/multi_out_ugens.rb", "lib/scruby/ugens/operation_indices.yaml", "lib/scruby/ugens/operation_ugens.rb", "lib/scruby/ugens/panner.rb", "lib/scruby/ugens/ugen.rb", "lib/scruby/ugens/ugen_defs.yaml", "lib/scruby/ugens/ugen_operations.rb", "lib/scruby/ugens/ugens.rb", "notas.markdown", "script/console", "script/destroy", "script/generate", "scruby.gemspec", "spec/buffer_read_write_spec.rb", "spec/buffer_spec.rb", "spec/bus_spec.rb", "spec/core_ext/core_ext_spec.rb", "spec/core_ext/delegator_array_spec.rb", "spec/core_ext/typed_array_spec.rb", "spec/env_gen_spec.rb", "spec/env_spec.rb", "spec/group_spec.rb", "spec/helper.rb", "spec/in_out_spec.rb", "spec/integration_spec.rb", "spec/multiout_ugen_spec.rb", "spec/node_spec.rb", "spec/operation_ugens_spec.rb", "spec/panner_spec.rb", "spec/server.rb", "spec/server_spec.rb", "spec/synth_spec.rb", "spec/synthdef_spec.rb", "spec/ugen_operations_spec.rb", "spec/ugen_spec.rb", "spec/ugens_spec.rb", "test.live.rb"]
s.has_rdoc = true
s.homepage = %q{Is a bare-bones SuperCollider livecoding library for Ruby, it provides comunication with a remote or local scsynth server and SynthDef creation with a}
s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{scruby}
s.rubygems_version = %q{1.3.1}
- s.summary = %q{}
+ s.summary = %q{SuperCollider client for Ruby}
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
Oops, something went wrong.

0 comments on commit 9ce6e4f

Please sign in to comment.