Skip to main content

Module bar

Module bar 

Source
Expand description

Barlines and repeat signs. Barlines: music21’s bar module.

A measure has a barline at each end, and a repeat sign is a barline that also says which way the music repeats. music21 keeps them as the measure’s leftBarline and rightBarline, which is where crate::Stream::left_barline and crate::Stream::right_barline keep them here.

Structs§

Barline
A barline: music21’s bar.Barline, or its bar.Repeat where it is a repeat sign.
Ending
Where a measure stands in an alternative ending: music21’s RepeatBracket, the bracket drawn over the measures played the first time through, or the second.

Enums§

BarlineType
How a barline is drawn: music21’s bar.barTypeList.
RepeatDirection
Which way a repeat sign sends the music.