Added: Apr 28, 2002
Snippet uploaded by: snippet
Written By: unknown
Demo: Sorry, no demo
Using the win95io api's you could generate tones from your pc speaker
Highlight all by clicking in box
Private Declare Sub vbOut Lib "WIN95IO.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Private Declare Function vbInp Lib "WIN95IO.DLL" (ByVal nPort As Integer) As Integer
vbOut 66, CInt(1193280 / Freq) And 255
vbOut 66, CInt(1193280 / Freq) 256
vbOut 97, vbInp(97) Or 3
vbOut 97, 0
vbOut 67, 182
No Comments to show
Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.
Adding your comment. Please wait...
Thanks for adding your comment!. After further review it will be added.
There was a problem adding your comment. Please try again.
Please complete all the fields in the form before sending.