On 11/4/10 8:36 PM, "Steve Yegge" <steve.ye...@gmail.com> wrote:

> I've been getting hundreds of these warnings in each of my music files:
> 
> warning: MIDI channel wrapped around
> warning: remapping modulo 16

I'm not sure about the source of these warnings, and I don't do any work
with the MIDI code, so I'm not sure exactly why the warning occurs.
> 
> These warnings begin to accumulate as I add calls to set the minimumFret.
> It seems to be related to the transposition calls I'm doing as well, since
> removing them makes the warning go away.

It seems to work just fine to write your music all an octave lower (i.e. in
the sounding pitch, which you eventually get to by transposing) and put it
on a staff with a "treble_8" clef.

> I make an effort to try to keep my music files warning free, so it pains me
> to see hundreds of these scroll by on every compile.  If I'm structuring my
> files wrong (e.g. the way I'm instantiating the staffs or doing the
> transpositions)
> I'm happy to change them.

Using the treble_8 clef is the way to go.  But while we're at it, you create
a whole lot of unnecessary complexity in your file by adding unnecessary <<
>> and { } levels.

Here's what it looked like when I was done with it:

\version "2.13.10"
music = \relative c {
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
  \set TabStaff.minimumFret = #1 c
}

\score {
  <<
    \new Staff {
      \clef "treble_8"
      \music
    }
    \new TabStaff {
      \music
    }
  >>
}
\score {
  \music
  \midi {}
}
  


HTH,

Carl


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to