Help:Score: Difference between revisions

Content deleted Content added
Hatnote
 
(4 intermediate revisions by 4 users not shown)
Line 1:
{{Wikipedia how-to|H:SCORE}}
{{redirect|WP:SCORE|information about how to format the score results of competitions|Wikipedia:Manual of Style/Dates and numbers#Numbers as figures or words}}
The {{tag|score}} element in wikitext displays a musical score out of GNU [[LilyPond]] (the default) or [[ABC notation|ABC]] markup syntax. It also produces a [[Help:Media (MIDI)|MIDI file]] of the music and optionally displays an audio player that plays the music. It is implemented by the [[mw:Extension:Score|Score extension]] for [[MediaWiki]], available across Wikipedia languages.
 
Line 323 ⟶ 324:
}
</score>
The <code>\transposition</code> command is mainly intended for scores that incolveinvolve transposing instruments not set in concert pitch.
<syntaxhighlight lang="lilypond">
<score sound="1">
Line 691 ⟶ 692:
</score>
For more intricate details, see [http://lilypond.org/doc/v2.22/Documentation/notation/setting-the-staff-size "Setting the staff size"] in the LilyPond manual.
 
===Overall size===
A simpler method to change the overall size of a score is to use the [[CSS]] property <code>zoom</code>. Using <code><nowiki><div style="zoom: 70%;"></nowiki></code>, the above example renders as:
<div style="zoom: 70%;"><score sound>
{ \new ChoirStaff <<
\new Staff <<
\new Voice \relative c'' { \set Score.tempoHideNote = ##t \tempo 8 = 120 \stemUp \clef treble \key fis \minor \time 3/8 s4. | <gis' dis>8^.^( <gis dis>^. <gis dis>^.) | s4. | <fis cis>8^.^( <fis cis>^. <fis cis>^.) | s4. | fis16^( eis dis cis) <b' gis>8^. | <a fis>^. r r | s4 }
\new Voice \relative c'' { \stemDown cis8[ d] cis | bis4. | b!32_([ cis d16 cis8)] b | ais4. | b8 a![_( gis)] | a fis[_( eis)] | fis \grace { e(} d4) | cis } \addlyrics { Buß - und Reu,– Buß4 und8 Reu– knirscht das Sün- den- herz ent- zwei }
\new Staff \relative c { \clef bass \key fis \minor \time 3/8 fis4.~_"Bar 13" | fis8 gis16( fis eis dis) | eis4. | e!8 fis16( e d cis) | d8( cis b) | cis4.~ | cis8 b16( a gis fis) | eis ^"173 bars"}
>> >> }
</score></div>
 
==Image frame==
Line 706 ⟶ 718:
 
For example:
:<syntaxhighlight lang="xmlwikitext">{{Image frame
|content = <score>
\relative c' {
Line 748 ⟶ 760:
 
{{tl|Image frame}} may also be used to group score images together. The text below creates the group of images to the right:
<syntaxhighlight lang="xmlwikitext">
{{Image frame|content=<score>
{
Line 780 ⟶ 792:
 
== See also ==
{{Wikisource-multi|caption=[[Wikisource]] has complementary help pages at|1=s:Help:Sheet music|Help:Sheet music|2=:s:Help:LilyPond|Help:LilyPond}}
* [[Wikipedia:Lyrics and poetry]]
* [[Special:PagesWithProp/score]], pages where {{Tag|score}} is used, or [[:Category:Pages using the Score extension]]