Help talk:Score/Archive 2

still broken?
Hi, I thought this was fixed, but I've run into trouble here. Do I need to add any parameters or something to fix this, or is this still broken? (I know I need to rewrite the notes into proper LilyPond notation, but I'd like to know if the score system is still broken altogether). Thank you, Dr. Vogel (talk) 23:36, 17 July 2021 (UTC)
 * It's still broken. Only (some) old material can be shown. But there's hope; see T257066 and the announcement there on 10 July 2021, and https://test.wikipedia.org/wiki/Score. -- Michael Bednarek (talk) 02:02, 18 July 2021 (UTC)
 * Thanks for your help. I've been playing at the test site that you pointed me to, and I've managed to learn enough of the language to put together the horn solo that I was trying to write down for the corresponding wikipedia article - hopefully showing soon. Dr. Vogel (talk) 13:51, 18 July 2021 (UTC)
 * After a little more than one year, seems to be working now. -- Michael Bednarek (talk) 01:27, 20 August 2021 (UTC)

Audio playback is not supported in your browser

 * Yes audio works, but I get the message: Audio playback is not supported in your browser. You can download the audio file. (Opera 78.0.4093.147) Grimes2 (talk) 06:34, 20 August 2021 (UTC)
 * Which operating system? Does it work in other browsers? For Opera, I found this advice: "Got to Menu - Settings - Advanced. Look under Privacy and Security - Site Settings - Additional Content Settings - Sound - Click on the button to Allow Sites to Play Sounds." I don't have Opera to test that. -- Michael Bednarek (talk) 10:21, 20 August 2021 (UTC)
 * I've enabled a few scores from within Firefox running under AlmaLinux 8.4 When I checked The God of Abraham Praise for example it ran perfectly also under the Chromium browser.  sorry though, I don't have opera on this machine. Martin of Sheffield (talk) 10:26, 20 August 2021 (UTC)
 * Also works with Firefox and Microsoft Edge under Windows 10. Martin of Sheffield (talk) 10:33, 20 August 2021 (UTC)
 * I've just installed Opera on the Win10 machine and it works for The God of Abraham Praise. The only setting I changed was to move the search engine from Google (which I avoid) to DuckDuckGo. Have you followed Michael's advice? Martin of Sheffield (talk) 10:43, 20 August 2021 (UTC)
 * OK, last test. I've now installed Opera under AlmaLinux with only the search engine change, and it works. Martin of Sheffield (talk) 10:54, 20 August 2021 (UTC)
 * I said already, that it works. But under every bar is the annoying message. Advice doesn't help. Grimes2 (talk) 13:06, 21 August 2021 (UTC)
 * No messages under any of the tests I did for you. Mind you, if you don't want help, why are you asking here? Martin of Sheffield (talk) 14:00, 21 August 2021 (UTC)
 * Thank you. But did you try Symphony No. 3 (Bruckner)? Grimes2 (talk) 14:08, 21 August 2021 (UTC)
 * . Brilliant news though. Martin of Sheffield (talk) 08:13, 20 August 2021 (UTC)

I get that message now too, on random pages. I fixed a LilyPond syntax problem on Symphony No. 3 (Bruckner) and enabled sound for all LilyPond score there, and now they all display that message, but the playback works. This is under Windows with Firefox and Chrome. But this doesn't happen for all pages, e.g. not on The God of Abraham Praise, Die Gedanken sind frei, or indeed on this page (the Hallelujah above), or on the Help page proper overleaf. I'm baffled. -- Michael Bednarek (talk) 13:03, 21 August 2021 (UTC)
 * Can confirm it. Grimes2 (talk) 13:14, 21 August 2021 (UTC)
 * This is being discussed at T266307. -- Michael Bednarek (talk) 13:30, 21 August 2021 (UTC)
 * I investigated. The problem seems to be the indent (colon) before :

I'm going to remove the warning about it in the documentation. -- Michael Bednarek (talk) 12:57, 3 September 2021 (UTC)
 * I don't know whether it was always possible two have two or more tags in the same line, or whether this is new behaviour:
 * This will only work when there's only white space, including line breaks, between the blocks. -- Michael Bednarek (talk) 14:01, 3 September 2021 (UTC)
 * This will only work when there's only white space, including line breaks, between the blocks. -- Michael Bednarek (talk) 14:01, 3 September 2021 (UTC)

Import help
Hi all! For Monymusk, I have a LilyPond score I'd like to import from here. However, when pasting it here and adding the score tags, it produces this:

I've tried tinkering with it, but LilyPond is fantastically complex, so I haven't made any progress. If that file doesn't work for some reason, alternatives are here or (in .mscz) here and here. Could anyone help? Cheers, &#123;{u&#124; Sdkb  }&#125;  talk 23:46, 27 October 2021 (UTC)
 * Simpler is usually better: I've fixed it into something that works with the current format of lilypond here on Wiki. Cheers, RandomCanadian (talk / contribs) 00:01, 28 October 2021 (UTC)
 * @RandomCanadian, perfect; much thanks! &#123;{u&#124; Sdkb  }&#125;  talk 00:15, 28 October 2021 (UTC)

Annoying/slow play bar rendering
If a page contains both sound output from  (1) and from mw:Extension:TimedMediaHandler, the Lilypond play bar will reformat which can take considerable time. An extreme example can be seen at Mode (music). This behaviour is discussed at T295514 and T245377. A resolution might be some time off. -- Michael Bednarek (talk) 01:36, 23 November 2021 (UTC)

