Currently BB can export a song into a WAV file that can be used in other places. This is a convenience, for sure.

However, the current exporting mechanism is not optimal because it does not export just the song alone. Instead, BB always exports some blank airtime at the front of the WAV file (presumably unused room for a lead or count-in bar?), and some unused (no notes) trailing time as well.

In particular, I've noticed that BB also exports unused melody track notes (that is, notes beyond the last bar on the chord chart) into the WAV file. This is not good. Normal playback in the BB program terminates the song after the last bar in the chord chart, so BB knows where the end of the song is, but the exporting code apparently does not have the same knowledge.

If it helps any, I end up with extra choruses of melody track notes when I fold the expanded song into repeats of a smaller chorus (but why this happens is a separate issue).

A better approach to exporting would be (1) to NOT export any empty lead-in / count-in bars, and (2) to end the export with the last bar in the chord chart, instead of the last note found on the melody/solo tracks.

If these changes were made, the exported WAV file would be shorter in length, would contain no dead airtime and no unwanted trailing notes beyond the ending of the song. Users would have a tight, "song only" exported WAV file that would not require further editing in an audio editor.