close
Jump to content

Help talk:Score

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Convert Tool

[edit]

Can someone please make a convert tool? Like from midi or musicxml file to this score type? I really need a convert tool to save time! - ABAL1412🇻🇳🇸🇺🇷🇺 (talk ☭) 16:32, 1 September 2025 (UTC)[reply]

Add title and midi

[edit]

Hi, I had a working score with a midi (vorbis=1 midi=1) enabled, but I can't show any title using /header.


  \header {
    tagline = "" % no footer
    title = "Indonesia Raya"
    composer = "W. R. Supratman"
  }
\new Staff 
<<
 \new Voice = "1" { \voiceOne 
  \time 6/8
  \tempo 4 = 96
  \relative c'  { 
   \set Staff.midiInstrument = #"violin"
  r4 r8 c4 c8 | f4. a4 a8 | a4. a4 a8 | g4. e4 e8 | e4. g4 g8 | g4. f4 e8 | d4. e4 d8 | c2.~
  c4. r8 r4
  }
 }
>>

Then I tried using raw=1 according to the example on the page, and the title showed up, but it isn't compatible with vorbis/midi


  \header {
    tagline = "" % no footer
    title = "Indonesia Raya"
    composer = "W. R. Supratman"
  }
\new Staff 
<<
 \new Voice = "1" { \voiceOne 
  \time 6/8
  \tempo 4 = 96
  \relative c'  { 
   \set Staff.midiInstrument = #"violin"
  r4 r8 c4 c8 | f4. a4 a8 | a4. a4 a8 | g4. e4 e8 | e4. g4 g8 | g4. f4 e8 | d4. e4 d8 | c2.~
  c4. r8 r4
  }
 }
>>


No MIDI file generated despite being requested. If you are working in raw LilyPond mode, make sure to provide a proper \midi block.

So, how can I display both title and the midi? Thanks. Bennylin (talk) 18:18, 27 September 2025 (UTC)[reply]


\header {
    tagline = "" % no footer
    title = "Indonesia Raya"
    composer = "W. R. Supratman"
  }
\score {
 \relative c' {
  \time 6/8
  \tempo 4 = 96
  \set Staff.midiInstrument = #"violin"
  r4 r8 c4 c8 | f4. a4 a8 | a4. a4 a8 | g4. e4 e8 | e4. g4 g8 | g4. f4 e8 | d4. e4 d8 | c2.~
  c4. r8 r4 }
  \layout { line-width = 200\mm }
  \midi { }
}

Grimes2 19:57, 27 September 2025 (UTC)[reply]

MIDI file without the score

[edit]

Hello,

does anyone know a possibility how to generate a MIDI file without displaying the score (other than creating and uploading the MIDI file separately)? --Furfur Diskussion 15:28, 31 January 2026 (UTC)[reply]

Answered at de:Hilfe Diskussion:Notensatz#Nur die Tondatei ohne den Notentext:
<score sound raw>
\header { tagline = ##f }
triad = \relative c' { c e g }
empty = r1
\score { \empty \layout { \context { \Staff \RemoveAllEmptyStaves } } }
\score { \midi { } \triad }
</score>

\header { tagline = ##f }
triad = \relative c' { c e g }
empty = r1
\score { \empty \layout { \context { \Staff \RemoveAllEmptyStaves } } }
\score { \midi { } \triad }
-- Michael Bednarek (talk) 01:17, 1 February 2026 (UTC)[reply]

Unknown error

[edit]

So, I’ve just discovered this, but I’ve been havin’ problems lately. Here is the string I made.

Before:

  \relative g' { \clef treble \key g \major \time 4/4
  b2 c2 | d1 | e2 <<d2 fis2>> | <<b,1 g'1>> | <<e2 a2>> fis2 | <<g1 e1>> | <<a1 fis1>> | <<b1. g1. d1.>>
  \bar "|."
  }
</score>

which resulted in:


  \relative g' { \clef treble \key g \major \time 4/4
  b2 c2 | d1 | e2 <<d2 fis2>> | <<b,1 g'1>> | <<e2 a2>> fis2 | <<g1 e1>> | <<a1 fis1>> | <<b1. g1. d1.>>
  \bar "|."
  }

