lilypond-user
[Top][All Lists]

## Re: Warning: Midi channels wrapped around Warrning Remapping modulo 16.

 From: Sebastian Canagaratna Subject: Re: Warning: Midi channels wrapped around Warrning Remapping modulo 16. Date: Mon, 19 May 2014 21:15:40 -0400

Dear Simon
Thank you  very much for your suggestion. I was trying to prepare a midi for a hymn with acompaniment,  4 channels for SATB and two for the accompaniment.In the accompaniment there are four voices ( but only two  staves ). I used  the << {}{} >> construct to accommodate the extra voices but since I was  getting the warning about the channels being remapped, I removed this consruct and replaced the consruct by 4 channels instead of two; I  associated each voice with a channel not the staffThus there will be a maximum of 8 channels. Now  I don't get
a warning. But when I put the SATB on two staves instead of four the warning reappears. I find this behavior difficult to undererstand since I am not increasing the channels: as far as I can see  the maximum no of channels is 8 . I will do some more work on my example to see what is happening, assuming that this is not a bug in lilypond. I will let you know if I solve it.

Sebastian

.l

On Sun, May 18, 2014 at 6:54 AM, Simon Albrecht wrote:
Hello Sebastian,

it seems to me like you would require more than 16 midi channels (which normally correspond to the staves in your score) and midi doesn’t support more than 16. So the output which would have gone to channel #17 is actually put into channel #1 (and inherits its instrument, dynamics etc. properties), #18 is redirected to #2 etc. (that’s the modulo 16 part). So either, if this isn’t a problem for you (because all staves use the same midi instrument for example), just ignore the warning [1] or try using an extra score for midi, which combines some of the staves into voices of one staff, so you don’t have more than 16 staves in total.

HTH, Simon

[1] or use the scheme function ly:expect-warning:

#(ly:expect-warning "MIDI channel wrapped around")

#(ly:expect-warning "remapping modulo 16")

(somehow this doesn’t suppress all the warnings, but only the first one of a kind; I’ll ask about that in a separate mail)

Am 17.05.2014 21:45, schrieb Sebastian Canagaratna:
Hi:
I'm using Lilypond 2.16.2 I get the above warning sometimes.
Is this a bug? Or am I doing something wrong? I can't detect the error,
and the midi seems OK.

Sebastisn

```_______________________________________________
lilypond-user mailing list
https://lists.gnu.org/mailman/listinfo/lilypond-user
```

_______________________________________________
lilypond-user mailing list