Highlighted intersecting zones with comments
Hi,
I have tried recently MuseScore and consider it a really wonderful application.
I would be quite happy if I could select arbitrary parts of the score page and highlight them in different colors, possibly mixing differently colored highlighted zones and seeing the resulting new colors in the intersections (for ex. yellow + blue = green), and then be able to print the result.
(see the attachment)
Attachment | Size |
---|---|
sample.jpg | 209.77 KB |
Comments
The highlighted comment zones/layers (HCL) can be attached to a beat of a measure.
For example if the upper left corner of a HCL is attached to the second beat of the third measure,
then if for some reason the third measure goes to another line, the HCL goes also with it, having its upper left corner always attached to the second beat.
The HCL can be resizable and editable (location/color/transparency/free cursor comment)
In reply to …some more details by some_
I would recommend doing this kind of work in an external image editor.
However, just to show you what can be done, download a 0.9.4 prerelease and open the mscz file attached below.
It is possible to import image files by dragging-and-dropping a compatible image file (PNG or JPEG) onto an open score. It is actually possible to import image files using versions before 0.9.4 but I don't recommend using the feature in earlier versions since the image will disappear from the score if you ever change the location of your original image file.
The attached score uses semi-transparent PNG images for the highlighted regions. To unlock the aspect ratio of an imported image right click on the image and select "Image Properties...". Unmark the corresponding checkbox.
I also included the PNG files in case you wanted to experiment with them yourself.
Just curious... what would you use this for?
...Really helpful.
I would use that when I need to annotate some parts of a given score, and in my case I sometimes need that and appreciate that feature very much, even in that raw state (though it seems to not quite work).
I downloaded the project and the images, but when I opened the project (I am running 0.9.4) there were not any visible images. I tried to find them anyway and realized that they were there, but just as placeholders.
Then I tried to drag and drop one image in a new project and it worked fine. Saved the project, reopen it – everything was OK.
But when I tried to add more images in the score (even without resizing/intersecting them) then when tried to save the project there was an application error and nothing could be saved.
Then I tried again without intersecting/resizing and image and this time saving worked, but when I reopened the project there was not any image visible though the image placeholders were again where I put the images last.
So adding one image works, but adding more images doesn't work.
Also copy/paste image doesn't work, and when trying to paste some copied (Ctrl+C) image, some image being on focus, then the application crashes.
And if I save a two images project and then reopen it (the images are not visible) and I try to to delete one or both of the images and to save the project again, the application crashes ("run time error").
I noticed that in the project dir there were constantly generated files - msHpxxxx and mspxxxx, which as I understand should supply the images (or was some temporary file to incorporated into the project??) and also one .[proj. name].mscz. file.
OK, now I realize that the project file is a zip. I tried to save again a project with two images and then checked the zip container and the images were there, and also in the project file there was a description of both images, but they are still not visible when the project is saved and reopened
<Image>
<offset x="30.1963" y="40.1839"/>
<path>Pictures/pic1.png</path>
<size w="16.4253" h="16.4253"/>
</Image>
<Image>
<offset x="38.5533" y="32.7441"/>
<path>Pictures/pic2.png</path>
<size w="16.4253" h="16.4253"/>
</Image>
In reply to Thanks for your tips! by some_
Sorry, there is a bug in reading back the saved images. I will fix this in the next commit.
In reply to Thanks for your tips! by some_
The msHpxxxx files are backup versions of the score you are working on. They are unrelated to the images and it is safe to delete them if you want. If you want to see what the backup versions contain, then add the appropriate extension (such as ".mscz") and open it in MuseScore.
Hi,
I have tested the 1484 rev. I can now add more images and then save successfully the file and reopen it. Thanks!
And is it possible that the COPY / PASTE functionality works for images? (It doesn’t at the moment.) Because if I’d like to put more highlighted comments, then I have to drag and drop many images which is quite difficult and slow. And if the copy/paste worked I could instead just copy some of the already imported images and then paste it somewhere in the text.
If I set a development environment (I installed recently a new Kubuntu) how exactly I can ensure that by default all the images are with free aspect ratio when edited? Because I always need them to be like that. Actually it would be nice if that could be set in the application preferences.
Concerning saving, there is some problem though: If immediately, after saving the file (with imported images), I move one of the images to a new position and then try to save the document again, I get an exception (see attachm.) .
In reply to Hi, I have tested the 1484 by some_
r 1491 fixes the crash on second save.
Extending the copy&paste functionality is a 0.9.5 thing.
If you want to compile mscore yourself, you
can change the default picture behaviour by editing the line 36 in image-cpp from:
_lockAspectRatio = true;
into
_lockAspectRatio = false;