Music theory is a PHP class that provides a solution for generating music scales and chords based on well known music theory rules. It applies the music theory to generate scales and chords by names based on interval patterns between notes. The class can generate scale notes by provided scale name and type, generate chord notes by provided chord name and type, transpose scales, transpose chords, generate all chords that include provided notes, generate all scales that include provided notes, generate all scales that suit provided chords, and generate all chords for provided scale.
Guitar Chord API class can be used to search for guitar chords using the Guitar Chord API. It can send an HTTP request to the Guitar chord API Web server to find chord variations based on given data about a chord by specifying the chord name, chord modification, and/or string/fret combination.