- Every file in this repository belongs to 박민석(ApplaudToPark).
- The contribution of this project was definitely made by 박민석(ApplaudToPark).
- This project is prepared for the "microprocessor" class at Chung-Ang Univ from May, 2024 to June, 2024.
- It could be used for a qualification.
- It is allowed to operate the codes for curiosities, but it cannot be used for any other competitions and beneficial usage.
Using ChatGPT API, it is simple to make a high-quiality translator that requires low specs. ChatGPT API can be used in Python environment to import "openai" modules. This project is aiming at implementing translators in low-spec devices.
This codes are operate in python version 3.9.7. You have to install python modules as shown below :
- gtts
- speech recognition
- pydub
- pyaudio
- wave
- openai
And, if you want to operate codes correctly, you must download all files in "Applaud-To-Park-main-code" section. For convenience, I have uploaded the zip file which contains all the needed files.
The algorithms are following steps :
- Record the sound from monitor or microphone.
- The recorded signal is transformed to text by STT.
- Text is sent to ChatGPT with a prompt. The prompt helps to transform to other languages.
- Operating normally, ChatGPT send us the text which is transformed to what I request.
- The text is transformed to sound by TTS.