deepgram.audio

 1# Copyright 2023-2024 Deepgram SDK contributors. All Rights Reserved.
 2# Use of this source code is governed by a MIT license that can be found in the LICENSE file.
 3# SPDX-License-Identifier: MIT
 4
 5from .microphone import Microphone
 6from .microphone import DeepgramMicrophoneError
 7from .microphone import (
 8    LOGGING as INPUT_LOGGING,
 9    CHANNELS as INPUT_CHANNELS,
10    RATE as INPUT_RATE,
11    CHUNK as INPUT_CHUNK,
12)
13
14from .speaker import Speaker
15from .speaker import DeepgramSpeakerError
16from .speaker import (
17    LOGGING as OUTPUT_LOGGING,
18    CHANNELS as OUTPUT_CHANNELS,
19    RATE as OUTPUT_RATE,
20    CHUNK as OUTPUT_CHUNK,
21    PLAYBACK_DELTA as OUTPUT_PLAYBACK_DELTA,
22)