Clean up resources
Initialize the speaker with configuration
Optionaldevice: stringOptional specific audio device to use (auto-detected if not specified)
Play audio from a file
Path to the audio file to play
Set callbacks for pause/resume (typically to pause/resume microphone)
OptionalonPause: () => voidCallback when audio playback starts
OptionalonResume: () => voidCallback when audio playback ends
Speaker controller for TJBot Handles audio playback and text-to-speech synthesis