Extension:Score/tr

Score uzantısı, PNG görüntüleri olarak LilyPond kullanarak müzik notalarının oluşturulmasına izin verir ve bunları ses ve MIDI dosyalarına dönüştürebilir.

Teşekkür

 * Orijinal Johannes E. Schindelin tarafından yazılmıştır.
 * Bu uzantı Tim Starling'in kod incelemesine dayanmaktadır.
 * Orijinal, Tarnell Nehri tarafından yazılmıştır.

Kullanım
Kurulum sonrasında, basit bir  etiketi içindeki viikmetinize LilyPond gösterimini gömebilirsiniz. Örneğin:

verim:

Skor etiketlerine nitelikleri genel formda da belirtebilirsiniz.

.

Örneğin:

verim:

Aşağıdaki özellikler kullanılabilir:

The LilyPond language
Lyrics may be added like this:

For advanced users, the command can be used to change the MIDI instrument for the sound.

Prerequisites
The following packages are recommended:
 * LilyPond
 * Ghostscript
 * ImageMagick
 * FluidSynth
 * Firejail

This extension uses LilyPond to render score images, so you need a working LilyPond installation (Special:Version displays the LilyPond version). If you install LilyPond from a package, Ghostscript will also be installed, since LilyPond depends on Ghostscript. ImageMagick should be installed to trim the images, otherwise they will contain an excessive amount of whitespace.

For security reasons, it is highly recommended to install firejail to further restrict what LilyPond and Ghostscript can do if untrusted users are allowed to edit your wiki.

The extension is also capable of creating audio files from the MIDI files generated by LilyPond. If you want to make use of this functionality, you need to have installed.

FluidSynth is the preferred method to convert MIDI files to audio files, however TiMidity++ is also supported.

Configuration
Currently, the extension has the following global configuration parameters.

$wgScoreLilyPond
Set  to the path to your LilyPond executable (typically   or  ).

$wgScoreTrim
The  is a boolean which defaults to the value of. If, the resulting score PNG images are trimmed with ImageMagick. If you don't want trimming, or don't want to install ImageMagick, set  to.

$wgScoreAbc2Ly
Set  to the path of your ABC to LilyPond converter executable (typically   or  ).

$wgScoreFluidsynth
Set  to the path of your Fluidsynth executable (typically   or  ).

$wgScoreSoundfont
Set  to the path of your soundfont file (typically   or  ).

$wgScoreTimidity
Set  to the path of your TiMidity++ executable (typically   or  ). If  does not exist, TiMidity++ will be used as fallback instead.

$wgScoreLame
Set  to the path of your Lame executable (typically   or  ). Required if the generated audio file should be a MP3.

Remarks
This extension runs various binaries on a shell. You may have to increase if you get out of memory errors.

Finding scores
Pages with scores on them will have the "score" page property set. Using Special:PagesWithProp, you can find pages that have scores. ([//en.wikipedia.org/wiki/Special:PagesWithProp?propname=score&propname-other= Example query for the English Wikipedia].)