IdentityConverter

org.llm4s.speech.processing.AudioConverter.IdentityConverter
case class IdentityConverter[A]() extends AudioConverter[A, A]

Identity converter (does nothing)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AudioConverter[A, A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def convert(input: A): Result[A]
def name: String

Inherited methods

def andThen[C](next: AudioConverter[A, C]): AudioConverter[A, C]

Compose this converter with another converter

Compose this converter with another converter

Attributes

Inherited from:
AudioConverter
def filter(predicate: A => Boolean, errorMsg: String): AudioConverter[A, A]

Filter results based on a predicate

Filter results based on a predicate

Attributes

Inherited from:
AudioConverter
def flatMap[C](f: A => Result[C]): AudioConverter[A, C]

FlatMap for chaining converters that might fail

FlatMap for chaining converters that might fail

Attributes

Inherited from:
AudioConverter
def map[C](f: A => C): AudioConverter[A, C]

Map over the result of this converter

Map over the result of this converter

Attributes

Inherited from:
AudioConverter
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product