Newsgroups: comp.lang.scheme
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!cam-news-feed3.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!worldnet.att.net!news.mathworks.com!news-peer.gsl.net!news.gsl.net!news-dc.gsl.net!news.gsl.net!news.sprintlink.co.za!NEWS!not-for-mail
From: Cindy van Rooyen <jvrooyen@liasec.infolink.co.za>
Subject: Sound waves
Message-ID: <277cd$14103.1c5@NEWS>
Date: Fri, 07 Feb 1997 18:16:03 GMT
X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Lines: 38

                             PLEASE HELP!!!
If you are a Pascal programmer please help me with the following.

I want a Pascal SOURCE CODE of a program that I will describe below.
The program must do the following:

I want to play a sound at for example 500 cycles(Sound(500);) through the 
microphone socket(Port:220,  IRQ:5,  DMA:1(low),  DMA5(high)) using a SB 
16 sound card.  All that the program must do is is give more or less a 
numeric value of what is entering the mic socket at the moment.  

For example if I play a 200 cycle sound it must give a value of say 
between 100 and 300 and if I play at 1200 cycles it must give a value of 
say 600 to 900.
Take another example - the comercial program "Wave studio".  It form a 
certain wavepatern for each sound. It will form the same patern if the 
same sound is played.  The program must be like that, just the 
wavelengt,amplitude,frequency or whatever must be display as a numiric 
value.

If it is possible can the program be made to reconize about 24 different 
sounds like the example above.

When the program is compiled all that it must display on the screen is 
the numeric value.  Please write or provide a source code that will work 
on a 6.0 Pascal version or less. 

Please help me with this. I don't have the knowledge to write a program 
like that and I need it very urgent. So please, if you can write it 
yourself or provide a source code please do so.

NOTE:  Please reply via e-mail


Sincerely
Cindy



