Class: Musicality::SuperCollider::SynthDef::Settings

Inherits:
Object
  • Object
show all
Includes:
Packable
Defined in:
lib/musicality/performance/supercollider/synthdef.rb

Constant Summary

Constants included from Packable

Packable::PACKED_CLASS_KEY

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Packable

#class_str, included, #init_params, #pack, pack_val, recover_class, unpack_val

Constructor Details

#initialize(synthdef, args = {}) ⇒ Settings

Returns a new instance of Settings.



39
40
41
# File 'lib/musicality/performance/supercollider/synthdef.rb', line 39

def initialize synthdef, args = {}
  @synthdef, @args = synthdef, args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



38
39
40
# File 'lib/musicality/performance/supercollider/synthdef.rb', line 38

def args
  @args
end

#synthdefObject (readonly)

Returns the value of attribute synthdef.



38
39
40
# File 'lib/musicality/performance/supercollider/synthdef.rb', line 38

def synthdef
  @synthdef
end