🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #216

Re: Sound in pascal

#216
From: Dr John Stockton
Date: Mon, 27 Dec 1999 00:00
24 lines
2089 bytes
JRS:  In article <e8p76s83r7nnddnc78b1a1o4dmpjhi14d6@4ax.com> of Fri, 24
Dec 1999 16:27:19 in news:comp.lang.pascal.borland, Jud McCranie
<jud.mccranie@mindspring.com> wrote:
>"Syphon" <Syphon@chill-zone.fsnet.co.uk> wrote:
>
>>Anybody know how to produce two different frequencies out of the PC speaker
>>or through a sound blaster card in pascal. 
>
>Two different frequencies at the same time?  I don't think that
>is possible on the PC speaker, but it can be done on the sound
>card.  I don't know the details though.

I had a program to produce "speech" out of the speaker, so it must be
possible.  I expect that one disconnects (by software) the speaker from
the usual counter, and mark:space modulates its drive to synthesise the
required waveform.  Originator should check what accuracy is *really*
needed, and whether his speaker is adequate (one can easily connect a
better, usually).
 
-- 
� John Stockton, Surrey, UK.  jrs@merlyn.demon.co.uk   Turnpike v4.00   MIME. �
 <URL: http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
 <URL: ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip> Timo Salmi's Turbo Pascal FAQ;
 <URL: http://www.merlyn.demon.co.uk/clpb-faq.txt> Pedt Scragg: c.l.p.b. mFAQ.
Technical Details
Message-ID: <z0J2W3Hsz4Z4Ew1Z@merlyn.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <840he2$rqp$1@news7.svr.pol.co.uk> <e8p76s83r7nnddnc78b1a1o4dmpjhi14d6@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111659,b4fc5f66506fb13f
X-Google-Attributes: gid111659,public
X-Google-Thread: 108ebd,b4fc5f66506fb13f
X-Google-Attributes: gid108ebd,public
From: Dr John Stockton <jrs@merlyn.demon.co.uk>
Subject: Re: Sound in pascal
Date: 1999/12/27
Message-ID: <z0J2W3Hsz4Z4Ew1Z@merlyn.demon.co.uk>
X-Deja-AN: 565405515
Content-Transfer-Encoding: 8bit
X-NNTP-Posting-Host: merlyn.demon.co.uk:158.152.233.145
References: <840he2$rqp$1@news7.svr.pol.co.uk> <e8p76s83r7nnddnc78b1a1o4dmpjhi14d6@4ax.com>
Content-Type: text/plain;charset=iso-8859-1
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 946324512 nnrp-04:29428 NO-IDENT merlyn.demon.co.uk:158.152.233.145
Organization: Home, 'Surrey', UK
MIME-Version: 1.0
Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal