Class: Hindbaer::Plugin::Equalizer
- Defined in:
- lib/hindbaer/plugin/equalizer.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#high_freq_freq ⇒ Object
Returns the value of attribute high_freq_freq.
-
#high_freq_gain ⇒ Object
Returns the value of attribute high_freq_gain.
-
#high_freq_q ⇒ Object
Returns the value of attribute high_freq_q.
-
#high_freq_type ⇒ Object
Returns the value of attribute high_freq_type.
-
#low_freq_freq ⇒ Object
Returns the value of attribute low_freq_freq.
-
#low_freq_gain ⇒ Object
Returns the value of attribute low_freq_gain.
-
#low_freq_q ⇒ Object
Returns the value of attribute low_freq_q.
-
#low_freq_type ⇒ Object
Returns the value of attribute low_freq_type.
-
#mid_freq_freq ⇒ Object
Returns the value of attribute mid_freq_freq.
-
#mid_freq_gain ⇒ Object
Returns the value of attribute mid_freq_gain.
-
#mid_freq_q ⇒ Object
Returns the value of attribute mid_freq_q.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Hindbaer::Plugin::Base
Instance Attribute Details
#high_freq_freq ⇒ Object
Returns the value of attribute high_freq_freq.
7 8 9 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 7 def high_freq_freq @high_freq_freq end |
#high_freq_gain ⇒ Object
Returns the value of attribute high_freq_gain.
7 8 9 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 7 def high_freq_gain @high_freq_gain end |
#high_freq_q ⇒ Object
Returns the value of attribute high_freq_q.
7 8 9 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 7 def high_freq_q @high_freq_q end |
#high_freq_type ⇒ Object
Returns the value of attribute high_freq_type.
8 9 10 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 8 def high_freq_type @high_freq_type end |
#low_freq_freq ⇒ Object
Returns the value of attribute low_freq_freq.
5 6 7 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 5 def low_freq_freq @low_freq_freq end |
#low_freq_gain ⇒ Object
Returns the value of attribute low_freq_gain.
5 6 7 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 5 def low_freq_gain @low_freq_gain end |
#low_freq_q ⇒ Object
Returns the value of attribute low_freq_q.
5 6 7 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 5 def low_freq_q @low_freq_q end |
#low_freq_type ⇒ Object
Returns the value of attribute low_freq_type.
8 9 10 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 8 def low_freq_type @low_freq_type end |
#mid_freq_freq ⇒ Object
Returns the value of attribute mid_freq_freq.
6 7 8 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 6 def mid_freq_freq @mid_freq_freq end |
#mid_freq_gain ⇒ Object
Returns the value of attribute mid_freq_gain.
6 7 8 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 6 def mid_freq_gain @mid_freq_gain end |
#mid_freq_q ⇒ Object
Returns the value of attribute mid_freq_q.
6 7 8 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 6 def mid_freq_q @mid_freq_q end |
Class Method Details
.parse(fragment) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 11 def self.parse(fragment) plugin = super(fragment) plugin.low_freq_freq = fragment['LF_Freq'] plugin.low_freq_gain = fragment['LF_Gain'] plugin.low_freq_q = fragment['LF_Q'] plugin.low_freq_type = fragment['LF_Type'] plugin.mid_freq_freq = fragment['MF_Freq'] plugin.mid_freq_gain = fragment['MF_Gain'] plugin.mid_freq_q = fragment['MF_Q'] plugin.high_freq_freq = fragment['HF_Freq'] plugin.high_freq_gain = fragment['HF_Gain'] plugin.high_freq_q = fragment['HF_Q'] plugin.high_freq_type = fragment['HF_Type'] plugin end |
Instance Method Details
#to_xml(xml) ⇒ Object
31 32 33 |
# File 'lib/hindbaer/plugin/equalizer.rb', line 31 def to_xml(xml) xml.Plugin Id: id, Name: name, UID: uid, Bypass: bypass, LF_Freq: low_freq_freq, LF_Gain: low_freq_gain, LF_Q: low_freq_q, LF_Type: low_freq_type, MF_Freq: mid_freq_freq, MF_Gain: mid_freq_gain, MF_Q: mid_freq_q, HF_Freq: high_freq_freq, HF_Gain: high_freq_gain, HF_Q: high_freq_q, HF_Type: high_freq_type end |