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

Fix importing MIDI file from command line #3287

Closed
wants to merge 2 commits into from

Conversation

zonkmachine
Copy link
Member

Fixes #2562

Call Engine::updateFramesPerTick() as suggested by @michaelgregorius

@jasp00
Copy link
Member

jasp00 commented Jan 24, 2017

This does not look right. If the model is inconsistent, then the fix should be in the model rather than in a GUI object.

@zonkmachine
Copy link
Member Author

then the fix should be in the model rather than in a GUI object.

Right. Should this be done in the MidiImport.cpp instead? I just noticed that we also don't set the tempo for the project and Song::setTempo(); calls Engine::updateFramesPerTick() so setting the tempo will fix this.

@zonkmachine
Copy link
Member Author

I'm more off than I thought with this. I'll close this for now since there is development going on with the drumstick branch. Interestingly that branch sees the precise same issues.

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

Successfully merging this pull request may close these issues.

2 participants