Elain chew ( Music, mathematics and computers) QUESTION: How can tonality be modelled using computers?

Elain chew ( Music, mathematics and computers) QUESTION: How can tonality be modelled using computers?