chords icon indicating copy to clipboard operation
chords copied to clipboard

Barlines

Open evashort opened this issue 6 years ago • 1 comments

Allow users to type pipe characters that function as barlines.

When a line of text contains no barlines, the default division is two chords per bar, with the last chord taking a full bar if there's an odd number of chords.

  • |A| = Full bar of A
  • |A B| = Half bar each of A and B
  • |A B C| = One beat each of A and B, half bar of C
  • |A B C D| = One beat of each chord
  • |A B C D E| = Too many chords to fit in a bar. Default barlines are added between B and C as well as between D and E.

If a line of text does not start with a barline, chords before the first barline use the default division.

If a line of text does not end with a barline, chords after the last barline use the default division.

When the user clicks the first chord of a bar, playback automatically advances to the end of the bar. This only applies if the user has put an explicit barline on both sides.

In order to fit 4 chords in a bar, the "Basic" strum pattern will have to be adjusted so that each cycle is half a bar. This means its default BPM will be 65 instead of 125.

evashort avatar Aug 18 '18 19:08 evashort

Let's keep the "Basic" strum pattern at 125 BPM. Unlike the other patterns, it will be limited to 3 chords per bar:

|A B| =
A     B
1   2 &   & 4 &


|A B C| =
A     B     C
1   2 &   & 4 &

|A B C D| is the same as |A B C|; the last chord is omitted.

evashort avatar Aug 18 '18 20:08 evashort