Abstract
This paper presents an algorithm for the automatic detection of chord names, scales and tonalities from music file, expressed in MusicXML format which has enough information to determine harmonies vertically like 4-part choir. Chord names are absolute names which can be used and analysed independently of the tonality An algorithm selecting the best chord name is described, which can decide the most appropriate one from ambiguous situations. Candidate musical scales are extracted using the notes in a given time window. The tonalities of the music are determined using the chord names and candidate scales. The final output format of the process is also MusicXML file with chord names, marked non-harmonic notes, relative harmonic symbols and tonalities.
MusicXML 파일로 표현되는 수직적으로 화음을 결정할 수 있는 충분한 정보가 있는 호모포니(homophony) 4부 합창 형식의 음악에서 화음 이름을 자동으로 판단하고 사용된 음계와 검출된 화음 이름을 이용하여 조성을 자동으로 검출하는 알고리듬을 기술한다. 화음 이름은 사용된 조에 관계없이 분석이 가능한 구성 화음의 절대적인 이름이나 환경에 따라 두 개 이상의 화음 이름으로 결정될 수 있는 여러 상황이 존재하게 되는데, 몇 가지 파라미터를 이용하여 상황에 가장 적절한 화음을 선택하는 알고리듬을 기술한다. 또한 사용된 음들을 이용하여 음계를 추정하고, 구해진 화음 이름과 추정된 음계를 이용하여 음악의 조성을 파악하는 알고리듬을 기술한다. 조성이 결정되었으면 다시 조성과 파악된 조성을 기반으로 화음을 표기하고 MusicXML 파일로 출력한다.