vorbis="1" deprecated
In "Help:Score" text, the parameter vorbis="1" is used. I think, its better to replace with sound="1". Grimes2 (talk) 11:10, 18 December 2021 (UTC)

Some Renaissance notation bits don't seem to be working
I can't seem to make a few documented Lilypond functions, which I need to transcribe a 1651 book, work. I may just be doing something stupid, but here are minimal examples. Any advice welcome!

Can't change default neutral stem direction (fixed)
The desired effect is that the A and B notes be stem-up, and the C notes stem-down, without having to set the stem direction manually each time the melody crosses the center of the staff. THe music to be transcribed consistently has a neutral stem direction (stem direction on the center line) of down. HLHJ (talk) 19:14, 24 January 2022 (UTC)

I just needed to all-capsize the vars! HLHJ (talk) 19:17, 24 January 2022 (UTC)

Can't change final barline (partially diagnosed)
I wanted a space between those two finalis marks, too, ideally, but "\finalis" does not render at all:

Changing to a single barline at the end works:

Having two barlines in succession doesn't work, but in this case I don't have evidence in the docs that this is supposed to work:


 * It seems the "finalis" mark isn't working because I need '\include "gregorian.ly" ' in my Lilypond file. See Wikipedia talk:WikiProject Music theory. In modern notation there is no call for such succcessive bar lines, so it makes sense that they can't be rendered in standard mode. HLHJ (talk) 18:33, 12 February 2022 (UTC)

Can't get mensural glyphs (diagnosed)
For mensural-style sharps and flats:

Alas, the all-caps trick does not seem to work here. HLHJ (talk) 19:24, 24 January 2022 (UTC)



Finally, if anyone knows if Lilypond has a glyph for these strikethru-fermata breathing marks, or even knows what they are called, that would be very useful knowledge. HLHJ (talk) 02:09, 23 January 2022 (UTC)


 * It seems this isn't working because I need '\include "gregorian.ly" ' in my Lilypond file. See Wikipedia talk:WikiProject Music theory. HLHJ (talk) 18:32, 12 February 2022 (UTC)

Sound frequency
What is the pitch standard of the generated audio? Is it A440? bdijkstra (talk) 15:51, 26 March 2022 (UTC)
 * I guess that's the case. The only mention in the documentation that I could find is that, implicitly, lilypond tuning and pitches are designed with common practice era (i.e. western classical music) in mind. If you absolutely want to display a difference in pitch, it likely is easier using another software (MuseScore allows for altering the pitch of each note individually, as well as the overall tuning pitch); unless it's an easy interval (say, the difference between A440 and A415), although seemingly it is also possible to do it on Lilypond. Cheers, RandomCanadian (talk / contribs) 16:06, 26 March 2022 (UTC)

Unfold-repeats midi (fixed)
According to the relevant section of the Lilypond docs, the only way to have a MIDI file that repeats the score's notated repeat sections is to have two separate /score blocks (one for the visual score and one for the midi sound), and unfold all the repeats in the MIDI block. On-wiki, that would be two separate
 * -- Michael Bednarek (talk) 02:50, 1 February 2022 (UTC)


 * Thank you, Michael Bednarek! I tried something like that, and I must have messed it up somehow, as it didn't work. Now I have a working example I should have no problems. Much obliged. HLHJ (talk) 00:37, 2 February 2022 (UTC)
 * Excellent, I was struggling with this! I added your example to the help page, Help:Score Skierpage (talk) 01:15, 22 May 2022 (UTC)

SVG output, backgrounds in dark mode
Is there any progress in getting this to output SVG images instead? This might help with another problem: when looking at Wikipedia with a dark theme, the transparency in the existing PNG images produces unreadable music in dark mode (e.g. File:Score PNG output in dark theme.png). Are there options to enable a white background?—Jon (talk) 01:19, 11 June 2022 (UTC)

XML
Is there any possibility to get a musical score encoded with GNU LilyPond or ABC markup syntax from existing xml format? A1 (talk) 19:36, 10 June 2022 (UTC)
 * I think there is a lilypond-to-MusicXML format conversion available (think even comes with basic lilypond, might be wrong), but the other way round I'm not sure RandomCanadian (talk / contribs) 23:42, 10 June 2022 (UTC)
 * I thought the same too, but unfortunaltely no. Some google search like this leds to 404 ot empty pages. A1 (talk) 21:49, 18 June 2022 (UTC)

Bug with Quarter Tone Chord Playback
Microtonal chords don't seem to play back correctly. For instance, here is an excerpt formerly from the Quarter tone page:



Note that the chords are, for whatever reason, being rendered in 12 equal with no quarter tones at all. The rendered notes are C D F Ab Bb, C# F# A B D#. This indicates some kind of bug in the rendering software when rendering microtonal chords.

This does render correctly if we play them one note at a time:



although you can still hear pitch bends shifting in the release tail, which makes me think that the source of the problem is that the different MIDI notes are all being played on MIDI channel #1, and thus there are multiple conflicting pitch bend messages (typically microtonal chords have each note played on different channels for this reason, so that one can tune the different notes individually). :::: — Preceding unsigned comment added by 2601:42:702:9F90:50CB:C35E:58B:CC6D (talk) 20:01, 30 October 2022 (UTC)
 * This limitation (microtonal chords) is noted in the current (2.22) LilyPond documentation, "Unsupported notation for MIDI". — Jon (talk) 23:47, 28 November 2022 (UTC)

Recreate Russian anthem
I recreated the Russian National anthem using the score feature:

2601:C6:D281:6710:914B:28A0:A21E:46A3 (talk) 14:43, 31 August 2023 (UTC)