๐๏ธVoiceMathโ: Speak, Solve, Master Math! ๐ง
ANIRUDDHA ADAK
Posted on November 23, 2024
This is a submission for the AssemblyAI Challenge: Really Rad Real-Time.
๐๏ธVoiceMath โโ๏ธ โโ
What I Built ๐
๐ VoiceMath is an interactive voice-based math quiz application that enhances learning through speech recognition.
๐๏ธ It uses the AssemblyAI Real-Time Speech-to-Text API to transcribe user responses and creates a dynamic quiz experience.
โจ With glowing animations, score tracking, and seamless voice interaction, itโs a fun way to practice math skills!
Demo ๐
๐ Live App: VoiceMath Live Demo
๐ GitHub Repository: VoiceMath Source Code
Screenshots ๐ธ
๐ฎ Quiz Section
Description: Interactive Quiz Interface
Description: Ongoing quiz interface with real-time voice inputs.
Description: Results Page of Math Quiz
๐ง Logical Reasoning Quiz Section
Description: Interactive Logical Reasoning Quiz Interface
Description: Ongoing Logical Reasoning Quiz interface with real-time voice inputs
Description: Results Page of Logical Reasoning Quiz
๐ Practice Section
Description: Practice mode for users to improve their math skills.
๐ Leaderboard
Description: A detailed leaderboard showcasing user rankings.
๐ค Profile Page
Description: User profile section displaying personalized stats
Journey โจ
Implementation Highlights ๐ก
๐๏ธ Real-Time Speech Recognition:
Leveraged AssemblyAI's Streaming API for real-time transcription of user answers during the quiz.
๐ซ Interactive Animations:
Used Framer Motion for dynamic button animations and transitions, and React Confetti for celebration effects.
๐ง Quiz Logic:
Designed a 10-question dynamic math quiz where questions are generated on the fly.
๐ Enhanced User Feedback:
Utilized sonner
library for instant feedback with toasts on correct/incorrect answers.
๐ Voice Features:
Added text-to-speech functionality for reading out quiz questions.
Tools Used ๐ ๏ธ
๐จ Frontend: React.js, TypeScript, Tailwind CSS
๐ APIs: AssemblyAI Real-Time Speech-to-Text
๐ Animation: Framer Motion, React Confetti
๐ Feedback: Sonner (toast notifications)
Demo Features ๐ฏ
๐ค Real-time voice input for answering quiz questions.
โจ Beautiful UI with glowing animations and transitions.
๐ Celebratory effects upon quiz completion.
๐ Question narration via browser's speech synthesis.
๐ Score and high-score tracking to keep users engaged.
๐ Leaderboard to compete with friends and other users.
๐ค Personalized profile with user stats and achievements.
๐ Practice mode for honing skills in a relaxed setting.
Journey ๐
๐ The development of VoiceMath was an exciting challenge!
๐๏ธ Integrating AssemblyAIโs Streaming API was straightforward with detailed documentation. I used the API to capture real-time audio input and transcribe it into text for evaluating quiz answers.
๐ซ A focus on user interactivity led to implementing Framer Motion for smooth animations and creating an engaging visual design.
๐ Adding voice narration via the browser's Speech Synthesis API enriched accessibility and created a delightful experience.
๐ This project qualifies for additional prompts as it uses AssemblyAIโs Streaming API for its core functionality, creating a truly interactive real-time application.
Thanks for Reading! ๐ก
โค๏ธ Made with love by Aniruddha Adak
Posted on November 23, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.