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/server.rb,
lib/scruby/ticker.rb,
lib/scruby/buffer.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/panner.rb,
lib/scruby/ugens/in_out.rb,
lib/scruby/ugens/env_gen.rb,
lib/scruby/ugens/multi_out.rb,
lib/scruby/ugens/disk_in_out.rb,
lib/scruby/ugens/ugen_operations.rb,
lib/scruby/ugens/operation_ugens.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

VERSION =
"0.2.7"

Instance Method Summary (collapse)

Instance Method Details

- (Object) expand_path(path)



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