Class: DSP::MelFilterbank::Band
- Inherits:
-
Data
- Object
- Data
- DSP::MelFilterbank::Band
- Defined in:
- lib/dsprb/mel_filterbank.rb,
sig/dsprb.rbs
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
-
#weights ⇒ Object
readonly
Returns the value of attribute weights.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset
5 6 7 |
# File 'lib/dsprb/mel_filterbank.rb', line 5 def offset @offset end |
#weights ⇒ Object (readonly)
Returns the value of attribute weights
5 6 7 |
# File 'lib/dsprb/mel_filterbank.rb', line 5 def weights @weights end |
Class Method Details
.new ⇒ Band
150 |
# File 'sig/dsprb.rbs', line 150
def self.new: (offset: ::Integer, weights: ::Array[::Float]) -> Band
|
Instance Method Details
#length ⇒ ::Integer
6 |
# File 'lib/dsprb/mel_filterbank.rb', line 6 def length = weights.length |