je n'arrive pas à faire coincider le debut des mesure avec les blanche de la ligne de basse...
\version "2.23.2"
%\language "english"
global = {
\key c \major
\time 4/4
}
melodie = \relative c' {
\global
% En avant la musique !
r2 r4 b8 c
d8. c16 b c d8 <d, a' d fis>4 b'8 c
d4 d16 d8 e16 (e) g,8 g g a
b4 g8 a b4 c8 b
b8 a16 a a b a8
<d, a' d fis>4 b'8 c
}
basse = \relative c {
\global
% En avant la musique !
s1 %silence invisible
g2 s2 <g' e c>2
s16
<g e, a>2
s8
<g d g,>2
s16
<g e e,>2
s16
<a e a,>2
}
Accord = \chordmode {
s1
g2 d
c a:m7
g e:m
a:m d
}
\score {
\new StaffGroup \with {
\consists "Instrument_name_engraver"
instrumentName = "Guitare Jazz"
} <<
\new ChordNames { \Accord }
\new Staff \with {
midiInstrument = "electric guitar (jazz)"
} { \clef "treble_8" << \melodie \\ \basse >> }
\new TabStaff \with {
stringTunings = #guitar-tuning
} <<
\new TabVoice { \voiceOne \melodie }
\new TabVoice { \voiceTwo \basse }
>>
>>
\layout { }
}
%-------------------------
On Fri, 2021-07-23 at 17:39 +0200, Martial R wrote:
---------- Forwarded message ---------
De :
Martial R <martialr@gmail.com>Date: ven. 23 juil. 2021 à 17:37
Déclarer des accords
Accord = \chordmode { accord1 accord2 ... }
dans le StaffGroup
<<
\new ChorNames \ Accord
\ new Staff ...
%etc
>>
%----------------------------------------
global = {
\key c \major
\time 4/4
}
upper = \relative c' {
\global
% En avant la musique !
r2 r4 b8 c
d8. c16 b c d8 <d, a' d fis>4 b'8 c
d4 d16 d8 e16~e16 g,8.g8 a
%etc
}
lower = \relative c {
\global
% En avant la musique !
s1 %silence invisible
g4 g4 s2
%\tieUp
<c e g>4~q4~<a e' g>2
%etc
}
Accord = \chordmode {
s1
g2 d
c a:m7
}
\score {
\new StaffGroup \with {
\consists "Instrument_name_engraver"
instrumentName = "Guitare Jazz"
} <<
\new ChordNames { \Accord }
\new Staff \with {
midiInstrument = "electric guitar (jazz)"
} { \clef "treble_8" << \upper \\ \lower >> }
\new TabStaff \with {
stringTunings = #guitar-tuning
} <<
\new TabVoice { \voiceOne \upper }
\new TabVoice { \voiceTwo \lower }
>>
>>
\layout { }
}
%-----------------------------------
ok merci,
comment je met le non des accord en haut de la partoche ?
BR,
jean-christophe.
On Fri, 2021-07-23 at 16:49 +0200, Martial R wrote:
%-----------------
\version "2.23.2"
%\language "english"
global = {
\key c \major
\time 4/4
}
upper = \relative c' {
\global
% En avant la musique !
r2 r4 b8 c
d8. c16 b c d8 <d, a' d fis>4 b'8 c
%etc
}
lower = \relative c {
\global
% En avant la musique !
s1 %silence invisible
g4 g4 s2 %etc
}
\score {
\new StaffGroup \with {
\consists "Instrument_name_engraver"
instrumentName = "Guitare Jazz"
} <<
\new Staff \with {
midiInstrument = "electric guitar (jazz)"
} { \clef "treble_8" << \upper \\ \lower >> }
\new TabStaff \with {
stringTunings = #guitar-tuning
} <<
\new TabVoice { \voiceOne \upper }
\new TabVoice { \voiceTwo \lower }
>>
>>
\layout { }
}
%-------------------------
--