Class: OmniAI::Google::Live::Event::Audio

Inherits:
Data
  • Object
show all
Defined in:
lib/omniai/google/live/event.rb

Overview

Model speech: raw PCM16 (24 kHz, mono, little-endian) bytes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#data ⇒ Object (readonly)

Returns the value of attribute data

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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}>"