VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

electronic keyboard organ)

reza talatian azad  (1 Submission)   Sound/MP3   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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 "windows\system" and "windows\system32" or
in run type regsvr32 path\inpout32.dll

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)

Rate electronic keyboard organ) (6(6 Vote))

Download electronic keyboard organ)

electronic keyboard organ) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters