lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Abréviation d'instruments


From: xtof pno
Subject: Re: Abréviation d'instruments
Date: Tue, 28 Feb 2023 10:49:07 +0000 (UTC)

Bonjour Martial,
Merci pour vos réponses. Toutefois, je n'arrive pas au résultat escompté :
Pour le conducteur avec les abréviations :
scoreAOboePart = \new Staff \with {
  instrumentName = "2 Hautbois"
  shortInstrumentName = "Ob"
  midiInstrument = "oboe"
} \scoreAOboe
Très bien.

Pour la partie séparée de haut-bois :
% 2 Haut-bois
\bookpart {
\header {subtitle = "2 haut-bois" }
    \score
   {\new StaffGroup {   \scoreAOboePart  }   
           \layout { }
           
    \midi {
      \tempo 4=100 } }
}
Même si je ne l'écris pas, l'abréviation apparaît (voir image en pièce jointe.)
Merci pour votre aide.
Cordialement.
Christophe

Le lundi 27 février 2023 à 07:55:50 UTC+1, Martial R <martialr@gmail.com> a écrit :


Bonjour
j'ai écris n'importe quoi hier soir
il suffit de ne pas écrire instrumentName ou shortInstrumentName

%----------------------------------
\version "2.24.1"


\header {  title = "Concerto pour Guitare et Hautbois" }

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

guitare = \relative c' {
  \global
  %ne pas écrire ainsi "
  % \set Staff.instrumentName = "Guitare"
  % \set Staff.shortInstrumentName = "Gtr."
  c1 \break  c \break  c  
}

oboe = \relative c' {
  \global
  %ne pas écrire ainsi
  % \set Staff.instrumentName = "Oboe"
  % \set Staff.shortInstrumentName = "Ob"
  g1 \break  g \break  g  
}

\bookpart {
  \score {
    <<
      \new Staff \with {
        midiInstrument = "acoustic guitar (steel)"
        instrumentName = "Guitare"
        shortInstrumentName = "Gtr."
      } \guitare
      \new Staff \with {
        midiInstrument = "acoustic guitar (steel)"
        instrumentName = "Oboe"
        shortInstrumentName = "Ob"
      } \oboe
    >>
    \layout { }
    \midi {
      \tempo 4=100
    }
  }
}

\bookpart {
  \header { instrument = "Guitare" }
  \score {
    \new Staff \with {
      midiInstrument = "acoustic guitar (nylon)"
    } \guitare

  }
}

\bookpart {
  \header { instrument = "Oboe" }
  \score {
    \new Staff \with {
      midiInstrument = "oboe"
    }  \oboe
  }
}
%------------------------------
Cordialement

Le dim. 26 févr. 2023 à 20:52, Martial R <martialr@gmail.com> a écrit :
Bonjour,

mettre sant les parties séparée
 shortInstrumentName = ##f

%---------------------
global = {
  \key c \major
  \time 4/4
}

mandolin = \relative c' {
  \global
  c \break  c
}

\score {
  \new Staff \with {
    midiInstrument = "acoustic guitar (steel)"
    instrumentName = "Mandoline"
    shortInstrumentName = "Mnd"
  } \mandolin
  \layout { }
  \midi {
    \tempo 4=100
  }
}

\score {
  \new Staff \with {
    midiInstrument = "acoustic guitar (steel)"
    instrumentName = ##f
    shortInstrumentName = ##f
  } \mandolin
 
}
%------------------------------

Cordialement

Le dim. 26 févr. 2023 à 19:23, xtof pno <xtof01-pno@yahoo.fr> a écrit :
Bonjour,
Lire dans la marge d'un conducteur les abréviations des instruments (shortInstrumentName) est utile.
Mais comment les supprimer dans les parties séparées, qui par définition ne sont lues que par un seul
musiciens ou groupe de musiciens ?
Merci pour vos conseils.
Bien cordialement.
Christophe


--
Martial Rameaux



--
Martial Rameaux

Attachment: ob.jpg
Description: JPEG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]