[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Making invisible the barline that extends between staff groups
From: |
Joey Di Nardo |
Subject: |
Making invisible the barline that extends between staff groups |
Date: |
Tue, 31 Jan 2012 16:21:17 -0500 |
Hi all, I'm trying to make invisible the barline that extends between the staff
groups, so that only the menstriche line are present. Here's my code:
\paper {
#(define dump-extents #t)
#(set-paper-size "11x17")
%line-width = 160\mm - 2.0 * 0.4\in
%indent = 0\mm
%force-assignment = #""
%line-width = #(- line-width (* mm 3.000000))
top-margin = 2\cm
}
\layout {
}
\sourcefileline 491
#(define mydrums '((bassdrum default #t 4)
(snare default #t -4)
(tambourine default #t 0)))
global = {
\time 1/1
%\override Staff.BarLine #'transparent = ##t
%add :
%%\revert Staff.BarLine #'transparent
%%\bar "|."
%after last bar
}
drumsA = {
\context DrumVoice <<
{ \global }
{ \drummode {
\autoBeamOff
\stemDown sn8 \stemUp tamb s8 |
sn4 \stemDown sn4 |
\stemUp tamb8 \stemDown sn8 \stemUp sn16 \stemDown sn \stemUp sn8 |
\stemDown sn8 \stemUp tamb s8 |
\stemUp sn4 s8 \stemUp tamb
}
}
>>
}
drumsB = {
\drummode {
s4 bd8 s2*2 s4 bd8 s4 bd8 s8
}
}
\layout {
%indent = #40
}
\score {
\new StaffGroup <<
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"1a"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsA
}
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"1b"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsB
}
>>
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"2a"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsA
}
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"2b"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsB
}
>>
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"3a"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsA
}
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"3b"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsB
}
>>
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"4a"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsA
}
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"4b"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsB
}
>>
>>
}
Thanks!
- Making invisible the barline that extends between staff groups,
Joey Di Nardo <=