Class: GuitarProParser::Channel

Inherits:
Object
  • Object
show all
Defined in:
lib/guitar_pro_parser/channel.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChannel

Returns a new instance of Channel.



13
14
15
16
17
18
19
20
21
# File 'lib/guitar_pro_parser/channel.rb', line 13

def initialize
  @instrument = 0
  @volume = 13
  @pan = 8
  @chorus = 0
  @reverb = 0
  @phaser = 0
  @tremolo = 0
end

Instance Attribute Details

#chorusObject

Returns the value of attribute chorus.



5
6
7
# File 'lib/guitar_pro_parser/channel.rb', line 5

def chorus
  @chorus
end

#instrumentObject

Returns the value of attribute instrument.



5
6
7
# File 'lib/guitar_pro_parser/channel.rb', line 5

def instrument
  @instrument
end

#panObject

Returns the value of attribute pan.



5
6
7
# File 'lib/guitar_pro_parser/channel.rb', line 5

def pan
  @pan
end

#phaserObject

Returns the value of attribute phaser.



5
6
7
# File 'lib/guitar_pro_parser/channel.rb', line 5

def phaser
  @phaser
end

#reverbObject

Returns the value of attribute reverb.



5
6
7
# File 'lib/guitar_pro_parser/channel.rb', line 5

def reverb
  @reverb
end

#tremoloObject

Returns the value of attribute tremolo.



5
6
7
# File 'lib/guitar_pro_parser/channel.rb', line 5

def tremolo
  @tremolo
end

#volumeObject

Returns the value of attribute volume.



5
6
7
# File 'lib/guitar_pro_parser/channel.rb', line 5

def volume
  @volume
end