README.md

December 4, 2022 ยท View on GitHub

A Simple Sine Wave Generator (DirectSound)

Description

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.

More Info

Methods:

DSB(0).SetFrequency

DSB(0).SetVolume

DSB(0).SetPan

DSB(0).Play

DS.CreateSoundBuffer

Submitted On2005-11-13 09:40:12
Byvb_elmar
LevelIntermediate
User Rating4.3 (17 globes from 4 users)
CompatibilityVB 6.0
CategoryDirectX
WorldVisual Basic
Archive FileSine_wave_19480411132005.zip

API Declarations

GetForegroundWindow