Results 1 to 10 of 10

Thread: winmm + audio level for VU meter

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    15

    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

  2. #2

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    15

    Re: winmm + audio level for VU meter

    Nobody?

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    15

    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?

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    15

    Angry 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.

  5. #5
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    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

  6. #6
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    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

  7. #7

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    15

    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?

  8. #8
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    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

  9. #9
    Junior Member
    Join Date
    Feb 2010
    Posts
    24

    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.

  10. #10
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    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
  •  



Click Here to Expand Forum to Full Width