Skip to content

A Python script that analyzes musical chords, detects their type (major, minor, diminished, augmented, 7th, etc.), identifies the root note and inversion, and plays the chord using sine waves.

License

Notifications You must be signed in to change notification settings

yohaann196/chrdplyr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chord Analyzer & Player

A Python script that analyzes musical chords, detects their type (major, minor, diminished, augmented, 7th, etc.), identifies the root note and inversion, and plays the chord using sine waves.

Features

  • Input chords as text (e.g., C E G or Bb D F)
  • Detects chord type, root note, and inversion
  • Continuously interactive: keeps asking for chords until you type exit
  • Plays each chord in real time using sine wave synthesis
  • Perfect for music students or hobbyists learning music theory

Usage

  1. Make sure you have Python 3 installed.
  2. Install dependencies:
pip install numpy sounddevice

About

A Python script that analyzes musical chords, detects their type (major, minor, diminished, augmented, 7th, etc.), identifies the root note and inversion, and plays the chord using sine waves.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages