Class: Vizcore::Audio::Calibration::Result
- Inherits:
-
Struct
- Object
- Struct
- Vizcore::Audio::Calibration::Result
- Defined in:
- lib/vizcore/audio/calibration.rb
Instance Attribute Summary collapse
-
#clip_ratio ⇒ Object
Returns the value of attribute clip_ratio.
-
#frame_size ⇒ Object
Returns the value of attribute frame_size.
-
#frames ⇒ Object
Returns the value of attribute frames.
-
#peak_max ⇒ Object
Returns the value of attribute peak_max.
-
#recommended_noise_gate ⇒ Object
Returns the value of attribute recommended_noise_gate.
-
#rms_mean ⇒ Object
Returns the value of attribute rms_mean.
-
#rms_p95 ⇒ Object
Returns the value of attribute rms_p95.
-
#sample_rate ⇒ Object
Returns the value of attribute sample_rate.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
Instance Attribute Details
#clip_ratio ⇒ Object
Returns the value of attribute clip_ratio
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def clip_ratio @clip_ratio end |
#frame_size ⇒ Object
Returns the value of attribute frame_size
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def frame_size @frame_size end |
#frames ⇒ Object
Returns the value of attribute frames
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def frames @frames end |
#peak_max ⇒ Object
Returns the value of attribute peak_max
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def peak_max @peak_max end |
#recommended_noise_gate ⇒ Object
Returns the value of attribute recommended_noise_gate
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def recommended_noise_gate @recommended_noise_gate end |
#rms_mean ⇒ Object
Returns the value of attribute rms_mean
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def rms_mean @rms_mean end |
#rms_p95 ⇒ Object
Returns the value of attribute rms_p95
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def rms_p95 @rms_p95 end |
#sample_rate ⇒ Object
Returns the value of attribute sample_rate
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def sample_rate @sample_rate end |
#source ⇒ Object
Returns the value of attribute source
12 13 14 |
# File 'lib/vizcore/audio/calibration.rb', line 12 def source @source end |
Instance Method Details
#to_h ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/vizcore/audio/calibration.rb', line 24 def to_h { source: source, sample_rate: sample_rate, frame_size: frame_size, frames: frames, rms_mean: rms_mean, rms_p95: rms_p95, peak_max: peak_max, clip_ratio: clip_ratio, recommended_noise_gate: recommended_noise_gate } end |