Class: Voicemeeter::GainLayer

Inherits:
IRemote
  • Object
show all
Defined in:
lib/voicemeeter/strip.rb

Instance Method Summary collapse

Methods inherited from IRemote

#getter, #set_multi, #setter, #to_s

Methods included from Conversions

Boolean

Constructor Details

#initialize(remote, i, j) ⇒ GainLayer

Returns a new instance of GainLayer.



68
69
70
71
# File 'lib/voicemeeter/strip.rb', line 68

def initialize(remote, i, j)
  super(remote, i)
  @j = j
end

Instance Method Details

#gainObject



77
78
79
# File 'lib/voicemeeter/strip.rb', line 77

def gain
  self.getter("gainlayer[#{@j}]")
end

#gain=(value) ⇒ Object



81
82
83
# File 'lib/voicemeeter/strip.rb', line 81

def gain=(value)
  self.setter("gainlayer[#{@j}]", value)
end

#identifierObject



73
74
75
# File 'lib/voicemeeter/strip.rb', line 73

def identifier
  "strip[#{@index}]"
end