🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to Beep using the sound card

#6664
From: Boguslaw Fries
Date: Fri, 22 Apr 2005 08:54
11 lines
1364 bytes
Hello,
there is a procedure Beep( freq, duration) , which use
hardware beeper.
I would like to direct my "Beep" to my sound card.
Finally I write my own electronic piano..
Hope there are API to send command like "play sound( freq, duration ) " to 
sound card
Is anybody who knows, how to programm the sound card using Borland Builder 
6.0?
I found MCI intercae but I think is not a good way.
Best Regards. 
Technical Details
Message-ID: <4268bbd0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.cybernetik.net!newsfeed.cybernetik.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1229f4f52ab7b60e,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Boguslaw Fries" <boguslaw.fries@polivision.it>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: how to Beep using the sound card
Date: Fri, 22 Apr 2005 10:54:38 +0200
Lines: 13
Organization: PoliVision
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.89.172.102
Message-ID: <4268bbd0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114160080 82.89.172.102 (22 Apr 2005 01:54:40 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.cybernetik.net!newsfeed.cybernetik.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail