by Scott Rauscher, MCP (1 Submission)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)

This code provides and example of what can be done with the System Speaker with the 'Beep' function in the Kernel32.dll API.
Inputs
Mouse cliks in appriate areas.
Code Returns
Musical Notes
API DeclarationsDeclare Function Beep Lib "Kernel32"(ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
Download PC Speaker Organ (6 KB)