Article View: borland.public.cppbuilder.multimedia
Article #7making sounds
From: Chris W
Date: Thu, 23 Feb 2006 01:45
Date: Thu, 23 Feb 2006 01:45
20 lines
1704 bytes
1704 bytes
I have a very simple program I wrote to play Morse code to the user tapping on the mouse button. So while the mouse is down it plays a tone and stops when the button is released. The easiest way I could figure to do this was to just play a wave file while the mouse button is down and the stop and rewind while it is up. There has to be a more elegant solution than that. Something that would allow me to easily change the frequency of the tone would be nice too. Any ideas? I haven't done much C++ builder in several years now. -- Chris W KE5GIX Gift Giving Made Easy Get the gifts you want & give the gifts they want One stop wish list for any gift, from anywhere, for any occasion! http://thewishzone.com
Technical Details
Message-ID:
<43fd13d2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,e58b5a186c3c047c,start X-Google-Thread: fde74,e58b5a186c3c047c,start X-Google-Attributes: gid10d0fc,gidfde74,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 22 Feb 2006 19:45:37 -0600 From: Chris W <1qazse4@cox.net> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.multimedia,borland.public.cppbuilder.language.cpp Subject: making sounds Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 68.12.125.52 Message-ID: <43fd13d2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1140659154 68.12.125.52 (22 Feb 2006 17:45:54 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail