RE: Percussion and delta-time?
[email protected] ("Lee Goddard") Sat, 19 May 2001 09:44:50 +0100
| Newsgroups | perl.midi |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: Sean M. Burke [mailto:[email protected]] > Sent: 19 May 2001 02:04 > To: Lee Goddard; [email protected] > Subject: Re: Percussion and delta-time? > > > At 10:58 AM 2001-05-18 +0100, Lee Goddard wrote: > >[...] > >1. how can I get percussion? Changing the channel to ten > doesn't seem to do > >the trick: is this my lack of MIDI or lack of Perl MIDI::*? > > It's track 9. "9" is pronounced "tenth". > Cf. the fact that $foo[3] is item 3, i.e., the "fourth". > > Many descriptions of MIDI go and number from 1 (so, they call channel 0 > "channel 1", and so on up) because it's too "confusing" to number from 0. > But the file specification and the raw protocol both start at 0 (for note > numbers as well as channels), so that's what I do. > > See, for example, code in > http://www.speech.cs.cmu.edu/~sburke/midi-perl/tpj_13_midi.html > like: > noop c9, ff, n41, qn; # The setup... > n; r; n; r; # ...and the work. > > See also the examples in > http://www.speech.cs.cmu.edu/~sburke/midi-perl/scripts/ > Many thanks.