About this story

Authors: Danny, Pushkar, Ashahid, and James

Part of: fonn

Source: SPARQL endpoint


Frequently Occurring Patterns

FoNN - FOlk N-gram aNalysis

FoNN is a software component implementing similarity measures for melodies based on n-gram models. FONN defines several variations of patterns as n-grams. In this story, we define a pattern as a 4-, 5-, or 6-gram of pitch classes in the melody. Have a look at the list of the top 20 most frequent 6-gram patterns in the corpus. Several are rather uninteresting, e.g. containing repeated notes. These patterns can be filtered out eg using a complexity measure which we will demonstrate in a related FoNN MELODY story.