Skip to content

Commit

Permalink
doc formatting test
Browse files Browse the repository at this point in the history
  • Loading branch information
Macario Ortega committed Mar 21, 2011
1 parent efdd59f commit e7e5fb3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -12,7 +12,7 @@ thrugh *nix pipes. Similar functionality shouldn't be too dificult to implement


$ [sudo] gem install scruby $ [sudo] gem install scruby


Scruby is just a SuperCollider client so SuperCollider must be installed on the system. There's a PPA for installing SC under Ubuntu: https://launchpad.net/~supercollider/+archive/ppa. Scruby is just a SuperCollider client so SC must be installed on the system. There's a PPA for installing SC under Ubuntu: https://launchpad.net/~supercollider/+archive/ppa.




== Usage == Usage
Expand Down
33 changes: 17 additions & 16 deletions lib/scruby/server.rb
Expand Up @@ -29,21 +29,22 @@ class Server
# The server is a Ruby representation of scsynth which can be a local binary or a remote # The server is a Ruby representation of scsynth which can be a local binary or a remote
# server already running. # server already running.
# Server class keeps an array with all the instantiated servers # Server class keeps an array with all the instantiated servers
# Options: #
# +host+: # Options:
# defaults to 'localhost' # +host+:
# +port+: # defaults to 'localhost'
# TCP port defaults to 57111 # +port+:
# +control_buses+ # TCP port defaults to 57111
# Number of buses for routing control data defaults to 4096, indices start at 0. # +control_buses+
# +audio_buses+ # Number of buses for routing control data defaults to 4096, indices start at 0.
# Number of audio Bus channels for hardware output and input and internal routing, defaults to 128 # +audio_buses+
# +audio_outputs+ # Number of audio Bus channels for hardware output and input and internal routing, defaults to 128
# Reserved +buses+ for hardware output, indices available are 0 to +audio_outputs+ - 1 defaults to 8. # +audio_outputs+
# +audio_inputs+ # Reserved +buses+ for hardware output, indices available are 0 to +audio_outputs+ - 1 defaults to 8.
# Reserved +buses+ for hardware input, +audio_outputs+ to (+audio_outputs+ + +audio_inputs+ - 1), defaults to 8. # +audio_inputs+
# +buffers+ # Reserved +buses+ for hardware input, +audio_outputs+ to (+audio_outputs+ + +audio_inputs+ - 1), defaults to 8.
# Number of available sample buffers defaults to 1024 # +buffers+
# Number of available sample buffers defaults to 1024
def initialize opts = {} def initialize opts = {}
@opts = DEFAULTS.dup.merge opts @opts = DEFAULTS.dup.merge opts
@buffers = [] @buffers = []
Expand Down Expand Up @@ -179,4 +180,4 @@ def []= index


class SCError < StandardError class SCError < StandardError
end end
end end

0 comments on commit e7e5fb3

Please sign in to comment.