[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Export from LilyPond to MusicXML (Thomas Morley)
From: |
Thomas Morley |
Subject: |
Re: Export from LilyPond to MusicXML (Thomas Morley) |
Date: |
Thu, 7 Oct 2021 11:46:44 +0200 |
Am Do., 7. Okt. 2021 um 11:30 Uhr schrieb Peter Toye <lilypond@ptoye.com>:
>
> The potential need has gone away now - my Sibelius user has told me that he
> uses ScoreMuse to export the PDF into a suitable format for Sibelius. Looks
> to me like an expensive way of doing it, but if he can afford Sibelius he can
> probably afford ScoreMuse as well.
>
>
>
> I agree that exchanging music information between different engravers is an
> extremely complex problem and I don't underestimate the difficulty.
>
>
>
> I tried Jan-Peter's code on Github, but it seems to be broken on recent
> versions of LilyPond. I'm told it works on 19.0 but I don't have that
> version any more. And I don't have a contact for him to ask - is he on this
> mailing list?
Not sure Jan-Peter's approach is the best method ...
Anyway, applying the following diff makes it work with recent versions
(although you'll get a bunch of messages):
~/openlilylib/lilypond-export (master)$ git diff
diff --git a/api.scm b/api.scm
index 8307dc5..3bfa69a 100644
--- a/api.scm
+++ b/api.scm
@@ -275,8 +275,8 @@
(let ((musicstep (ly:context-property context ctprop::export-step))
(staff-id (ly:context-property context ctprop::staff-id))
(voice-id (ly:context-property context ctprop::voice-id)))
- (ly:message "stem info ~A" (map car (ly:grob-properties grob)))
- (tree-set! musicstep `(,staff-id ,voice-id stem dir)
(ly:grob-properties grob)) ;(ly:stem::calc-direction grob))
+ (ly:message "stem info ~A" (map car
(ly:grob-basic-properties grob)))
+ (tree-set! musicstep `(,staff-id ,voice-id stem dir)
(ly:grob-basic-properties grob)) ;(ly:stem::calc-direction grob))
))
)
Cheers,
Harm
- Re: Export from LilyPond to MusicXML (Thomas Morley), Peter Toye, 2021/10/05
- Re: Export from LilyPond to MusicXML (Thomas Morley), address@hidden, 2021/10/05
- Re: Export from LilyPond to MusicXML (Thomas Morley), Jean Abou Samra, 2021/10/06
- Re: Export from LilyPond to MusicXML (Thomas Morley), Peter Toye, 2021/10/07
- Re: Export from LilyPond to MusicXML (Thomas Morley),
Thomas Morley <=
- Re: Export from LilyPond to MusicXML (Thomas Morley), Peter Toye, 2021/10/07
- Re: Export from LilyPond to MusicXML (Thomas Morley), Jean Abou Samra, 2021/10/07
- Re: Export from LilyPond to MusicXML (Thomas Morley), Thomas Morley, 2021/10/07
- Re: Export from LilyPond to MusicXML (Thomas Morley), Jean Abou Samra, 2021/10/07
- Re: Export from LilyPond to MusicXML (Thomas Morley), Jacques Menu, 2021/10/08
- Re: Export from LilyPond to MusicXML (Thomas Morley), Jan-Peter Voigt, 2021/10/08
- Re: Export from LilyPond to MusicXML (Thomas Morley), David Kastrup, 2021/10/08
- Re: Export from LilyPond to MusicXML (Thomas Morley), Jan-Peter Voigt, 2021/10/08
- Re: Export from LilyPond to MusicXML (Thomas Morley), Jan-Peter Voigt, 2021/10/07
- Re: Export from LilyPond to MusicXML (Thomas Morley), Jan-Peter Voigt, 2021/10/08