VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A Simple Sine Wave Generator (DirectSound)

by vb_elmar (3 Submissions)
Category: DirectX
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

Please Vote. Sine wave generator 3390 Byte. Simple code. Calculates a sine wave and plays the wave from Ram - no wave file *.wav. You can change the frequency with a slider. There is no "crackling sound" in the loudspeaker when changing the frequency or volume.

Inputs
Methods: DSB(0).SetFrequency DSB(0).SetVolume DSB(0).SetPan DSB(0).Play DS.CreateSoundBuffer
API Declarations
GetForegroundWindow

Rate A Simple Sine Wave Generator (DirectSound)

Download A Simple Sine Wave Generator (DirectSound)

Download A Simple Sine Wave Generator (DirectSound) (3 KB)

A Simple Sine Wave Generator (DirectSound) Comments

No comments have been posted about A Simple Sine Wave Generator (DirectSound). Why not be the first to post a comment about A Simple Sine Wave Generator (DirectSound).

Post your comment

Subject:
Message:
0/1000 characters