Permalink
Browse files

requiring group

  • Loading branch information...
1 parent 258987e commit debe1239c077278e7f4e7645bfa2454a5f6d4224 Macario Ortega committed Mar 21, 2011
Showing with 6 additions and 10 deletions.
  1. +1 −1 Gemfile.lock
  2. +1 −0 lib/scruby.rb
  3. +1 −7 lib/scruby/group.rb
  4. +2 −1 lib/scruby/server.rb
  5. +1 −1 lib/scruby/version.rb
View
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- scruby (0.2.7)
+ scruby (0.2.7.1)
arguments (~> 0.6)
live (~> 0.1)
ruby-osc (~> 0.3)
View
@@ -51,6 +51,7 @@
require "scruby/ugens/ugens"
require "scruby/synthdef"
+require "scruby/group"
require "scruby/server"
require "scruby/ugens/env_gen"
View
@@ -1,6 +1,5 @@
module Scruby
class Group < Node
-
def free_all
send '/g_freeAll', self.id
self
@@ -15,10 +14,5 @@ def dump_tree post = false
send '/g_dumpTree', self.id, post
self
end
-
- class << self
-
- end
-
end
-end
+end
View
@@ -34,6 +34,7 @@ class Server
# $ man scsynth
#
# @param [Hash] opts the options to create a message with.
+ # @option opts [String] :path ('scsynt' on Linux, '/Applications/SuperCollider/scsynth' on Mac) scsynth binary path
# @option opts [String] :host ('localhost') SuperCollider Server address
# @option opts [Fixnum] :port (57111) TCP port
# @option opts [Fixnum] :control_buses (4096) Number of buses for routing control data, indices start at 0
@@ -58,7 +59,7 @@ def port; @opts[:port]; end
def path; @opts[:path]; end
# Boots the local binary of the scsynth forking a process, it will rise a SCError if the scsynth
- # binary is not found in /Applications/SuperCollider/scsynth (default Mac OS path) or given path.
+ # binary is not found in path.
# The default path can be overriden using Server.scsynt_path=('path')
def boot
raise SCError.new('Scsynth not found in the given path') unless File.exists? path
View
@@ -1,3 +1,3 @@
module Scruby
- VERSION = "0.2.7"
+ VERSION = "0.2.7.1"
end

0 comments on commit debe123

Please sign in to comment.