first pass at turn based conversation
This commit is contained in:
parent
d1118d375e
commit
518a0f2b53
40 changed files with 503 additions and 99 deletions
13
vocode/streaming/output_device/base_output_device.py
Normal file
13
vocode/streaming/output_device/base_output_device.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from vocode.streaming.models.audio_encoding import AudioEncoding
|
||||
|
||||
|
||||
class BaseOutputDevice:
|
||||
def __init__(self, sampling_rate: int, audio_encoding: AudioEncoding):
|
||||
self.sampling_rate = sampling_rate
|
||||
self.audio_encoding = audio_encoding
|
||||
|
||||
async def send_async(self, chunk):
|
||||
raise NotImplemented
|
||||
|
||||
async def maybe_send_mark_async(self, message):
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue