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

Improved piano player and auto play #1214

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

kuhlkrein
Copy link
Collaborator

Various improvements for being able to play most of the midi files with PianoSight

  • change midi key to key player by sequencer player
  • new menu
  • autoplay
  • progress slider
  • select chanel

Copy link
Contributor

@Adrieennn Adrieennn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me, didn't have any issue when testing the implementation.

Copy link
Contributor

@christophezei christophezei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes works fine.
I only have some comments that can improve the game:

  • I realized while in manual mode you can hear the song before clicking on the intended key.
  • When the game ends we don't have any feedback and we can't play anymore unless we drag the progress bar to the beginning this could be more user friendly by ending the game once the song finishes like other games .

Copy link
Collaborator

@schwabdidier schwabdidier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@schwabdidier
Copy link
Collaborator

@kuhlkrein before merging, add @christophezei's comments as issues

@kuhlkrein
Copy link
Collaborator Author

@kuhlkrein before merging, add @christophezei's comments as issues

@schwabdidier done

@kuhlkrein
Copy link
Collaborator Author

I fixed the second point given by christophe

@kuhlkrein
Copy link
Collaborator Author

fix #1158



public void start() {
if (!sequencer.isRunning()) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to change this function to avoid play before touching key

@kuhlkrein
Copy link
Collaborator Author

Do not merge for now

@schwabdidier schwabdidier marked this pull request as draft August 13, 2020 08:24
@stale
Copy link

stale bot commented Nov 18, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

Successfully merging this pull request may close these issues.

5 participants