Skip to content

A lightweight Call Quality Analyzer built with Python and Whisper in Google Colab. It extracts talk-time ratio, questions asked, sentiment, and actionable insights from sales calls.

Notifications You must be signed in to change notification settings

Vimal2023/Call_Quality_Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎧 Call Quality Analyzer

This repository contains my submission for the Voice AI Startup Assignment.
The project is built in Google Colab and analyzes sales call recordings to extract useful insights.


πŸš€ Features

  • βœ… Talk-time ratio (percentage each person spoke)
  • βœ… Number of questions asked
  • βœ… Longest monologue duration
  • βœ… Call sentiment (positive / negative / neutral)
  • βœ… One actionable insight for improvement
  • 🎯 Bonus: Speaker diarization (identify Sales Rep vs Customer)

βš™οΈ Tech Stack

  • Python
  • Google Colab
  • OpenAI Whisper – Speech-to-text
  • HuggingFace Transformers – Sentiment analysis
  • Pyannote / WhisperX – Speaker diarization
  • yt-dlp – Extract audio from YouTube

πŸ“Š Approach (Short Explanation)

My approach uses speech-to-text + text analysis.
I first extract the call audio and transcribe it using Whisper, which handles poor-quality audio.
Using timestamps, I calculate talk-time ratio and longest monologue. Questions are counted by detecting ? and interrogatives. Sentiment is identified with HuggingFace transformers. Finally, I generate an actionable insight to improve sales interactions.

For the bonus task, I used speaker diarization with Pyannote/WhisperX to differentiate between the sales rep and the customer.

The system runs under 30 seconds on the free Colab tier.


πŸ“‚ Repository Structure

πŸ“¦ Call_Quality_Analyzer ┣ πŸ“œ Call_Quality_Analyzer.ipynb # Main Colab notebook ┣ πŸ“œ README.md # Project documentation



▢️ How to Run

  1. Open the notebook in Google Colab
  2. Run all cells in order (install β†’ import β†’ download audio β†’ transcription β†’ analysis)
  3. Results will be printed at the end

πŸ“Œ Test File


πŸ‘€ Author

Vimal Anand

About

A lightweight Call Quality Analyzer built with Python and Whisper in Google Colab. It extracts talk-time ratio, questions asked, sentiment, and actionable insights from sales calls.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published