Extension talk:Score

Jump to navigation Jump to search

About this board

Please create a Phabricator task for your topic; this page is not regularily watched for new topics.

Unable to compile LilyPond input file

5
JoesSR (talkcontribs)

Hi, when I test the example <score>\relative c' { f d f a d f e d cis a cis e a g f e }</score> , got this error:

Unable to compile LilyPond input file:

Processing `.../file.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
MIDI output to `file.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `file.ps'...
Converting to PNG...Fontmap entry for Fontmap.local ends prematurely!  Giving up.

fatal error: GS exited with status: 256

exited with status: 1

I can't solve it. Could you give me some help?

My wiki need to use this great extension.

206.80.1.253 (talkcontribs)

Hi JoesSR,

                I am also facing same issue. Have you relosved this issue?
186.225.224.169 (talkcontribs)

Aqui parese-me tudo correto, porém tenho o erro:

Código:

<score vorbis="1" lang="lilypond">\relative c' { c d e f g a b} </score>

Resultado aqui:

Unable to compile LilyPond input file: warning: cannot find file: `.../file.ly' error: failed files: ".../file.ly" exited with status: 1

No média wiki:

\relative c' { c d e f g a b}


Algém sabe qual é o problema?

email: mazera2@gmail.com


Sophivorus (talkcontribs)

Had the same issue. I think it's due to a bug with Lilypond 2.18 (the one still advertised at lilypond.org) but that has been fixed on a more recent version. In the end the commands I used to install the latest Lilypond were:

curl -o lilypond.sh http://download.linuxaudio.org/lilypond/binaries/linux-64/lilypond-2.19.52-1.linux-64.sh
sh lilypond.sh
Manuela (talkcontribs)

I have a very similar problem, I am using Ubuntu 18.10 and Lilypond 2.19.82

».../file.ly« wird verarbeitet
Analysieren...
Interpretation der Musik...
Vorverarbeitung der grafischen Elemente...Fontconfig warning: ignoring C.UTF-8: not a valid language tag

Interpretation der Musik...
MIDI-Ausgabe nach »file.midi«...
Ideale Seitenanzahl wird gefunden...
Musik wird auf eine Seite angepasst...
Systeme erstellen...
Layout nach »/tmp/lilypond-oexcsw« ausgeben...
Konvertierung nach PNG...
Warnung: »(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dNOPAUSE -dBATCH -sDEVICE=png16m -dAutoRotatePages=/None -sOutputFile=file.png -r101 -f/tmp/lilypond-oexcsw)« gescheitert (256)

schwerer Fehler: gescheiterte Dateien: ".../file.ly"

exited with status: 1

Has anyone an idea? Thanks for help

Reply to "Unable to compile LilyPond input file"
122.116.63.54 (talkcontribs)

I can add a title when using ABC notation, but I cat add it when using LilyPond, How can I solve this problem when using LilyPond?

Examples:

ABC notation:


