Skip to content
VoiceGPT

VoiceGPT

VoiceGPT is a voice assistant that leverages the powerful ChatGPT chatbot to answer your questions.

Created on 8th June 2024

•

VoiceGPT

VoiceGPT

VoiceGPT is a voice assistant that leverages the powerful ChatGPT chatbot to answer your questions.

The problem VoiceGPT solves

VoiceGPT is a voice assistant that leverages the powerful ChatGPT chatbot to answer your questions. You speak the requests, and VoiceGPT responds with realistic, synthesized speech.

Challenges I ran into

when i run the script i get the following error:
Traceback (most recent call last): File "/home/pi/Documents/voice_chat.py", line 164, in <module> main() File "/home/pi/Documents/voice_chat.py", line 146, in main record_wav() File "/home/pi/Documents/voice_chat.py", line 105, in record_wav stream = audio.open(format = form_1,rate = samp_rate,channels = chans, \ File "/home/pi/.local/lib/python3.9/site-packages/pyaudio/init.py", line 639, in open stream = PyAudio.Stream(self, *args, **kwargs) File "/home/pi/.local/lib/python3.9/site-packages/pyaudio/init.py", line 441, in init self._stream = pa.open(**arguments) OSError: [Errno -9998] Invalid number of channels

it seems to me that pyaudio is installed correctly, maybe something with the configuration of the sound card? I'm using an external usb card with a microphone

Tracks Applied (1)

Social Track

SOCIAL with Farcaster

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio