Kara-Moon Forum

Developers & Technology => Musical MIDI Accompaniment (MMA) => Topic started by: sciurius on November 13, 2020, 09:53:30 AM



Title: Lyrics
Post by: sciurius on November 13, 2020, 09:53:30 AM
I would like to do this:

Code:
  1  z   [ <4>Swing  ]          // "Swing" at beat 4
  2  D   [ low, <4>sweet  ]     // "low" @1, "sweet" @4
  3  G D [ chari <3>ot, ]       // "chari" @1, "ot" @3
  4  D   [ Comin’ <2>for to <3>carry <4>me  ]
  5  A7  [ home. ]

This currently does not work for several reasons.

How can the desired result be achieved?


Title: Re: Lyrics
Post by: bvdp on November 13, 2020, 04:55:35 PM
I think it is working as advertised. Using a minimal file:

 Groove folk
 1  z   [ Swing  ]

the lyric "Swing" is placed at offset 0

with

 1 z [<4> Swing ]

the offset for the lyric is 672.

Is there something wrong here?


Title: Re: Lyrics
Post by: sciurius on November 13, 2020, 05:48:49 PM
Yes, 1st line works as advertised. But there is more than the first line... For example the 2nd.

Code:
 2  D   [ low, <4>sweet  ]     // "low" @1, "sweet" @4

This places "low, sweet" at the 4th beat, as advertised. But I would like to achieve the "low," on the 1st beat, and "sweet" on the 4th.

The 4th line of my sample has multiple <..>, only the first is taken into account, again as adervertised.

I'm not saying there is something wrong... I'm just wondering how to achieve the neat thing I want to do.


Title: Re: Lyrics
Post by: bvdp on November 13, 2020, 06:36:55 PM
I _think_ the limitation is there just to make the coding easier ... but, it's been awhile since it was coded and just as long since I've really looked at it. Yes, one could enhance the <> parsing.

However, for occasional usage (in other words: before Bob gets a chance to look at it!) you could use "fake" syllables to fill out your lyric. Did you give something like this a go?

   G / F  [beat1 _ _ beat4]

a try?

In the meantime, I'll add the request to the TODO.


Title: Re: Lyrics
Post by: bvdp on November 13, 2020, 08:32:54 PM
Also, gotta ask: Why? I think that the display of lyrics in a player is pretty much outside of a user's control anyway :)