Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Melody analysis inspired by Forest Gump main theme #100

Open
oggy22 opened this issue Apr 10, 2022 · 0 comments
Open

Melody analysis inspired by Forest Gump main theme #100

oggy22 opened this issue Apr 10, 2022 · 0 comments

Comments

@oggy22
Copy link
Owner

oggy22 commented Apr 10, 2022

Given the sentence lenght, e.g. 4 bars, analyze melody by cutting it into sentences and creating a tree out of them based on how long they match.

Start with the first sentence and make this the main branch of the tree. The second sentence is based on the first but with a different ending. The third one can be based on either first or second, etc.

To create a new sentence, find the sentence which matches the longest with it, highest number of identical notes starting from the beginning. Once they differ the new sentence should have its ending defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant