comp.lang.ada
 help / color / mirror / Atom feed
* MIDI library for Ada
@ 2003-10-17  0:29 aleistad
  2003-10-26  8:19 ` Patrice Freydiere
  0 siblings, 1 reply; 6+ messages in thread
From: aleistad @ 2003-10-17  0:29 UTC (permalink / 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

--






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-30 21:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17  0:29 MIDI library for Ada aleistad
2003-10-26  8:19 ` 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

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