User talk:Johnrdorazio: Difference between revisions

Page contents not supported in other languages.
From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
Line 11: Line 11:
<score sound="1">
<score sound="1">
{ \new PianoStaff << \new Staff \relative c'' { \set Staff.midiInstrument = #"violin" \clef treble \tempo 8 = 126 \time 3/16 r16 <d c a fis d>\f-! r16\fermata | \time 2/16 r <d c a fis d>-! \time 3/16 r <d c a fis d>8-! | r16 <d c a fis d>8-! | \time 2/8 <d c a fis>16-! <e c bes g>->-![ <cis b aes f>-! <c a fis ees>-!] } \new Staff \relative c { \set Staff.midiInstrument = #"violin" \clef bass \time 3/16 d,16-! <bes'' ees,>-! r\fermata | \time 2/16 <d,, d,>-! <bes'' ees,>-! | \time 3/16 d16-! <ees cis>8-! | r16 <ees cis>8-! | \time 2/8 d16\sf-! <ees cis>-!->[ <d c>-! <d c>-!] } >> }
{ \new PianoStaff << \new Staff \relative c'' { \set Staff.midiInstrument = #"violin" \clef treble \tempo 8 = 126 \time 3/16 r16 <d c a fis d>\f-! r16\fermata | \time 2/16 r <d c a fis d>-! \time 3/16 r <d c a fis d>8-! | r16 <d c a fis d>8-! | \time 2/8 <d c a fis>16-! <e c bes g>->-![ <cis b aes f>-! <c a fis ees>-!] } \new Staff \relative c { \set Staff.midiInstrument = #"violin" \clef bass \time 3/16 d,16-! <bes'' ees,>-! r\fermata | \time 2/16 <d,, d,>-! <bes'' ees,>-! | \time 3/16 d16-! <ees cis>8-! | r16 <ees cis>8-! | \time 2/8 d16\sf-! <ees cis>-!->[ <d c>-! <d c>-!] } >> }
</score>
<score raw="1" lang="lilypond" sound="1">
  \header {
    tagline = "" % no footer
    title = "Good Morning"
    composer = "trad."
  }
  \relative g' {
    \key g \major \time 3/4
    \partial 4 d
    e d g
    fis2 d4
    e d a'
    g2 d4
    d' b g
    fis e c'
    b g a
    g2 \fermata
    \bar "|."
  }
  \addlyrics {
    Good mor -- ning to you,
    Good mor -- ning to you,
    Good mor -- ning dear chil -- dren,
    Good mor -- ning to all.
  }
</score>
</score>



Revision as of 20:27, October 12, 2021

Here's a place to discuss this online encyclopedia with me

If you have any questions or need help when creating or editing an article, please feel free to contact me and we can try to work out any issues. Just click on Add topic here on top.

Test audio player

Test Score tag


{ \new PianoStaff << \new Staff \relative c'' { \set Staff.midiInstrument = #"violin" \clef treble \tempo 8 = 126 \time 3/16 r16 <d c a fis d>\f-! r16\fermata | \time 2/16 r <d c a fis d>-! \time 3/16 r <d c a fis d>8-! | r16 <d c a fis d>8-! | \time 2/8 <d c a fis>16-! <e c bes g>->-![ <cis b aes f>-! <c a fis ees>-!] } \new Staff \relative c { \set Staff.midiInstrument = #"violin" \clef bass \time 3/16 d,16-! <bes'' ees,>-! r\fermata | \time 2/16 <d,, d,>-! <bes'' ees,>-! | \time 3/16 d16-! <ees cis>8-! | r16 <ees cis>8-! | \time 2/8 d16\sf-! <ees cis>-!->[ <d c>-! <d c>-!] } >> }

Image could not be trimmed:

+ /usr/local/bin/lilypond -dmidi-extension=midi -dsafe --ps --header=texidoc --loglevel=ERROR file.ly
+ /usr/bin/php scripts/extractPostScriptPageSize.php file.ps
+ /usr/bin/gs -q -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dNOPAUSE -dSAFER -sDEVICE=png16m -sOutputFile=file-page%d.png -r101 file.ps -c quit
+ /usr/local/bin/convert -trim -transparent white file-page1.png trimmed.png
/usr/local/bin/convert: error while loading shared libraries: libIlmImf-2_3.so.24: cannot open shared object file: No such file or directory

Set $wgScoreTrim=false if this problem persists.

Test syntax highlighting

Javascript:

let jsV = "Javascript variable";
let jsObj = {
  item: "First item"
}

PHP

$myVar = "PHP variable";
$myVarUpper = strtoupper($myVar);

LUA

-- defines a factorial function
function fact (n)
  if n == 0 then
    return 1
  else
    return n * fact(n-1)
  end
end

print("enter a number:")
a = io.read("*number")        -- read a number
print(fact(a))