Cloud Text-to-Speech V1beta1 API - Class Google::Cloud::TextToSpeech::V1beta1::Timepoint (v0.16.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1beta1 API class Google::Cloud::TextToSpeech::V1beta1::Timepoint.

This contains a mapping between a certain point in the input text and a corresponding time in the output audio.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#mark_name

def mark_name() -> ::String
Returns
  • (::String) — Timepoint name as received from the client within <mark> tag.

#mark_name=

def mark_name=(value) -> ::String
Parameter
  • value (::String) — Timepoint name as received from the client within <mark> tag.
Returns
  • (::String) — Timepoint name as received from the client within <mark> tag.

#time_seconds

def time_seconds() -> ::Float
Returns
  • (::Float) — Time offset in seconds from the start of the synthesized audio.

#time_seconds=

def time_seconds=(value) -> ::Float
Parameter
  • value (::Float) — Time offset in seconds from the start of the synthesized audio.
Returns
  • (::Float) — Time offset in seconds from the start of the synthesized audio.