Module: Scruby

Includes:
OSC
Defined in:
lib/scruby/bus.rb,
lib/scruby/env.rb,
lib/scruby/node.rb,
lib/scruby/group.rb,
lib/scruby/synth.rb,
lib/scruby/buffer.rb,
lib/scruby/server.rb,
lib/scruby/ticker.rb,
lib/scruby/version.rb,
lib/scruby/synthdef.rb,
lib/scruby/ugens/ugen.rb,
lib/scruby/ugens/ugens.rb,
lib/scruby/control_name.rb,
lib/scruby/ugens/demand.rb,
lib/scruby/ugens/in_out.rb,
lib/scruby/ugens/panner.rb,
lib/scruby/ugens/env_gen.rb,
lib/scruby/ugens/multi_out.rb,
lib/scruby/ugens/disk_in_out.rb,
lib/scruby/ugens/operation_ugens.rb,
lib/scruby/ugens/ugen_operations.rb,
lib/scruby/ugens/buffer_read_write.rb

Defined Under Namespace

Modules: Ugens Classes: Buffer, Bus, ControlName, Env, Group, Node, SCError, Scheduler, Server, Synth, SynthDef, Ticker

Constant Summary collapse

VERSION =
"0.2.7.2"

Instance Method Summary collapse

Instance Method Details

#expand_path(path) ⇒ Object



2
3
4
5
# File 'lib/scruby/buffer.rb', line 2

def expand_path path
  path = "~/Scruby/#{ path }" unless path.match %r{^(?:/|~)}
  File.expand_path path
end