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

index error from load midi? #4

Open
stevedipaola opened this issue Mar 17, 2022 · 2 comments
Open

index error from load midi? #4

stevedipaola opened this issue Mar 17, 2022 · 2 comments

Comments

@stevedipaola
Copy link

All worked with your midi files, so I tried load known Bach and Beethoven midi files, they loaded but I then got at
Trio Mashup Time!:
IndexError Traceback (most recent call last)
in ()
8 song_one_trio = 1#@param {type:"integer"}
9 song_two_trio = 0#@param {type:"integer"}
---> 10 start_trio = all_trios[0][song_one_trio]
11 end_trio = all_trios[1][song_two_trio]

Is there a specific setup of the midi that is needed? any help appreciated

@MatthewAwesome
Copy link
Owner

Thank you, Steve, for opening this issue.

The 'trio' as referenced in the model relies upon MIDI files containing Drum, Bass, and Lead parts.

I'm guessing the Bach and Beethoven files might not have said parts. However, all hope is not lost.

You might need to use the '16 bar melody model'

Some of the code in my script may need to be modified to this end, but the above link should provide a good starting point.

Happy to provide additional help as I am able!

@stevedipaola
Copy link
Author

Got it - yes I see now that you made this clear in the github - I was too quick to try it immediately play with your notebook and missed the warning. I see the 16 bar melody model and will attempt to set it up. thanks! I have been writing my own piano and violin pieces ( or parts of pieces), in midi (on a keyboard with a violin vst) and was interested in seeing if this AI mashup (of two different melody phases of mine) helps with creating interesting variants (both to the violin melody and the underlying piano work ) to give me creating ideas. Any suggestions for a way to do this is appreciated. I do a lot with Ai art /poetry but this is a new foray into ai music.

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