Re: Frescobaldi on Arch Linux

2020-12-24 Thread Andrew Bernard
I did this:

yay -S frescobaldi

after cleaning out all old python code for F.

F runs, but does not draw the music output. The PDF does get created correctly.

What am I missing? Are there other dependencies that yay does not pull in?

Something to do with poppler?
 Also, I don't understand the ultra-cryptic post 'qt5'. What are you
saying to do?


On Thu, 24 Dec 2020 at 22:50, damianlegassick  wrote:
>
> Hi I just did a clean build from the AUR repo and it works fine (Gnome).



Re: how to move a clef horizontally

2020-12-24 Thread Thomas Morley
Am Mi., 23. Dez. 2020 um 15:25 Uhr schrieb Stefan Thomas
:
>
> Dear community,
> I would like to know, how I can avoid the collision between the treble clef 
> and the note b in the below quoted example:
> % SNIP
> \version "2.20.0"
> global = { \key e \major \time 4/4 }
> Up = { \change Staff="upper" \stemDown }
> Down = { \change Staff="lower" \stemUp }
> upper = {
> \clef "bass" \global
> dis'4   e'4
>
>   \clef "treble" gis'4\!
>   fis'8.   e'16 |
> }
> middle = {
>  a,16
> dis16  \Up a16b16
>  \Down   a,16
>   e16  \Up  a16   b16
>   \Down  b,16fis16
>   \Upa16   b16  \Down   b,16
>dis16\Up a16
>   b16
> }
> lower = {
> fis,,4   e,4
>   dis,4b,,4
> }
>
> lower = {
> \global \clef "bass"
> << { \middle } \\ { \lower } >>
> }
>
> \score {
> \new PianoStaff  = "Klavier"  \with { \override 
> StaffGrouper.staff-staff-spacing.stretchability = #1 }
> <<
> \new Staff= "upper" { \upper }
>   \new Staff = "lower" { \lower} >>
> }
> %%% END SNIPPET
>
> Thank You all,
> Stefan

How about:

\version "2.20.0"

global = { \key e \major \time 4/4 }

Up = { \change Staff = "upper" \stemDown }
Down = { \change Staff = "lower" \stemUp }

upperVoice = {
  \clef "bass"
  \global
  dis'4 e'4
  \clef "treble"
  gis'4
  fis'8. e'16
}

middleVoice = {
  a,16 dis16 \Up a16 b16
  \Down a,16 e16 \Up a16 b16
  %% get rid of the warning
  \once \override Beam.positions = #'(4 . 3)
  \Down b,16 fis16 \Up a16 b16
  \Down b,16 dis16 \Up a16 b16
}

bottomVoice = {
  fis,,4 e,4
  %% Move NoteColumns to get some free space
  %% TODO not sure why we need two overrides with different values
  \once \override PianoStaff.NoteColumn.X-offset = 2.5
  \once \override PianoStaff.NoteColumn.force-hshift = 1.5
  %% Let the Clef glide into the opened free space
  \once \override PianoStaff.Clef.X-extent = #'(0 . 0)
  dis,4 b,,4
}

lowerStaff = {
  \global
  \clef "bass"
  <<  \middleVoice \\ \bottomVoice >>
}

\score {
  \new PianoStaff = "Klavier"
\with { \override StaffGrouper.staff-staff-spacing.stretchability = #1 }
<<
\new Staff = "upper" \upperVoice
\new Staff = "lower" \lowerStaff
>>
}


Cheers,
  Harm



Re: Cowell clusters

2020-12-24 Thread Thomas Morley
Am Mo., 21. Dez. 2020 um 20:41 Uhr schrieb Klaus Blum :
>
> Hi Gilberto,
>
> Am 21.12.2020 um 17:51 schrieb lilypond-user-requ...@gnu.org:
>
> > Ideally, I think applying it to a chord (something like \cowellCluster
> > 4) would be the ideal solution. It also does not handle whole
> > notes, as those do not have stems to be hacked. If I come up with
> > something interesting I will make sure to post it here.
>
> please have a look at the link to the German forum (the thread there
> continues in English):
> https://lilypondforum.de/index.php/topic,820.msg4546.html?PHPSESSID=6djk9rm3a7m81mmuqu25mjiehb#msg4546
>
> I've posted an improved version there, and Harm has an even more
> interesting solution.
>
> Cheers,
> Klaus
>

Hi Gilberto,

I reworked the code, see
https://lilypondforum.de/index.php/topic,820.msg4562.html#msg4562
You'll need an account there to get the files, thus I attach them here as well.

Cheers,
  Harm
\version "2.20.0"

\include "cowell-clusters.ly"
\include "other-stuff.ly"

upI = {
  \tempo "Allegro feroce"
  r2 r8
  \ff \repeat unfold 10 
  ^-\< 
   
   
   
  
  \break
  \pseudoIndent 8.5
  
  <>^\tweak padding #2
-\markup
\override #'(box-padding . 0.8)
  \box
  \fontsize #0
  \italic
  "For explanations and playing instructions also see inside back cover"
  \voiceOne
  --\!
  \clef "bass"
  <>-\tweak X-offset #-3 
 \mf
 _\markup \fontsize #-1.2 \whiteout "Mit flacher Hand zu spielen"
  \cluster { \repeat unfold 8  } 
  \clef "treble"
  <>-\tweak Y-offset #-4 -\tweak X-offset #-3 \ff 
  \repeat unfold 7 e'' 
  e''4. e''8 c'''2
  \oneVoice
  r8\fermata
  \override Slur.details.edge-attraction-factor = 200
  \once \override Beam.positions = #'(-8 . -6)
  ais''^>(
  \change Staff = "down"
  b'^> d''-\tweak avoid-slur #'inside ^>) 
  \change Staff = "up" 
  cis'''8.^>-\shape #'((0 . 0) (1.5 . 1.5) (-1 . 0) (0 . -3))-( 
  fis''16-\tweak avoid-slur #'inside ^>
  
  \eraseShortInstrumentName
  
  \change Staff = "down"
  g'4)^>
  \clef "bass"
  
  \break
  
  \change Staff = "up" 
  fis'''2->~ 8
  \noBeam
  -\f  
  \override TupletBracket.bracket-visibility = ##t
  \tuplet 5/4 {

  }
  \tuplet 5/4 {
  	
  }
  \time 2/4 
  [   ]
}

downI = {
  \clef "bass"
  r2 r8  \repeat unfold 10 
  _- \repeat unfold 7 
  ^- b,!^> gis,^> ais,^> e,^> fis,^> c,^> bes,,^>
  a,,^>\noBeam -\tweak X-offset #2 -\tweak padding #5 _"C"
  <>_\markup 
   \fontsize #-1.2
   \whiteout 
   "Mit beiden Vorderarmen gleichzeitig zu"
_\markup \fontsize #-1.2 "spielen"
  \cluster ##t {
  	\autoBeamOff
\repeat unfold 7 c,,
c,,4. c,,8 
\once\override Score.NoteColumn.X-offset = 0.5
a,,2
  }
  \autoBeamOn
  \clef "treble"
  s1

  \eraseShortInstrumentName
  
  \once \override Staff.Clef.before-line-breaking = 
#(lambda (grob)
  (if (= (ly:item-break-dir grob) -1)
  (ly:grob-set-property! grob 'X-extent '(-1.2 . 2
  \clef "bass"
  r2 r8
   \repeat unfold 2 q
   \repeat unfold 7 q
  [ \repeat unfold 2 q q]
}

upII = {
  s1*3
  R1*2
  <>_\markup \fontsize #-1.2 \whiteout "Die Tasten lautlos niederzudrücken"
  r2 r4 
  \set shapeNoteStyles = ##(do do do do do do do)
  4~
-\tweak ParenthesesItem.font-size #0 \parenthesize ^\pp
  q1\fermata
  s1*2
  s2
}

downII = {
  \clef "bass"
  s1*3
  R1*2
  \set shapeNoteStyles = ##(do do do do do do do)
  r2 r4 ~ q1_\fermata
  s1*2
  s2
}

pedal = {
  \howellPedalStyle
  
  s2 s8 s4.\sostenutoOn
  s1
  s1\sostenutoOff
  s1
  s8 
  \once \override Dynamics.PianoPedalBracket.shorten-pair = #'(0 . 1)
  s2..\sostenutoOn
  s1 
  s8\sostenutoOff 
  s2.. \sostenutoOn
  s2 s8\sostenutoOff s4.
  s1
  s2
}
  
\paper {
  indent = 19
  short-indent = 4
  ragged-last-bottom = ##f
  top-markup-spacing.padding = 1
  first-page-number = 20
  print-first-page-number = ##t
  top-margin = 20
  bottom-margin = 8
  last-bottom-spacing.padding = 8
  tagline = \markup \fill-line { "AMP-95611" \null }
}

\header {
  title = "8. Tiger"
  composer = \markup \center-column { "Henry Cowell" "(1928)" }
}


\score {
  \new GrandStaff
  <<
  	\new Staff = "up" 
  	  \with { 
  	  	shortInstrumentName = 
  	  	  \markup \hcenter-in #9 \center-column { "Rechte" "Hand" }
  	  }
  	  \upI
  	  
  	\new Staff = "down" 
  	  \with { 
  	  	shortInstrumentName = 
  	  	  \markup \hcenter-in #9 \center-column { "Linke" "Hand" } 
  	  }
  	  \downI
  	
  	
  	\new Staff = "upII" 
  	  \with { shortInstrumentName = \markup \hcenter-in #9 "Rechte" }
  	  \upII
  	  
  	\new Staff = "downII" 
  	  \with { shortInstrumentName = \markup \hcenter-in #9 "Linke" }
  	  \downII
  	  
  	\new Dynamics \pedal
  >>
  \layout {
\context {
  \Voice
  \override Stem.details.cluster-thick-short = 0.3
}
\context {
  \Staff
  \RemoveAllEmptyStaves
  \numericTimeSignature
}
\context {
  \GrandStaff
  \consists #Cluster-span_stem_engraver
  \omit SystemStartBrace
  \override 

Re: how to move a clef horizontally

2020-12-24 Thread Kieren MacMillan
Hi Stefan,

Not sure if you found a solution yet?
Here’s one possibility.

Hope it helps!
Kieren.

% SNIP
\version "2.20.0"

global = { \key e \major \time 4/4 }

Up = { \change Staff="upper" \voiceTwo }

Down = { \change Staff="lower" \voiceOne }

upper = { 
 \clef "bass"
 \global 
 dis'4 e'4
 \once \override Staff.Clef.extra-offset = #'(4 . 0) \clef "treble"
 \tweak extra-spacing-width #'(-4 . 0) gis'4\!
 fis'8. e'16 |
}
middle = { 
 a,16 
 dis16 \Up a16 b16 
 \Down a,16 
 e16 \Up a16 b16 
 \Down b,16 fis16 
 \Up a16 b16 \Down b,16
 dis16 \Up a16
 b16 
}
lower = { 
 fis,,4 e,4 
 dis,4 b,,4 
}

lower = { 
 \clef "bass" 
 \global
 << { \middle } \\ { \lower } >>
}

\score {
 \new PianoStaff = "Klavier" \with { \override 
StaffGrouper.staff-staff-spacing.stretchability = #1 } 
 << 
 \new Staff= "upper" { \upper }
 \new Staff = "lower" { \lower} >>  
}
%%% END SNIPPET


Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: kie...@kierenmacmillan.info




Re: Frescobaldi on Arch Linux

2020-12-24 Thread Jonas Hahnfeld
Am Donnerstag, dem 24.12.2020 um 22:29 +1100 schrieb Andrew Bernard:
> Has anybody got Frescobaldi running on Arch Linux lately?
> 
> I am not really sure, but I think Arch has moved all to Qt5, whereas 
> Frescobaldi seems to depend on Qt4. I may be wrong about this, but it 
> suddenly stopped working after a recent upgrade (not sure which one as I 
> have not fired up Frescobaldi for a while).

If the error is
$ frescobaldi 
Traceback (most recent call last):
  File "/usr/bin/frescobaldi", line 21, in 
from frescobaldi_app import toplevel
ModuleNotFoundError: No module named 'frescobaldi_app'

you need to rebuild Frescobaldi since Arch Linux has Python 3.9 since a
few weeks. Afterwards it works fine for me.

Jonas


signature.asc
Description: This is a digitally signed message part


Re: Frescobaldi on Arch Linux

2020-12-24 Thread damianlegassick

qt5

On 24 December 2020 at 11:51, damianlegassick  wrote:


Hi I just did a clean build from the AUR repo and it works fine (Gnome).


Damian

On 24 December 2020 at 11:31, Andrew Bernard  wrote:


Has anybody got Frescobaldi running on Arch Linux lately?

I am not really sure, but I think Arch has moved all to Qt5, whereas
Frescobaldi seems to depend on Qt4. I may be wrong about this, but it
suddenly stopped working after a recent upgrade (not sure which one as I
have not fired up Frescobaldi for a while).





Re: Frescobaldi on Arch Linux

2020-12-24 Thread damianlegassick

Hi I just did a clean build from the AUR repo and it works fine (Gnome).


Damian

On 24 December 2020 at 11:31, Andrew Bernard  wrote:


Has anybody got Frescobaldi running on Arch Linux lately?

I am not really sure, but I think Arch has moved all to Qt5, whereas
Frescobaldi seems to depend on Qt4. I may be wrong about this, but it
suddenly stopped working after a recent upgrade (not sure which one as I
have not fired up Frescobaldi for a while).





Frescobaldi on Arch Linux

2020-12-24 Thread Andrew Bernard

Has anybody got Frescobaldi running on Arch Linux lately?

I am not really sure, but I think Arch has moved all to Qt5, whereas 
Frescobaldi seems to depend on Qt4. I may be wrong about this, but it 
suddenly stopped working after a recent upgrade (not sure which one as I 
have not fired up Frescobaldi for a while).