Skip to content

A PHP implementation for the Krumhansl-Schmuckler key finder algorithm

License

Notifications You must be signed in to change notification settings

Jon-Salmon/KrumhanslSchmuckler-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

KrumhanslSchmuckler-php

A PHP implementation for the Krumhansl-Schmuckler musical key finding algorithm

How to use

  • Import the module
  • Initialise the KeyFinder class
  • Add chords to the object using the addChord(string $chord) function (note: flat chords currently not implemented)
  • Find the key of the music using the getKey() function (return's a string)

Current Limitations:

  • Minor key finding unspoorted, should return the equivalent major key.
  • Doesn't currently support the flat sign 'b' as an input.

About

A PHP implementation for the Krumhansl-Schmuckler key finder algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages