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

midi grep #25

Open
norayr opened this issue Mar 4, 2020 · 2 comments
Open

midi grep #25

norayr opened this issue Mar 4, 2020 · 2 comments

Comments

@norayr
Copy link

norayr commented Mar 4, 2020

Can you add the utility to grep throughout generated archive to found desired or similar melody?

@allthemusicllc
Copy link
Owner

allthemusicllc commented Mar 12, 2020

@norayr we could look into adding some grep functionality, though plain old grep or ripgrep might actually do the trick. For pinpointing a specific melody, does the partition directive fit your use case?

@norayr
Copy link
Author

norayr commented Mar 12, 2020

in order to grep i have to understand what kind of patterns midi file contains except of the notes themselves, to ignore anything else, right?

the generated melodies are in midi format only, not written like A#, E, E, that's why i was thinking of grep which would be able of grepping a melody throughout midi files.

I'll try to understand what does the partition directive do, and how to use it.

Howevery I see the problem is deeper.
May be we need an infrastructure for a future composers to check if the melody is under the copyright or not.
But for that we need to know which subset of generated set is already copyrighted.

Imagine, you came up with a melody. Now you can check if it's in public domain or not.
But I have no idea how to mark already existing melodies, other than a website, or an app which would allow people to contribute existing melodies, and some moderation. Which is hell of a work.

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

2 participants