🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1276

Re: equivalent of sound(freq)

#1276
From: Ted Lyngmo
Date: Sat, 29 Sep 2007 03:06
19 lines
1621 bytes
Giuliano wrote:
 > "Maurice" wrote:
 > >
 > > I use the free borland command lie tool (v5.5).
 > > is there any equivalent of the old sound(frqnency), not yet
 > > available??
 >
 > Have you tried with the WINAPI
 >
 >     ::Beep( freq, duration );

If you want to create your own waveforms you can try my TWaveOut class:
http://lyncon.da.ru/software/cppbuilder/TWaveOut.zip

Don't let the 'T' fool you, it's not VCL. :)
It only uses <windows.h> and <mmsystem.h>.

Best regards,
Ted Lyngmo
Technical Details
Message-ID: <46fdc121@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <469f1aba@newsgroups.borland.com> <pgnu93d1n6nu0mhfh9r9e2e5h6to748r99@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d3e3557ca2a0434d
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 29 Sep 2007 05:06:11 +0200
From: Ted Lyngmo <tedREMOVETHIS@lyncon.se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: sv, en, en-us
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: equivalent of sound(freq)
References: <469f1aba@newsgroups.borland.com> <pgnu93d1n6nu0mhfh9r9e2e5h6to748r99@4ax.com>
In-Reply-To: <pgnu93d1n6nu0mhfh9r9e2e5h6to748r99@4ax.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 85.195.27.81
Message-ID: <46fdc121@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1191035169 85.195.27.81 (28 Sep 2007 20:06:09 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail