🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
2 messages
2 total messages Started by Chris W Thu, 23 Feb 2006 01:45
making sounds
#7
Author: Chris W
Date: Thu, 23 Feb 2006 01:45
20 lines
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
Re: making sounds
#8
Author: Remy Lebeau (TeamB)
Date: Thu, 23 Feb 2006 04:31
12 lines
1366 bytes
"Chris W" <1qazse4@cox.net> wrote in message
news:43fd13d2$1@newsgroups.borland.com...

> I have a very simple program I wrote

Please do not cross post.  It is against Borland's newsgroups guidelines
(http://info.borland.com/newsgroups).  Only post to the single most
appropriate group.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads