Authors: Danny, Pushkar, Ashahid, and James
Part of: fonn
Source: SPARQL endpoint
Export
{'sparql_endpoint': 'https://polifonia.disi.unibo.it/fonn/sparql', 'template_mode': 'statistics', 'title': 'Frequently Occurring Patterns ', 'color_code': ['#39c6b4', '#17cf31'], 'section_name': 'fonn', 'subtitle': 'FoNN - FOlk N-gram aNalysis', 'curator': 'Danny, Pushkar, Ashahid, and James', 'description': '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.', 'dynamic_elements': [{'position': 0, 'operations': [], 'type': 'textsearch', 'textsearch_userinput': '', 'textsearch_title': 'How many patterns do you want to see? Eg, 10.', 'textsearch_query': 'PREFIX jams:<http://w3id.org/polifonia/ontology/jams/>\r\nSELECT ?pattern (COUNT(?pattern) AS ?totalFreq) WHERE {\r\n ?annotation jams:isJAMSAnnotationOf ?tune_file.\r\n ?annotation jams:includesObservation ?observation.\r\n ?observation jams:ofPattern ?pattern .\r\n}\r\nGROUP BY ?pattern\r\nORDER BY DESC(?totalFreq)\r\nLIMIT 10', 'extra_queries': [], 'map_filters': []}]}
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.