Class: OmniAI::Google::Live::Event::Audio
- Inherits:
-
Data
- Object
- Data
- OmniAI::Google::Live::Event::Audio
- Defined in:
- lib/omniai/google/live/event.rb
Overview
Model speech: raw PCM16 (24 kHz, mono, little-endian) bytes.
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#mime_type ⇒ Object
readonly
Returns the value of attribute mime_type.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data
9 10 11 |
# File 'lib/omniai/google/live/event.rb', line 9 def data @data end |
#mime_type ⇒ Object (readonly)
Returns the value of attribute mime_type
9 10 11 |
# File 'lib/omniai/google/live/event.rb', line 9 def mime_type @mime_type end |
Instance Method Details
#inspect ⇒ Object
10 |
# File 'lib/omniai/google/live/event.rb', line 10 def inspect = "#<#{self.class.name} bytes=#{data.bytesize} mime_type=#{mime_type}>" |