Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

doc formatting test

  • Loading branch information...
commit e7e5fb35f0e997f6cf83b186456453c5310b1d6a 1 parent efdd59f
@maca authored
Showing with 18 additions and 17 deletions.
  1. +1 −1  README.rdoc
  2. +17 −16 lib/scruby/server.rb
View
2  README.rdoc
@@ -12,7 +12,7 @@ thrugh *nix pipes. Similar functionality shouldn't be too dificult to implement
$ [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
View
33 lib/scruby/server.rb
@@ -29,21 +29,22 @@ class Server
# The server is a Ruby representation of scsynth which can be a local binary or a remote
# server already running.
# Server class keeps an array with all the instantiated servers
- # Options:
- # +host+:
- # defaults to 'localhost'
- # +port+:
- # TCP port defaults to 57111
- # +control_buses+
- # Number of buses for routing control data defaults to 4096, indices start at 0.
- # +audio_buses+
- # Number of audio Bus channels for hardware output and input and internal routing, defaults to 128
- # +audio_outputs+
- # Reserved +buses+ for hardware output, indices available are 0 to +audio_outputs+ - 1 defaults to 8.
- # +audio_inputs+
- # Reserved +buses+ for hardware input, +audio_outputs+ to (+audio_outputs+ + +audio_inputs+ - 1), defaults to 8.
- # +buffers+
- # Number of available sample buffers defaults to 1024
+ #
+ # Options:
+ # +host+:
+ # defaults to 'localhost'
+ # +port+:
+ # TCP port defaults to 57111
+ # +control_buses+
+ # Number of buses for routing control data defaults to 4096, indices start at 0.
+ # +audio_buses+
+ # Number of audio Bus channels for hardware output and input and internal routing, defaults to 128
+ # +audio_outputs+
+ # Reserved +buses+ for hardware output, indices available are 0 to +audio_outputs+ - 1 defaults to 8.
+ # +audio_inputs+
+ # Reserved +buses+ for hardware input, +audio_outputs+ to (+audio_outputs+ + +audio_inputs+ - 1), defaults to 8.
+ # +buffers+
+ # Number of available sample buffers defaults to 1024
def initialize opts = {}
@opts = DEFAULTS.dup.merge opts
@buffers = []
@@ -179,4 +180,4 @@ def []= index
class SCError < StandardError
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.