[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Import filter for CapXML
From: |
Andreas Schneider |
Subject: |
Re: [Denemo-devel] Import filter for CapXML |
Date: |
Mon, 13 Apr 2015 22:33:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
Am 13.04.2015 um 10:12 schrieb Richard Shann:
> The main problem with basing your import on Denemo's XML import (ie the
> file src/core/importxml.c rather than src/export/importmusicxml.c) is
> the obscurities that you will see in src/core/importxml.c starting at
> the main function importXML() and the associated parseMovement() just
> before - the creation of staffs, insertion of notes etc is all
> accompanied by calls to functions to set up things for the display
> appearance which are poorly understood.
>
> What might be good is to parse CapXML and write Denemo's XML saving that
> to a temporary file and then load it. This would mean that all the
> obscure calls to staff_beams_and_stems_dirs () and a half-a-dozen others
> continue to be done by src/core/importxml.c and not repeated in your new
> importer. There is some obsolete fields in src/core/importxml.c which
> are no longer present in modern .denemo files, so these should be
> skipped - mostly I hope they are marked as "backward compatibility".
So do you think it would be better/easier to use the Scheme approach?
Andreas
- Re: [Denemo-devel] Import filter for CapXML, (continued)
- Re: [Denemo-devel] Import filter for CapXML, Andreas Schneider, 2015/04/06
- Re: [Denemo-devel] Import filter for CapXML, Richard Shann, 2015/04/07
- Re: [Denemo-devel] Import filter for CapXML, Richard Shann, 2015/04/07
- Re: [Denemo-devel] Import filter for CapXML, Andreas Schneider, 2015/04/07
- Re: [Denemo-devel] Import filter for CapXML, Richard Shann, 2015/04/08
- Re: [Denemo-devel] MIDI import, Andreas Schneider, 2015/04/08
- Re: [Denemo-devel] MIDI import, Richard Shann, 2015/04/08
- Re: [Denemo-devel] Import filter for CapXML, Richard Shann, 2015/04/09
- Re: [Denemo-devel] Import filter for CapXML, Andreas Schneider, 2015/04/12
- Re: [Denemo-devel] Import filter for CapXML, Richard Shann, 2015/04/13
- Re: [Denemo-devel] Import filter for CapXML,
Andreas Schneider <=
- Re: [Denemo-devel] Import filter for CapXML, Richard Shann, 2015/04/14
- Re: [Denemo-devel] Import filter for CapXML, Andreas Schneider, 2015/04/14
- Re: [Denemo-devel] Import filter for CapXML, Richard Shann, 2015/04/14
- Re: [Denemo-devel] Import filter for CapXML, Andreas Schneider, 2015/04/14
- Re: [Denemo-devel] Import filter for CapXML, Richard Shann, 2015/04/14
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [Denemo-devel] The scheme you posted in the MIDI bug, Richard Shann, 2015/04/16