Chord symbols - import from xml? slot linkage?

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
pedrnun
Posts: 74
Joined: Sun Jan 17, 2016 3:23 am
Contact:

Chord symbols - import from xml? slot linkage?

Post by pedrnun » Wed Oct 04, 2017 11:21 pm

Dear bach developers!

I was wondering if it is possible to use chord symbols with [bach.score]... (I guess not, so here's a feature request!)
I have a bunch of MusicXml files with from which I would like to retrieve the chord symbols. The syntax is simple enough and looks like this (for a Gm7b5 chord symbol):

Code: Select all

     <harmony print-frame="no">
        <root>
          <root-step>G</root-step>
          </root>
        <kind text="-7b5" use-symbols="yes">half-diminished</kind>
        </harmony>
Maybe I can write some sort of chord symbol parser in JavaScript or maybe someone knows of a tool that already does that (in which case, I would appreciate the tip). But I'm guessing I would find usefulness in being able to access chord symbols directly in [bach.score], via slot linkage. Something in line with the "read Yester.xml (importlyrics 7)" example... Do you think that is something to hope for in the future?

Best,
Pedro Louzeiro

danieleghisi
Site Admin
Posts: 1349
Joined: Fri Dec 03, 2010 1:25 pm

Re: Chord symbols - import from xml? slot linkage?

Post by danieleghisi » Fri Oct 06, 2017 6:26 pm

Hi Pedro,

I have to say, it's not in our most urgent to-do list, but if it was feasible (I have to check with Andrea) it would be nice to add it at some point as a slot import/export, indeed.

d

Post Reply