Is there any way to make the notation more realistic, that is, notes with stems in a grand staff? And not green?
also, is there some way to make chunks of the score appear as static blocks, and not scrolling, the way performers reading from sheet music would see it? Thank you. |
Hi syntopicon After finding PB last night I can only say I am blown away by it's abilities when connected to a digital piano. My partner who plays pinao, could only complain about the colours of PB's score display (as well as not writing the music with proper annotations) Being a PHP/MySQL developer and XHTML Designer by trade i decidd that I'd look at the source to PB. Well after staying up all night giving myself a crash course in C++ and QT, i've at least managed to change the colours to represent more commonly written sheet music (ie, Black staffs, and notes). (See image below) To make the changes in the source, you will need to edit Cfg.h, GlView.cpp and Draw.cpp then rebuild PB. As a courtesy, I have uploaded a copy of my build that you can replace your current build with or extract from the .zip and run. I had to include all new QT4 dll files as I built PB using the latest version of QT. You can download the zip file (5.6mb) from: HERE As for the technical side of things, below are the code changes I have made. In cfg.h from Line #94 replace: with Draw.cpp @ Line #533(To change from that ugly blue bar to a single thin green line) Change: with GlView.cpp @ line #188 change with GlView.cpp @ line #221 change with GlView.cpp @ line #254 change with
|
Administrator
|
Hi
Thanks for your encouragement and for the code update, Do you think that those new colours should be added to PB as an option? Please let me know if they work OK for you and your partner or do you find you switching back to the green on black? If it is OK then I would like to include this as an configuration option.
Black notes on white background do not work for me for the following reasons. On older monitors (including on my net book) with slow display update rates the black notes look very blurred when they move. Using the single green colour I was also trying to use the eye ability to persist a flash of light (i.e. the green note)
If you would like to work on this more so that we can get both sets of colours in PB then please let me know. Also please could you ensure that you always work with the latest code from svn. I have some interesting changes to check in svn on "rhythm tapping" using a single piano key which is suitable for beginners. Thanks Louis On Mon, Jan 10, 2011 at 1:22 AM, david [via Piano Booster] <[hidden email]> wrote: Hi syntopicon |
Hi Louis,
I'd be delighted to help you with this :) Please understand though that PB is my first ever C++ projects and experience using QT. I would also like to extend to you an offer or fre ebsite hosting for PB on my own personal dedicatd servers in Canada.. I can also help wih registering a domain name such as pianbooster.org -Dave |
Administrator
|
Hi David,
That would be really great, First I need you to confirm that black notes on white work ok on your setup. (They did not work ok on my setup hence the green notes). I don't want to add this option if it is not good enough. The first stage is to move every colour into config,h with a comipile switch (#ifdef) to select the colour theme. After that we will get runtime theme changing working. Please get the latest code from svn. I use totoisesvn. For now please send me a patch and I will add your changes to the source tree. Regarding your offer on the website, I prefer the current sf host as it is always supported without having to remember to pay for the host. However the current webpage is in svn and help with that would be great Thanks Louis |
Hate to bring up such an old thread, but I'm excited. going to get the latest source. hopefully this code is still relevant.
|
In reply to this post by david
|
Free forum by Nabble | Edit this page |