New release of Beats Drum Machine out today!

This release is for all you swingers out there. A new Swing declaration in the song header will cause the song to be played with either a swung 8th note or swung 16th note rhythm. For example, take this song:

Song:
  Tempo: 120
  Flow:
    - Verse: x4

Verse:
- bass.wav:   X...X...X...X...
- snare.wav:  ....X.......X...
- hihat.wav:  X.X.X.X.X.X.X.X.

It will sound like this:

You can add an 8th note swing like this (notice the 3rd line, everything else is the same):

Song:
  Tempo: 120
  Swing: 8   # Or, 16
  Flow:
    - Verse: x4

Verse:
- bass.wav:   X...X...X...X...
- snare.wav:  ....X.......X...
- hihat.wav:  X.X.X.X.X.X.X.X.

And it will now sound like this:

This release also adds support for fractional tempos. For example, this song uses a tempo of 100.5, which is now valid:

Song:
  Tempo: 100.5
  Flow:
    - Verse: x4

Finally, this release also includes a small bug fix. When you run the beats command with no arguments, it now displays the help screen, rather than an error message.

As usual, for more info on Beats Drum Machine, check out the website at beatsdrummachine.com, or check out the code on GitHub.

Links