research

Procedural Generation of Musical Metrics Based on Lyrics Analysis

Abstract

Mais do que a componente semântica e discursiva, as letras musicais contêm geralmente outro tipo de informação, que mais do que com o ato da escrita, tem que ver com o ato da pronúncia. Assumindo que uma letra musical é escrita para posteriormente ser reproduzida verbalmente, há um cuidado para que esse processo nos transmita algo também, completamente diferente daquilo que nos é transmitido pela letra no papel. A sincronia das acentuações fonéticas e lexicais da letra com as componentes musicais em que se insere é disso o maior exemplo. Neste projeto, a proposta é criar um sistema capaz de devolver informação musical para uma dada letra. Mais concretamente, informação relativa à métrica. Para o efeito, utilizarei o CMUdict, um dicionário de informação fonética para a língua inglesa que contém, para cada palavra, a divisão por fonemas com os respectivos marcadores referentes à sua acentuação. Todo o funcionamento do sistema será baseado na linguagem de programação Python, tendo sido todo o código desenvolvido por mim especialmente para o projeto. Para cada letra introduzida, será executada uma análise por versos e cada verso será transformado num template métrico. Todos os versos da letra serão ajustados a cada um dos templates e serão classificados, de forma a perceber-se qual o template que melhor se ajusta à letra em geral. O template com maior pontuação será escolhido como estrutura métrica final.More than the semantic and discursive components, the musical lyrics often contain other information, that more than with the act of writing, has to do with the act of pronunciation. Assuming that the musical lyrics are written to later be reproduced verbally, there is a caution for this process to pass us something too, completely different from what is conveyed by the lyrics on paper. The synchrony of phonetic and lexical accents of the lyrics with the musical components in which it belongs is a great example of that. In this project, the proposal is to create a system able to return music information for a given lyrics. More specifically, information on the metrics. To this end, I will use the CMUdict, a phonetic information dictionary for English language that contains, for each word, the division of its phonemes with the respective markers related to their stress. The entire operation of the system will be based on Python programming language, having all the code been developed by me especially for the project. For each letter entered, it will run an analysis by verses and each verse will become a metric template. All the verses from the lyrics will be adjusted to each of the templates and will be classified in order to select what is the template that best fits the letter in general. The template with the highest score will be chosen as the metric final structure

    Similar works