WavFileGenerator
Eliminates code duplication in WAV file generation across the speech module. Provides centralized WAV file creation, format conversion, and temporary file management.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
WavFileGenerator.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class WavGenerationFailedclass WavSaveFailed
Value members
Concrete methods
Create a Java AudioFormat from AudioMeta
Create a Java AudioFormat from AudioMeta
Attributes
Create a temporary WAV file with the given prefix
Create a temporary WAV file with the given prefix
Attributes
Create WAV file from raw bytes with metadata
Create WAV file from raw bytes with metadata
Attributes
Utility for creating WAV headers manually (advanced usage) Uses implicit binary writers for clean little-endian format
Utility for creating WAV headers manually (advanced usage) Uses implicit binary writers for clean little-endian format
Attributes
Create a managed temporary WAV file that gets deleted automatically
Create a managed temporary WAV file that gets deleted automatically
Attributes
Read WAV file and return GeneratedAudio
Read WAV file and return GeneratedAudio
Attributes
Save GeneratedAudio as WAV file using ManagedResource (eliminates duplication from AudioIO.saveWav)
Save GeneratedAudio as WAV file using ManagedResource (eliminates duplication from AudioIO.saveWav)
Attributes
Save raw PCM data as WAV file (eliminates duplication from AudioIO.saveRawPcm16)
Save raw PCM data as WAV file (eliminates duplication from AudioIO.saveRawPcm16)
Attributes
Write audio data to temporary WAV file and return the path (eliminates duplication in TTS implementations)
Write audio data to temporary WAV file and return the path (eliminates duplication in TTS implementations)