๐ŸŽ™๏ธVoiceMathโž•: Speak, Solve, Master Math! ๐Ÿง 

aniruddhaadak

ANIRUDDHA ADAK

Posted on November 23, 2024

๐ŸŽ™๏ธVoiceMathโž•: Speak, Solve, Master Math! ๐Ÿง 

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

Starting of Quiz Screenshot page
Description: Interactive Quiz Interface

Ongoing Quiz Screenshot
Description: Ongoing quiz interface with real-time voice inputs.

Result Page Screenshot
Description: Results Page of Math Quiz

๐Ÿง  Logical Reasoning Quiz Section

Logical Reasoning Quiz Interface
Description: Interactive Logical Reasoning Quiz Interface

Ongoing Logical Reasoning Quiz
Description: Ongoing Logical Reasoning Quiz interface with real-time voice inputs

Result Page of Logical Reasoning Quiz
Description: Results Page of Logical Reasoning Quiz

๐Ÿ“š Practice Section

Practice Screenshot
Description: Practice mode for users to improve their math skills.

๐ŸŒŸ Leaderboard

Leaderboard Screenshot
Description: A detailed leaderboard showcasing user rankings.

๐Ÿ‘ค Profile Page

Profile Screenshot
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

๐Ÿ’– ๐Ÿ’ช ๐Ÿ™… ๐Ÿšฉ
aniruddhaadak
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.

Related

AILingo
devchallenge AILingo

November 25, 2024

subtitleGenAI subtitle generation platform
devchallenge subtitleGenAI subtitle generation platform

November 25, 2024

Podcast Content Generator
devchallenge Podcast Content Generator

November 25, 2024

MovieLens - Smart Movie Analysis Redefined
devchallenge MovieLens - Smart Movie Analysis Redefined

November 25, 2024

Sync: A real-time VIdeo Chat Application
devchallenge Sync: A real-time VIdeo Chat Application

November 25, 2024

ยฉ TheLazy.dev

About