|
-
Nov 23rd, 2006, 01:12 PM
#1
Thread Starter
New Member
winmm + audio level for VU meter
Dear people,
Is it possible to use Winmm.dll to display the audio level with a VU meter. I use winmm to play a wav-file and display a VU meter.
Thanks
-
Nov 24th, 2006, 04:56 AM
#2
Thread Starter
New Member
Re: winmm + audio level for VU meter
-
Nov 24th, 2006, 10:44 AM
#3
Thread Starter
New Member
Re: winmm + audio level for VU meter
I've tried something with mciSendString("status recFile level", s, 255, 0), but nothing returns. I think my soundcard doesn't understand this mciSendString?
-
Nov 28th, 2006, 02:19 AM
#4
Thread Starter
New Member
Re: winmm + audio level for VU meter
I think nobody knows a solution, so I think it's better I don't use Winmm.dll. Maybe the bass.dll is something for me.
-
Nov 28th, 2006, 08:15 AM
#5
Re: winmm + audio level for VU meter
Why don't you use DirectXSound ?
Here's my sound tutorial (not finished) if you don't know how to use DirectSound:
http://www.vbforums.com/showthread.php?t=388562
-
Nov 28th, 2006, 08:32 AM
#6
Re: winmm + audio level for VU meter
It depends on your soundcard. If your soundcard has a peak level meter then you can use the multi media api's:
http://msdn2.microsoft.com/en-us/library/ms712109.aspx
If not you have to check the samples yourself via DirectXSound or the wave-in api's
-
Jan 6th, 2007, 01:39 PM
#7
Thread Starter
New Member
Re: winmm + audio level for VU meter
I've been searching for some samples for long time. It should be great when I can use the waveout api to play en show a Vu-meter.
I think this is a very complex problem, because a lot of people have the same problem. Is there then nobody who have some sample code?
-
Jan 6th, 2007, 02:05 PM
#8
Re: winmm + audio level for VU meter
Did you look at my tutorial ?
Here's another example:
http://www.vbforums.com/showthread.php?t=232243
-
Feb 12th, 2010, 11:54 AM
#9
Junior Member
Re: winmm + audio level for VU meter
Your tutorial is excellent, I have learned so much about Directsound. One thing though, is there any way of splitting the two channels to different sound files, at the saem time or seperateley.
I think it may be a tall order.
-
Feb 12th, 2010, 02:16 PM
#10
Re: winmm + audio level for VU meter
Hi UKnod,
There is section in my tutorial "Splitting a Stereo buffer to 2 Mono buffers" (second last post).
All you have to do after that is to save the files...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|