Author Topic: Analysis of music score made in Inkscape  (Read 1071 times)

January 19, 2019, 01:19:59 PM
Read 1071 times

Dissonance

  • Jr. Member

  • Offline
  • ***

  • 14
Hello!

Check out this music analysis I did in Inkscape. I begin with a notation program called Finale. Finale has an export to EPS function, but it doesn't work for me because it seems to lose all the font paths. So, I print to PDF and then open with Inkscape. When I do this, objects get grouped in odd ways. Sometimes I'm not able to break the groups. Also, some characters in some symbol fonts don't display. I add my analysis to the score with Inkscape. Then, I put it into an essay in Word. Unfortunately, Word doesn't display most of the fonts if I import as SVG, EMF, WMF, etc., so I have to do it as PNG. It would be really great if there were fewer problems.

Best,
D

January 19, 2019, 01:24:34 PM
Reply #1

Dissonance

  • Jr. Member

  • Offline
  • ***

  • 14
There's also one other thing that I notice happens in all this process. The only color I use is black, but everything gets turned slightly grey. So, I have to set everything to 255,255,255. This takes a long time because I have to do fill for some things and stroke for others.

January 19, 2019, 04:13:35 PM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I don't know exactly what music analysis is.  But I can probably help you with Inkscape.

I print to PDF and then open with Inkscape. When I do this, objects get grouped in odd ways.

Often in a file format conversion (PDF to SVG here) objects are grouped.  I also don't understand how Inkscape chooses which things to group.  And often the most frustrating part is that there are tons of Groups of 1.  And if there have been a few conversions, they can be nested groups of 1.  There is an extension to ungroup a whole file at once:  https://github.com/cw/inkscape-ungroup-deep  (Let us know if you need instructions for installing an extension.)

Sometimes I'm not able to break the groups.

Be sure to use the Selection tool for ungrouping.  If you use the Node tool and you happen to select one path out of a group, you can't ungroup it by clicking Ungroup.  You have to have a whole group selected before it can be ungrouped.  Using the Selection tool, you can only select whole groups.  (Well, with key shortcuts, you can select individual parts of a group.  But for this problem, don't use key shortcuts.)

Or possibly what you have selected might not be a group at all.  Use the Selection tool to select, and check the status bar to find out what kind of object it is.  You might have selected part of a compound path.  In that case, you'd need to use Path menu > Break Apart.  Although that can get real tricky, real fast.  But let us know if you need to use that, and we can give you some tips to make it easier.

Or possibly you've selected a clone?  Or even part of a symbol?  Check the status bar while using Selection tool  :sel: to learn what kind of object it is.

some characters in some symbol fonts don't display.

You mean they don't display in the PDF, or in Inkscape?

If you don't have the font installed on the computer, you won't be able to see the font at all.  And if that symbol doesn't exist in the font which your computer sustitutes, then it can't be displayed.

Word doesn't display most of the fonts

I'm not sure how Word handles fonts.  I would assume if the font is installed on the computer, Word could use it.  But I don't really know.  If the following info doesn't help, I guess you could look up some support for Word somewhere.

Try converting the text to path, before you save the file in Inkscape.  There are a couple of different ways to do it, and it depends on your needs exactly how you do it.  If you select all the text at once, Path menu > Union will convert all the text to path, but it will end up being a single object (a compound path).  So if you need the texts to be separate objects, you could still use Union, but you'd need to select the text separately.

The other way to do it might take a lot more time, again, depending on your needs.  Path menu > Object to Path, might be fine, just by itself.  You'll end up with groups, so it depends on if you want the text grouped, and how you want it grouped.  Just experiment, and I'm sure you can figure it out.

Converting the text to path might solve the problem of certain symbols not showing up, too.

This takes a long time because I have to do fill for some things and stroke for others.

You could use either the Find dialog (Edit menu) or Edit menu > Select Same, to be able to select everything that's a gray stroke or gray fill.  I'm guessing that Select Same will be easier than Find.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 21, 2019, 03:39:05 PM
Reply #3

Dissonance

  • Jr. Member

  • Offline
  • ***

  • 14
Hi brynn,

Thank you so much! This was so helpful. I'm using what you wrote to help me better understand Inkscape.

I think the problem I'm having with groups is originating in the music notation program. Similar characters will be in a single group even though they are on opposite sides of the page. Since they are in a single group, I have to duplicate the group and delete parts of each to operate on the characters separately. I realize that this isn't a problem with Inkscape, but something that happens in the process before I get to Inkscape.


some characters in some symbol fonts don't display.

You mean they don't display in the PDF, or in Inkscape?


Some installed fonts don't show up in the font list in Inkscape. For some fonts that do show up in the font list in Inkscape, some characters don't display in Inkscape. I noticed that results change from version to version of Inkscape. I wonder if there's a bug or limitation.


Word doesn't display most of the fonts

Try converting the text to path, before you save the file in Inkscape.


This worked perfectly!


This takes a long time because I have to do fill for some things and stroke for others.

You could use either the Find dialog (Edit menu) or Edit menu > Select Same, to be able to select everything that's a gray stroke or gray fill.  I'm guessing that Select Same will be easier than Find.

Currently, I have no more files with grey colors, but the next time I do, I will try this.

You are awesome for helping me out!

Best,
D

January 21, 2019, 09:45:09 PM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Some installed fonts don't show up in the font list in Inkscape. For some fonts that do show up in the font list in Inkscape, some characters don't display in Inkscape. I noticed that results change from version to version of Inkscape. I wonder if there's a bug or limitation.

We've been having some complaints about this, from Windows 10 users, in version 0.92.3.  (And not for previous versions.)  What is your operating system and Inkscape version?

I was thinking about reporting it as a bug, but since 0.92.4 was just released, developers won't accept bug reports for 0.92.3 anymore.  So I guess we'll just have to wait and see if there are any complaints for 0.92.4.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 22, 2019, 09:52:26 AM
Reply #5

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
... or just try it out with 0.92.4....

January 22, 2019, 09:55:57 AM
Reply #6

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Better even, try it out with the alpha, too.

February 04, 2019, 07:09:58 PM
Reply #7

Dissonance

  • Jr. Member

  • Offline
  • ***

  • 14
Sorry for the late reply. I was running different versions of the software on my work and home machines, so I had to get them in the same place to test. With the latest version of Inkscape, I'm no longer having issues with fonts not being recognized and characters not displaying. Thank you for the feedback!

February 05, 2019, 06:33:22 AM
Reply #8

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
That's good to hear (read), thanks for testing and reporting back!