pedrolcl/dmidiplayer

Feature Request: Count in

Opened this issue · 2 comments

Feature Request:

Proposal: Use a separate "count in" midi file so that I can generate a click track before the song midi file plays.

Use Case: I practice using this app as a drum machine that plays drum midi files for each song. I need a count in so that I can start playing at the right time along with the drum track.

Playing two (or more) midi files in sequence is already possible using the "Playlist" feature. You may also want to activate two Settings->Preferences:

  • Start Playback Automatically after Loading
  • Advance Automatically to the Next Playlist Item

image

The problem is that playlist introduces a small gap between the songs. This time gap should be configurable with another preferences/settings, but this would be a different ticket.

In my opinion, your best option is to edit your songs with a suitable editor, and insert your preferred "count in" before the actual song. Doing this automatically would be very complex, because...

  • What percussion instrument(s) to choose for the count-in sounds? Perhaps metronome-click (GM #33), or metronome-bell (GM #34), but also sticks (GM #31) would be preferred by somebody, or a combination of several instruments . An user choice is needed here.
  • Tempo and time signature should match the beginning of the song, but...
  • How many beats to count in? The same as the song's bar length? What if the song begins with anacrusis?

Proposal: Use a separate "count in" midi file so that I can generate a click track before the song midi file plays.

Funny this question was asked, and that I stumbled across it. I am, as we speak, working on a Python script that will ingest a MIDI file and pre-pend a count-in to it. If I get it completed and it works pretty well I'll try to remember to come back and let you know. (If it does get completed it'll show up as one of my own github repos.)