From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,351cfaac4e16c408 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-26 01:14:04 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!feeder2-1.proxad.net!news4-2.free.fr!not-for-mail From: "Patrice Freydiere" Subject: Re: MIDI library for Ada Date: Sun, 26 Oct 2003 09:19:31 +0100 User-Agent: Pan/0.13.0 (The whole remains beautiful) Message-ID: Newsgroups: comp.lang.ada References: <3f8f39b8$1@news.broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Organization: Guest of ProXad - France NNTP-Posting-Date: 26 Oct 2003 09:14:03 MET NNTP-Posting-Host: 62.147.48.189 X-Trace: 1067156043 news4-2.free.fr 257 62.147.48.189:32804 X-Complaints-To: abuse@proxad.net Xref: archiver1.google.com comp.lang.ada:1692 Date: 2003-10-26T09:14:03+01:00 List-Id: Hi, a can't find the original message you replied to , so i just wanted to add some informations : i started implementing a full ADA midi library. Now, this library is able to read midi file, get all chunks and parse midi events. you can plug your custom parsing procedure to do what you want it is also able to write midi file. the packages is not actually able to bind to a physical midi , or and OS Midi interface. but it must not be very difficult. if you are interested, just email me i'll send you the sources. cheers, Patrice On Fri, 17 Oct 2003 02:29:04 +0200, aleistad wrote: > I glad to report that I now have an Ada program that plays a scale over MIDI > :-) > > (ref the thread: "Ada and MidiShare) > > The immediate solution was right under my nose, in the form of Win32Adas' > bindings to the Windows multimedia services (they are not mentioned in the > Win32Ada.hlp file). All I needed to do was to instantiate some data types > and call a couple of functions. > > If I'm not mistaken, there is no real dependency on Win32Ada as such, it > only provides thin bindings to the "libwinmm" library, and no Ada function > are used. If the supplied libwinmm.a is the same as in general gcc > distributions, all that needs to be done is to write a similar thin binding, > covering only MIDI (and possibly audio). This is of course only the very > basic byte-by-byte I/O. > > The status so far is the MIDI is easily acheivable, and I have the basics > running fine on two different Win98 PC's . > > To get reception going the use of a callback is required; that's next on my > list of experiments (and my Ada education). > > So - if there is interest, I'd propose that we co-develop a production > quality stand-alone MIDI library (and possibly audio too). My own > capabilities are limited, as I'm just learning Ada, but I will contribute in > any way I possibly can. > > Please, let's discuss! > > Regards, > > Are > > --