Search Tools Links Login

electronic keyboard ( organ)


press the keys and hear the different note from pc internal speaker.you can play music like piano.
this code work in
win 95,98,me .I promise next time to write the code for windows 2000 .in this coe I use port address of internal pc speaker.plese vote it.thank you.
(YOU MUST COPY "INPOUT.DLL" to directory "windowssystem" and "windowssystem32" or
in run type regsvr32 pathinpout32.dll

Original Author: reza talatian azad

Inputs

the address of internal pc speaker for turn on and turn off it

Returns

different sound. music note

API Declarations

Public Declare Function Inp Lib "inpout32.dll" _
Alias "Inp32" (ByVal PortAddress As Integer) As Integer
Public Declare Sub Out Lib "inpout32.dll" _
Alias "Out32" (ByVal PortAddress As Integer, ByVal Value As Integer)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 93 times

Categories

Visual Basic 6

Attachments

electronic507711242002.zip
Posted: 9/3/2020 3:45:00 PM
Size: 4,910 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.