After:

<score vorbix="1">
  \new GrandStaff
    \new Staff <<
    \relative g' { \clef treble \key g \major \time 4/4
  b2 c2 | d1 | e2 <<d2 fis2>> | <<b,1 g'1>> | 
  <<e2 a2>> | fis2 | <<g1 e1>>  <<a1 fis1>> | 
  <<b1. g1. d1.>> \bar "|." }  >>
      \new Staff <<
      \relative g' { \clef bass \key g \major \time 4/4
    d,4 b4 g4 b4 | d4 b4 g4 b4 | d4 b4 g4 b4 | d4 b4 g4 b4 |
    d4 b4 g4 b4 | d4 b4 g4 b4 | d4 b4 g4 b4 | d4 b4 g4 b4 |
    d4 b4 g4 b4 | d4 b4 g4 b4 | d4 b4 g4 b4 | d4 b4 g4 b4 |
    d4 b4 g4 b4 | d4 b4 g4 b4  <<d1. b1. g1.>> \bar "|." } >>
</score>

which results in:

Unable to compile LilyPond input file:

line 8 - column 7:
Spurious expression in \score


Is there something wrong with this, because before I added the second staff, It worked well. Can someone tell me what’s the error? I’m new to this kind of thing, so I don’t know the basics yet. AltoHampton (talk here) (le contrebutions) 04:31, 18 April 2026 (UTC)[reply]

Ok, I found a way around it.
:{ \new PianoStaff <<
:    \new Staff \with { \consists "Merge_rests_engraver" } <<
:    \relative g' { \clef treble \key g \major \time 4/4
:  b2 c2 | d1 | e2 <<d2 fis2>> | <<b,1 g'1>> | 
:  <<e2 a2>> | fis2 | <<g1 e1>> | <<a1 fis1>> | 
:  <<b1. g1. d1.>> \bar "|." }  >>
:      \new Staff \with { \consists "Merge_rests_engraver" } <<
:      \relative g' { \clef bass \key g \major \time 4/4
:    d,8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 
:    | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 
:    | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 
:    | d8 b8 g8 b8 | d8 b8 g8 b8 | <<d1. b1. g1.>> \bar "|." } >> >> }
:</score>
:
AltoHampton (talk here) (le contrebutions) 06:07, 18 April 2026 (UTC)[reply]
The keyword in <score>...</score> is "vorbis", not "vorbix" (or "sound", which I prefer). In all your examples, the dotted whole note at the end is not possible in 4/4.
The left hand notes in your first example should all be eights, not quarter notes, as you did in examples 2 and 3.
If you use a group staff, like GrandStaff, PianoStaff, etc, the individual staves must be surrounded by the simultaneous expression markers << >>, as you did in the third example. You forgot to show the output of your 3rd example; now below.

{ \new PianoStaff <<
    \new Staff \with { \consists "Merge_rests_engraver" } <<
    \relative g' { \clef treble \key g \major \time 4/4
  b2 c2 | d1 | e2 <<d2 fis2>> | <<b,1 g'1>> | 
  <<e2 a2>> | fis2 | <<g1 e1>> | <<a1 fis1>> | 
  <<b1. g1. d1.>> \bar "|." }  >>
      \new Staff \with { \consists "Merge_rests_engraver" } <<
      \relative g' { \clef bass \key g \major \time 4/4
    d,8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 
    | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 
    | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 | d8 b8 g8 b8 
    | d8 b8 g8 b8 | d8 b8 g8 b8 | <<d1. b1. g1.>> \bar "|." } >> >> }
Cheers. -- Michael Bednarek (talk) 07:03, 18 April 2026 (UTC)[reply]
Oh ok. I tried it with sound, and it worked. But, however, I’m fine with the dotted whole notes at the end, as its fitting. I didn’t notice that I misspelled vorbis as vorbix. AltoHampton (talk here) (le contrebutions) 15:02, 18 April 2026 (UTC)[reply]