EMUSIC-L Digest Volume 55, Issue 10 This issue's topics: MIDI PROGRAM (5 messages) Your EMUSIC-L Digest moderator is Joe McMahon . You may subscribe to EMUSIC-L by sending mail to listserv@american.edu with the line "SUB EMUSIC-L your name" as the text. The EMUSIC-L archive is a service of SunSite (sunsite.unc.edu) at the University of North Carolina. ------------------------------------------------------------------------ Date: Sun, 15 Aug 1993 16:07:45 CDT From: U21920@UICVM.UIC.EDU Subject: MIDI PROGRAM Has anybody written a simple routine to read and output a midi file in preferably Basic but C or assembler would be OK. Thanyou in advance. ------------------------------ Date: Mon, 16 Aug 1993 15:36:12 EDT From: eric harnden Subject: Re: MIDI PROGRAM ummm.... what precisely do you mean 'read and output a midi file'? do you mean read a standard midi file format and reduce it a simpler form, like raw midi data stream? what do you want to do with the timing information? and output from what? a keyboard? that's called a sequencer. if you can be a little more specific as to the need (like what exactly you want to accomplish with it once you've got it) we might be able to narrow this down. -----------< Cognitive Dissonance is a 20th Century Art Form >----------- Eric Harnden (Ronin) or The American University Physics Dept. 4400 Mass. Ave. NW, Washington, DC, 20016-8058 (202) 885-2748 (with Voice Mail) ---------------------< Join the Cognitive Dissidents >------------------- ------------------------------ Date: Tue, 17 Aug 1993 19:09:46 -0400 From: Rajeev Upadhye Subject: Re: MIDI PROGRAM >>To: Multiple recipients of list EMUSIC-L >>Status: R >> >>Has anybody written a simple routine to read and output a midi file in >>preferably Basic but C or assembler would be OK. >> >>Thanyou in advance. ----------------------------------------------------------- I am also interested in such a program routine. If available in C or PASCAL would be OK. Rajeev Upadhye _________________________________________________________________________ Fundamentals of Research Methodology | Centre for Development of | Advanced Computing "Take roots of some tree | Pune University Campus Crush them with some thing | Ganesh Khind, Pune Then give it to someone | Maharashtra, INDIA 411 007 SOMETHING will definitely happen!!!" | Email: music@parcom.ernet.in | Fax : 91 212 337551 ------ PANCHA TANTRA | Phone: 91 212 332461 (A Sanskrit Book of Fairy Tales) | _________________________________________________________________________ ------------------------------ Date: Wed, 18 Aug 1993 11:31:02 GMT From: Greg Lee Subject: Re: MIDI PROGRAM Rajeev Upadhye (music@PARCOM.ERNET.IN) wrote: : >>To: Multiple recipients of list EMUSIC-L : >>Status: R : >> : >>Has anybody written a simple routine to read and output a midi file in : >>preferably Basic but C or assembler would be OK. : >> : >>Thanyou in advance. : ----------------------------------------------------------- : : : I am also interested in such a program routine. If available : in C or PASCAL would be OK. : : Rajeev Upadhye Tim Thompson wrote a set of C functions to read midifiles, and M. Czeiszperger added writing functions. Very useful. The original version with examples of use should still be at ucsd.edu in /midi and is called (I think) Midifile.tar.Z. I have a modified version which calculates elapsed midi time as its functions read a midi file (allowing for tempo changes). That version is part of the distribution of Adagio for Linux, which can be found at ftp.Hawaii.edu in /outgoing/adagio04n.tar.gz (a gzipped file). The relevant files are midifile.c, midifile.h, and midifile.3. Also there are a midi file disassembler, file midt.c, and assembler, file tm.l. (The FSF file compressor gzip can presumably be found at prep.ai.mit.edu.) (The midi file player in the Adagio distribution depends on an unreleased version of a Linux driver.) -- Greg Lee ------------------------------ Date: Wed, 18 Aug 1993 08:47:52 -0400 From: idealord Subject: Re: MIDI PROGRAM > > Rajeev Upadhye (music@PARCOM.ERNET.IN) wrote: > : >>To: Multiple recipients of list EMUSIC-L > : >>Status: R > : >> > : >>Has anybody written a simple routine to read and output a midi file in > : >>preferably Basic but C or assembler would be OK. > : >> > : >>Thanyou in advance. > : ----------------------------------------------------------- > : > : > : I am also interested in such a program routine. If available > : in C or PASCAL would be OK. > : > : Rajeev Upadhye > > Tim Thompson wrote a set of C functions to read midifiles, and M. > Czeiszperger added writing functions. Very useful. The original > version with examples of use should still be at ucsd.edu in /midi > and is called (I think) Midifile.tar.Z. I have a modified version > which calculates elapsed midi time as its functions read a midi > file (allowing for tempo changes). That version is part of the > distribution of Adagio for Linux, which can be found at > ftp.Hawaii.edu in /outgoing/adagio04n.tar.gz (a gzipped file). > The relevant files are midifile.c, midifile.h, and midifile.3. > Also there are a midi file disassembler, file midt.c, and assembler, > file tm.l. (The FSF file compressor gzip can presumably be found > at prep.ai.mit.edu.) (The midi file player in the Adagio > distribution depends on an unreleased version of a Linux driver.) > Also, check out MF2T and T2MF, by Piet van Oostrum at cs.ruul.nl. These programs convert MIDI files to a easily parsed text and back. Very nice and efficient... Jeff Harrington idealord@dorsai.dorsai.org ------------------------------ End of the EMUSIC-L Digest ******************************