comp.lang.ada
 help / color / mirror / Atom feed
From: "aleistad" <sorry@no.spam.wanted>
Subject: MIDI library for Ada
Date: Fri, 17 Oct 2003 02:29:04 +0200
Date: 2003-10-17T02:29:04+02:00	[thread overview]
Message-ID: <3f8f39b8$1@news.broadpark.no> (raw)

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

--






             reply	other threads:[~2003-10-17  0:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-17  0:29 aleistad [this message]
2003-10-26  8:19 ` MIDI library for Ada Patrice Freydiere
2003-10-26 23:35   ` aleistad
2003-10-29 20:34     ` Patrice Freydiere
2003-10-30 16:47       ` aleistad
2003-10-30 21:56         ` Patrice Freydiere
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox