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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,441ab6d6abb8b3af X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-16 12:47:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Ada and MidiShare Date: 16 Oct 2003 16:39:11 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3f88cb3d$1@news.broadpark.no> <3onkov8fslkkj992a1osekfr1n06qt3265@4ax.com> <3f8ab254$1@news.broadpark.no> <3f8c1fe7$1@news.broadpark.no> <3f8c2261$1@news.broadpark.no> <3f8db6d8$1@news.broadpark.no> <3f8df170$1@news.broadpark.no> <3f8ed901$1@news.broadpark.no> NNTP-Posting-Host: shevek.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1066333378 13764 128.183.235.101 (16 Oct 2003 19:42:58 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 16 Oct 2003 19:42:58 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:1011 Date: 2003-10-16T19:42:58+00:00 List-Id: "aleistad" writes: > ATM I'm looking at the possibility of using Win32Ada to build a minimal > MIDI/audio I/O library. If that fails I will try to use C/gcc and the winmm > library, then make bindings for Ada. This route looks like it should be > doable with a minimun of work, although my lack of both Windows and Ada > experience will probably lead me through a fairly long path to get there. I > will report on my findings to this group. > > BTW: is there any reason to not use Win32Ada in this day and age (the GNAT > one)? It looks like development was stopped many years ago. Well, those of us who have written thick bindings to windows (CLAW, GWindows, Windex), don't use Win32Ada, becuase it has a "C" look and feel. We prefer to bind directly to the Win32 API as we need to. I suggest you consider writing an extension to CLAW or GWindows to support MIDI. That will make your life easier, and make it easier for everyone else to use as well. You could also extend Windex, but that library is officially retired now. > The more I look around, the more I think that what Ada needs is a > very minimal binding to the (Win,Mac,Linux) host platforms MIDI and > audio I/O, leaving out all the huge (C/C++) libraries. Yes. > Then this minimal I/O library can be used to build a "native > standard" Ada MIDI/audio library "the way it's meant to be" (tm) . Yes. If it turns out that the MIDI library doesn't need anything from GWindows or CLAW, then making it stand-alone would be fine; then it could be used with GtkAda. > Portaudio, SDL, FMOD and their siblings are surely nice libraries, > but in this case (minimal I/O) they are overkill. Yes. -- -- Stephe