Class: Google::Apis::TranscoderV1beta1::Audio
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::Audio
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/google/apis/transcoder_v1beta1/representations.rb
Overview
Audio preprocessing configuration.
Instance Attribute Summary collapse
-
#high_boost ⇒ Boolean
(also: #high_boost?)
Enable boosting high frequency components.
-
#low_boost ⇒ Boolean
(also: #low_boost?)
Enable boosting low frequency components.
-
#lufs ⇒ Float
Specify audio loudness normalization in loudness units relative to full scale ( LUFS).
Instance Method Summary collapse
-
#initialize(**args) ⇒ Audio
constructor
A new instance of Audio.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Audio
Returns a new instance of Audio.
209 210 211 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 209 def initialize(**args) update!(**args) end |
Instance Attribute Details
#high_boost ⇒ Boolean Also known as: high_boost?
Enable boosting high frequency components. The default is false
.
Corresponds to the JSON property highBoost
189 190 191 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 189 def high_boost @high_boost end |
#low_boost ⇒ Boolean Also known as: low_boost?
Enable boosting low frequency components. The default is false
.
Corresponds to the JSON property lowBoost
195 196 197 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 195 def low_boost @low_boost end |
#lufs ⇒ Float
Specify audio loudness normalization in loudness units relative to full scale (
LUFS). Enter a value between -24 and 0, where -24 is the Advanced Television
Systems Committee (ATSC A/85), -23 is the EU R128 broadcast standard, -19 is
the prior standard for online mono audio, -18 is the ReplayGain standard, -16
is the prior standard for stereo audio, -14 is the new online audio standard
recommended by Spotify, as well as Amazon Echo, and 0 disables normalization.
The default is 0.
Corresponds to the JSON property lufs
207 208 209 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 207 def lufs @lufs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
214 215 216 217 218 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 214 def update!(**args) @high_boost = args[:high_boost] if args.key?(:high_boost) @low_boost = args[:low_boost] if args.key?(:low_boost) @lufs = args[:lufs] if args.key?(:lufs) end |