AudioIO
org.llm4s.speech.io.AudioIO
object AudioIO
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AudioIO.type
Members list
Type members
Classlikes
sealed trait AudioIOError extends LLMError, NonRecoverableError
Audio could not be saved; a NonRecoverableError, as a core ProcessingError is.
Audio could not be saved; a NonRecoverableError, as a core ProcessingError is.
Attributes
- Supertypes
-
trait NonRecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class SaveFailed
final case class SaveFailed(message: String, context: Map[String, String]) extends AudioIOError
Attributes
- Supertypes
-
trait AudioIOErrortrait NonRecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Save MP3 audio (see org.llm4s.speech.AudioFormat.Mp3) to a file as returned by the service.
Save MP3 audio (see org.llm4s.speech.AudioFormat.Mp3) to a file as returned by the service.
Attributes
Save raw PCM16 little-endian to a file using ManagedResource.
Save raw PCM16 little-endian to a file using ManagedResource.
Attributes
Save PCM16 WAV bytes to a file using WavFileGenerator.
Save PCM16 WAV bytes to a file using WavFileGenerator.
Attributes
In this article