Class: Typecast::Models::Output
- Inherits:
-
Object
- Object
- Typecast::Models::Output
- Defined in:
- lib/typecast/models.rb
Instance Attribute Summary collapse
-
#audio_format ⇒ Object
readonly
Returns the value of attribute audio_format.
-
#audio_pitch ⇒ Object
readonly
Returns the value of attribute audio_pitch.
-
#audio_tempo ⇒ Object
readonly
Returns the value of attribute audio_tempo.
-
#target_lufs ⇒ Object
readonly
Returns the value of attribute target_lufs.
-
#volume ⇒ Object
readonly
Returns the value of attribute volume.
Instance Method Summary collapse
-
#initialize(volume: nil, target_lufs: nil, audio_pitch: nil, audio_tempo: nil, audio_format: nil) ⇒ Output
constructor
A new instance of Output.
- #to_h ⇒ Object
Constructor Details
#initialize(volume: nil, target_lufs: nil, audio_pitch: nil, audio_tempo: nil, audio_format: nil) ⇒ Output
Returns a new instance of Output.
18 19 20 21 22 23 24 |
# File 'lib/typecast/models.rb', line 18 def initialize(volume: nil, target_lufs: nil, audio_pitch: nil, audio_tempo: nil, audio_format: nil) @volume = volume @target_lufs = target_lufs @audio_pitch = audio_pitch @audio_tempo = audio_tempo @audio_format = audio_format end |
Instance Attribute Details
#audio_format ⇒ Object (readonly)
Returns the value of attribute audio_format.
16 17 18 |
# File 'lib/typecast/models.rb', line 16 def audio_format @audio_format end |
#audio_pitch ⇒ Object (readonly)
Returns the value of attribute audio_pitch.
16 17 18 |
# File 'lib/typecast/models.rb', line 16 def audio_pitch @audio_pitch end |
#audio_tempo ⇒ Object (readonly)
Returns the value of attribute audio_tempo.
16 17 18 |
# File 'lib/typecast/models.rb', line 16 def audio_tempo @audio_tempo end |
#target_lufs ⇒ Object (readonly)
Returns the value of attribute target_lufs.
16 17 18 |
# File 'lib/typecast/models.rb', line 16 def target_lufs @target_lufs end |
#volume ⇒ Object (readonly)
Returns the value of attribute volume.
16 17 18 |
# File 'lib/typecast/models.rb', line 16 def volume @volume end |