View Source Membrane.Element.IBMSpeechToText (Membrane Element: IBMSpeechToText v0.6.0)

An element providing speech recognition via IBM Cloud Speech to Text service.

This element sends speech recognition results (t:IBMSpeechToText.Response.t()) via notification mechanism to pipeline.

It uses ibm_speech_to_text client library.

element-options

Element options

Passed via struct Membrane.Element.IBMSpeechToText.t/0

pads

Pads

input

:input

Availability :always
Caps Membrane.Caps.Audio.FLAC
Demand mode :manual
Demand unit :buffers
Direction :input
Mode :pull
Name :input

Link to this section Summary

Types

t()

Struct containing options for Membrane.Element.IBMSpeechToText

Functions

Returns pads descriptions for Membrane.Element.IBMSpeechToText

Returns description of options available for this module

Link to this section Types

@type t() :: %Membrane.Element.IBMSpeechToText{
  api_key: String.t(),
  client_options: keyword(),
  recognition_options: keyword(),
  region: IBMSpeechToText.region()
}

Struct containing options for Membrane.Element.IBMSpeechToText

Link to this section Functions

@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.Element.IBMSpeechToText

@spec options() :: keyword()

Returns description of options available for this module