Compare commits
2 Commits
main
...
fix_raspbe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4503e2d1a | ||
|
|
38d015d3f2 |
Binary file not shown.
Binary file not shown.
@ -56,5 +56,5 @@ output_audio_config = {
|
||||
"format": "pcm",
|
||||
"channels": 1,
|
||||
"sample_rate": 24000,
|
||||
"bit_size": pyaudio.paFloat32,
|
||||
"bit_size": pyaudio.paInt16,
|
||||
}
|
||||
|
||||
BIN
doubao/input.pcm
BIN
doubao/input.pcm
Binary file not shown.
@ -6,7 +6,7 @@ from audio_manager import DialogSession
|
||||
|
||||
async def main() -> None:
|
||||
parser = argparse.ArgumentParser(description="Real-time Dialog Client")
|
||||
parser.add_argument("--format", type=str, default="pcm", help="The audio format (e.g., pcm, pcm_s16le).")
|
||||
parser.add_argument("--format", type=str, default="pcm_s16le", help="The audio format (e.g., pcm, pcm_s16le).")
|
||||
parser.add_argument("--audio", type=str, default="", help="audio file send to server, if not set, will use microphone input.")
|
||||
parser.add_argument("--mod",type=str,default="audio",help="Use mod to select plain text input mode or audio mode, the default is audio mode")
|
||||
parser.add_argument("--recv_timeout",type=int,default=10,help="Timeout for receiving messages,value range [10,120]")
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user