Module audio

Module audio 

Source

Structs§

AudioData
Audio file data with metadata

Functions§

generate_wav_header
Generate a WAV header for PCM audio data
get_audio_file_extension
Get the appropriate file extension based on the detected or specified format
is_likely_pcm
Detect if audio data is likely PCM format
pcm_to_wav
Convert PCM audio data to WAV format
process_audio_file
Process an audio file and return base64 encoded data
process_audio_url
Process an audio URL and return base64 encoded data