Subject: Re: another sound survey...
To: None <port-mac68k@NetBSD.ORG>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
List: port-mac68k
Date: 05/08/1998 03:17:46
Colin Wood <cwood@ichips.intel.com> wrote:

Colin> Hello everyone!

Hi!

Colin> Once I've gotten that finished, I'll submit a patch
Colin> to add the support to -current.

Cool.

Colin> Now for the survey part.  I'm including a copy of the
Colin> source for my beeping program below.  I guess that
Colin> it's really a square-wave tone generator.  Once
Colin> you've compiled it (assuming "gcc -o beep beep.c"),
Colin> you invoke it like so:

The code I sent drove ASC in free-wave mode and This drives
it in four voice mode.  It's pretty good that if there are
some ioctls to handle both modes of [E]ASC.

I think...

/dev/bell for bell device.
/dev/audio for play audio file.

Thoughts?

Colin> 	temp = 0x11999999 / count;

The magic number is 0x58000000 on IIcx.  There may be
another?

BTW, I made a test prog. try to figure the 4 tones and it
made a kind of harmony, but I found that I needed to
implement the scheme to handle musical score even if there
are limited only 4...

Does anybody remember good old MusicWorks?  I loved it;-)

--
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
Happy Hacking!