Output Frequency to SoundCard, not a .wav, possible? 
Author Message
 Output Frequency to SoundCard, not a .wav, possible?

I would like to make a morse code program allowing the user to adjust
the frequency that is played over the soundcard. Is there an API
allowing me to select the frequency and duration of a beep?


Thu, 28 Jun 2001 03:00:00 GMT  
 Output Frequency to SoundCard, not a .wav, possible?
There is an API called Beep. I believe you can set the frequency there.

Noah

--

----------------------------------------------------

Pager: 1-800-PAGOO-44: 01191984
AIM: BLiZ Coder
ICQ: 27182530

Quote:
>I would like to make a morse code program allowing the user to adjust
>the frequency that is played over the soundcard. Is there an API
>allowing me to select the frequency and duration of a beep?



Thu, 28 Jun 2001 03:00:00 GMT  
 Output Frequency to SoundCard, not a .wav, possible?

Quote:
>There is an API called Beep. I believe you can set the frequency there.

>Noah

Only if you're running Windows NT.
On Windows 9x the Beep function ignores the dwFreq and dwDuration
parameters.

Proteus

(Remove nospam. to reply.)



Thu, 28 Jun 2001 03:00:00 GMT  
 Output Frequency to SoundCard, not a .wav, possible?
I tried the Beep function and it didn't work under 95.

Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration
As Long) As Long

No values for dwfreq and dwduration made any difference, or any noise for
that matter.
Thanks,
Mike

Quote:

> >There is an API called Beep. I believe you can set the frequency there.

> >Noah

> Only if you're running Windows NT.
> On Windows 9x the Beep function ignores the dwFreq and dwDuration
> parameters.

> Proteus

> (Remove nospam. to reply.)



Thu, 28 Jun 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Output a frequency on Soundcard ?

2. SOUNDCARD MIC FREQUENCY DETECTION USING VB OR C++

3. Frequency of Sound in WAV file

4. Getting the frequency of a WAV as it plays

5. VB5 - Soundcard - WAV files

6. playing WAV-files on 2 soundcards !

7. How to play .WAV without soundcard?

8. A new MP3 and wav DLL for multiple soundcards

9. VB5 - Soundcard - Wav

10. Wav on 2 Soundcards ?

11. Very short delay when starting a wav file and use 2 soundcards? Possible in VB?

12. WAV OUTPUT

 

 
Powered by phpBB® Forum Software