Re[2]: shorten midi file
[email protected] (Lee Goddard) Fri, 31 Jan 2003 12:50:06 +0100
| Newsgroups | perl.midi |
|---|---|
| Organization | LBL |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: MD5 Hi Sean, On Friday, January 31, 2003 at 12:22:34 PM, you wrote: SMB> At 10:09 AM 2003-01-31 +0100, Nandita Shenvi asked: >>[...]I have midi files and I need to shorten them i.e I recquire only the >>initial 1 min of the song.[...] SMB> I am curious about this question too -- or actually in the more general SMB> question of "how do you turn MIDI tick-times into seconds?". SMB> As I was writing MIDI-Perl, I thought I understood how this all worked, but SMB> then I learned that there were tempo-change events, and that seemed really SMB> hard to think about. Since I writing a parse and not a sequencer, I SMB> decided that I could just ignore the whole issue. But I'm still curious SMB> about it. SMB> Anyone know how this works? No idea, but couldn't he just presume that any temp-change would be reflected across tracks (I guess he's not using any really interesting jazz), and so parse that track for tempo changes? Why would that be difficult? - -- Cheers Lee mailto:[email protected] -----BEGIN PGP SIGNATURE----- Version: 2.6 iQCVAwUAPjpi7qdrfekeF/QBAQHq5AQAhTOASDq+ZjQl/a/6cB/7kaJHvm6btUj+ GvrbzrDERR1XpO+rmrh2uUwcc5m8C2tPmZ6PVAE2Km8vA+QzJCJ2HKgwIzENkmG7 nnT3DYDxPnkD4L7PJMjwkTdENhFIZuNyosX+Gk92OcjMwsvCqdaBPPwrG/wLXrU2 Lq85d8+D5Z4= =QOm7 -----END PGP SIGNATURE-----