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

the midi files don't seem to have any duration #12

Open
jtn191 opened this issue Jan 21, 2019 · 4 comments
Open

the midi files don't seem to have any duration #12

jtn191 opened this issue Jan 21, 2019 · 4 comments

Comments

@jtn191
Copy link

jtn191 commented Jan 21, 2019

the notes in the midi files don't seem to have any duration or length, as seen in a midi editor. they do seem to have "starts" or pulses

@HackerPoet
Copy link
Owner

Is this possibly caused by using Python 3 instead of 2?

@BrandonDyer64
Copy link

I don't think so. I ran the scripts with Python 2 and saw the same results.

@jtn191
Copy link
Author

jtn191 commented Jan 23, 2019

@HackerPoet my guess is it would have something to do with how the midi files are generated. I know more about midi functionally than the technical "programmerly" aspects of it but my guess is that your program currently generates midi data--but without the duration data. Whatever you use to test the midi file (like Windows Media player? that's what I first reach for) might "round up" going "I have the start of these notes, I'll just pretend they're 16th notes, 8th notes or whatever". In Reaper, they are inaudible (and invisible unless highlighted) and in something like https://onlinesequencer.net/import they play but they're invisible unless highlighted iirc.

One other thing is duration could be an element that is initially analyzed in the model?

I have some super beginner questions about how I would go about training neural nets with my own data. Can I email you?

@HackerPoet
Copy link
Owner

Ah I see what you mean now. Yeah the notes have zero duration when saved to midi, it was just easier to code that way and I didn't know there were midi players/editors that had a problem with it.

Unfortunately, this project is currently not maintained. The GitHub is just here to share the code, and I don't have time to solve issues or add features. However, I may be able to review and merge simple pull requests.

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

3 participants