AudioIO

org.llm4s.speech.io.AudioIO
object AudioIO

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AudioIO.type

Members list

Type members

Classlikes

sealed trait AudioIOError extends LLMError

Attributes

Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class SaveFailed
final case class SaveFailed(message: String, context: Map[String, String]) extends AudioIOError

Attributes

Supertypes
trait AudioIOError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def saveRawPcm16(audio: GeneratedAudio, path: Path): Result[Path]

Save raw PCM16 little-endian to a file using ManagedResource.

Save raw PCM16 little-endian to a file using ManagedResource.

Attributes

def saveWav(audio: GeneratedAudio, path: Path): Result[Path]

Save PCM16 WAV bytes to a file using WavFileGenerator.

Save PCM16 WAV bytes to a file using WavFileGenerator.

Attributes