Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 131,616 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,087 people online right now. Registration is fast and FREE... Join Now!




Looking for a sound meter

 
Reply to this topicStart new topic

Looking for a sound meter

regee
post 16 Aug, 2008 - 05:32 PM
Post #1


New D.I.C Head

*
Joined: 16 Aug, 2008
Posts: 1

I Make my first project, a mp3 player and i want to include a vu meter, i have no idea how to do it, i find a free ocx (Acrotech Level Meter) and i try this but nothing work, can you help me please

vb

Private Sub cmd_Play_Click()
On Error Resume Next
MediaPlayer1.Play
If img_Green_Led(0).Visible = True Then
img_Green_Led(0).Visible = False
img_Green_Led(1).Visible = True
img_Red_Led(0).Visible = True
img_Red_Led(1).Visible = False
img_Blue_Led(0).Visible = True
img_Blue_Led(1).Visible = False
End If
ww.Caption = "Of " & MediaPlayer1.Duration & " seconds total."
LevelMeter_Left.Level = MediaPlayer1.AudioStream
LevelMeter_Right.Level = MediaPlayer1.AudioStream
lbl_Statusbar_Main.Caption = "Play"

End Sub


Mod Edit: Please use code tags when posting your code. Code tags are used like so => code.gif

Thanks,
PsychoCoder smile.gif
User is offlineProfile CardPM

Go to the top of the page


thava
post 16 Aug, 2008 - 05:42 PM
Post #2


D.I.C Regular

Group Icon
Joined: 17 Apr, 2007
Posts: 423



Thanked 17 times

Dream Kudos: 50
My Contributions


hi you first need to know
how to use that ocX
if you use properly ?

this is not sufficent to solve your problem


hi you first need to know
how to use that ocX
if you use properly ?

this coding is not sufficient to solve your problem

This post has been edited by thava: 16 Aug, 2008 - 05:47 PM
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 04:38AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month