Unable to convert ABC file to LilyPond format:
/usr/bin/abc2ly from LilyPond 2.18.2
Parsing `.../file.abc'...
Line ... .../file.abc: 6: Huh?  Don't understand

LilyPond:

 \relative c'' { \clef treble \key e \minor \time 6/8 \tempo "Allegro commodo non agitato" \partial 8*1 b8-.\p_"dolce" | e4(\< fis8) g4( a8)\! | b4 b8-. b4.--\< | c4.\sf\! c->\> | b->\!\p~ b4 b8\<( | a4.)\!\dim a4 a8 | g4( a8 g4) g8(\< | fis4.)\!\> fis4(\!\> fis8-.)\! | e4\> r8\! }

122.116.63.54 (talkcontribs)

ABC notation:

122.116.63.54 (talkcontribs)

 X:1
 T:Die Moldau
 M:6/8
 L:1/8
 R:jig
 K:e
 B | e2 f g2 a | b2 b b3 | c'3 c'3 | b3 b2 b | a3 a2 a | g2 a g2 g | f3 f2 f | e2 z ||

Reply to "Problems about title"
Michael Bednarek (talkcontribs)

At this moment, <score>...</score> is completely broken – it doesn't render anything, instead it displays the source code.

Reply to "Broken"
Hydrargyrum (talkcontribs)

The Vorbis player output is noisy, producing what sounds like static crackle and stuttering at the beginning of playback. I tried all the examples shown on this Talk page, and every one of them behaves the same way. Curiously, if I pause the playback and then resume it, the sound comes out cleanly, without the static or stutter. Is this a problem with the Vorbis player implementation, or is there a problem in the LilyPond notation conversion to .ogg format? I'm accessing the player with a Linux machine, if that means anything.

Michielderoo (talkcontribs)

I downloaded the ogg file and opened it in Audacity sound editor. The problem is in the ogg file, not in the player. The crackle is only in the right channel.

Skierpage (talkcontribs)

I think you're noticing what I reported this in phab:T50029 "crackling at start of OGG renditions of MIDI files." The bug in the third-party TiMidity software that generates the audio file. It was fixed years ago in a newer version, TiMidity++ 2.14.0, but the Linux distribution that the Wikimedia Foundation uses doesn't ship the fixed version :-( . Instead the extension switched to using Fluidsynth to generate the audio file (phab:T181897).

What's interesting is the crackling noise is still present in the sample on Extension:Score and on some of my old user pages, but not if I copy that score tag to a new page and preview there. It seems Mediawiki aggressively caches the generated audiofile for years!? I wonder if there's a way to invalidate all the generated .ogg audio files in some cache.

Reply to "Noisy output"
TheDJ (talkcontribs)
Reply to "lilypond on macosx"
ПростоУчастник (talkcontribs)

Hello! See:

<score lang="ABC">K:D#m
D E F G A B c d | d c B A G F E D|</score>

convert to ("es" instead of "is"):

\key dis \minor   des'8    ees'8    f'8    ges'8    aes'8    bes'8    ces''8    
des''8    \bar "|"   des''8    ces''8    bes'8    aes'8    ges'8    f'8    
ees'8    des'8  \bar "|" 

Result:

K:D#m
D E F G A B c d | d c B A G F E D|

Other keys are OK. Please, fix this. Thank you!

Reply to "Abc2Ly + D-sharp minor = problem"

Installing problems on 1.28.2 MediaWiki

2
213.57.135.184 (talkcontribs)

Hi,

I've tried to install Score extension on MediaWiki Ver. 1.28.2, I've Uploaded the extension, and created the folders as it needs (with the right permissions), (also made all LocalSetting.php add-lines). when I'm try to run the extension, I get wgScoreLilyPond alert (Unrunable). Is it because I need to install LilyPond first? and if so, where can I get a LilyPond extension install link?

Thanks Alot!

MarkAHershberger (talkcontribs)
Reply to "Installing problems on 1.28.2 MediaWiki"

Tabs for other instruments than guitare

4
Marco de Freitas (talkcontribs)

The extension handles only guitare tabs, could we have other instruments? @Marco de Freitas

MarkAHershberger (talkcontribs)

I'm not sure what you mean. From Help:Score it certainly looks like more than guitar tabs are supported.

Marco de Freitas (talkcontribs)
MarkAHershberger (talkcontribs)

Since you want to use the other tabs on a sister site here, you should create a Phabricator task explaining exactly what you want and where you're going to use it. After that, you should reach out to @AKlapper (WMF) and ask who he would recommend you contact or how to proceed.

Reply to "Tabs for other instruments than guitare"
Trockennasenaffe (talkcontribs)

The extension creates low resolution pngs which look poor on High-DPI displays like smartphones or tablets.

Reply to "Low res Images"
PSPremusic (talkcontribs)

Hello, I am the inventor of Parallel Square Premusic, it is very much like ABC notation except enormously more robust and extensible.

[]ly__________Hap___birth___you!____Hap___birth___you!____Hap___birth___..._____Hap___birth___you!__
[]ly___________-py___-day____________-py___-day____________-py___-day_______...__-py___-day_________
[]ly____________________to____________________to____________________dear__________________to________
[]sc  --------d4d4||e4d4g4||F4------d4d4||e4d4a4||g4------d4d4||d5b4g4||F4--e4--c5c5||b4g4a4||g4------
[]rh  --------daad||dadada||daaaaaaadaad||dadada||daaaaaaadaad||dadada||daaadaaadaad||dadada||daaa----
[]sc  ----d4------||--d4d4||----a3--a3--||--a3a3||----d4--d4--||--d4d4||----g4--g4--||--d4d4||d4------
[]sc  ----b3------||--b3b3||----F3--F3--||--F3F3||----b3--b3--||--b3b3||----e3--e3--||--b3c4||b3------
[]sc  g2--g3------||g2g3g3||d2--d3--d3--||d2d3d3||g2--g3--g3--||g2g3g3||c2--c3--c3--||g2g3F3||g3g2----
[]rh  daaadaaa----||dadada||daaadaaadaaa||dadada||daaadaaadaaa||dadada||daaadaaadaad||dadada||dada----

You can read the documentation for my format at http://anticapit.al/ps/Parallel+Squares.html and http://anticapit.al/ps/Premusic.html. It requires very little explanation to read: only, first, interpret not individual characters but pairs or squares of characters, second, squares that are in the same column are parallel and refer to the same point in the music, and third, the first letters in each square line are the type square (here, lyrics, pitch in scientific pitch notation, and rhythm in the most intuitive notation conceivable...)

I look forward to the adoption of my format by many pieces of software, because it's better than all existing formats for the same information. There is no part of music that couldn't be adapted (likely in the most intuitive way) to a square character notation and appended to a square line in my format without breaking programs that only support the other types of square lines.

It's inevitable that this extension will eventually be updated to support my format. I'd love to speak to someone who could help me facilitate that.

MarkAHershberger (talkcontribs)

If you would like the Score extension to support your format, you need to get support included into LilyPond. If you would like Score adapted after support is included with LilyPond, we'll consider your patches.

Reply to "Parallel Square Premusic"