Class: DSP::Formants::Peak
- Inherits:
-
Data
- Object
- Data
- DSP::Formants::Peak
- Defined in:
- lib/dsprb/formants.rb,
sig/dsprb.rbs
Instance Attribute Summary collapse
-
#amplitude ⇒ Object
readonly
Returns the value of attribute amplitude.
-
#frequency ⇒ Object
readonly
Returns the value of attribute frequency.
Class Method Summary collapse
Instance Attribute Details
#amplitude ⇒ Object (readonly)
Returns the value of attribute amplitude
5 6 7 |
# File 'lib/dsprb/formants.rb', line 5 def amplitude @amplitude end |
#frequency ⇒ Object (readonly)
Returns the value of attribute frequency
5 6 7 |
# File 'lib/dsprb/formants.rb', line 5 def frequency @frequency end |
Class Method Details
.new ⇒ Peak
247 |
# File 'sig/dsprb.rbs', line 247
def self.new: (frequency: ::Float, amplitude: ::Float) -> Peak
|