🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Sound in pascal

#215
From: Dr John Stockton
Date: Fri, 31 Dec 1999 00:00
35 lines
2537 bytes
JRS:  In article <1i5h48.po.ln@bastisoft.de> of Fri, 31 Dec 1999
03:48:33 in news:comp.lang.pascal.borland, Sebastian Koppehel
<basti@bastisoft.de> wrote:
>
>AFAIK, the PC speaker can only play one sound at a time due to the
>way it is controlled. The main problem is that you set it to some
>frequency, whereas with a "real" sound card, you have, at least
>indirectly, access to the membrane position.

Not so, IMHO; see my earlier answer.  The speaker is most commonly
driven from a frequency source, but other gates are available, and it
can be more closely controlled using the CPU.

Do I not recall the use of a speaker to generate telephone tone
dialling, which surely requires two distinct tones at once?

We don't want a circuit diagram graphic here; but has anyone got the
full Boolean expression for the operation of the gates driving the
speaker?  ISTM that PIT PB1 is anded with PIT OUT2 (counter), and the
counter is enabled by PIT PB0.


Confirmed ; Pascal SWAG is no longer updated, they say.

NGs line transposed - perhaps the reasons should be in or linked from
the mFAQ? (It currently contains no reference to forums.borland.com).

Thought ; if the mFAQ were posted to a Borland pascal group via a non-
Borland server, TeamB would not be involved ...
 
-- 
� 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: <yDuA8FB$TKb4EwHC@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> <84ght8$qrn$4@news5.svr.pol.co.uk> <1i5h48.po.ln@bastisoft.de>

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/31
Message-ID: <yDuA8FB$TKb4EwHC@merlyn.demon.co.uk>
X-Deja-AN: 566942087
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> <84ght8$qrn$4@news5.svr.pol.co.uk> <1i5h48.po.ln@bastisoft.de>
Content-Type: text/plain;charset=iso-8859-1
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 946668089 nnrp-04:23004 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