Thread: Winmap like visualization

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    9

    Winmap like visualization

    I'm creating a wav player and am making use of PlaySound(). i need to create a simple bar visualization like the one in winamp..
    Please help me..THANKS!

    [edit] how can i play mp3 files in my program?

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Do you mean a progress bar or a display of the sound volume/intensity?

    AFAIK you can't with playsound. Need finer control or more info from the OS. From Winmm.lib and Mmsystem.h.

    Look at using WM_WOM_ messages and a timer for a progressbar.

    waveOutPrepareHeader()
    waveOutWrite()
    SetTimer()
    waveOutUnprepareHeader()
    waveOutClose()
    waveOutGetPosition()

    will help.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User AtomRiot's Avatar
    Join Date
    Jan 2003
    Posts
    120
    a few years ago i used the fmod libraries to play music. It was free then as long as you are not going to profit from it.

    FMod MP3 Libraries

    I was able to play mp3's or wavs but you have to pay if you intend to profit.
    All Your Base Are Still Belong to Someone!!!
    And you Remember that!!!

  4. #4
    winamp has a SDK on there site,
    it might have something in it to help you
    with your visualization.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. useful: disk usage pie chart + graph visualization
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 06-05-2009, 04:06 PM
  2. Music Visualization
    By misterMatt in forum C++ Programming
    Replies: 3
    Last Post: 12-23-2008, 08:24 PM
  3. create winamp like visualization in wav player?
    By V.G in forum Windows Programming
    Replies: 0
    Last Post: 10-13-2004, 07:08 AM
  4. DX9 visualization problem
    By darcome in forum Game Programming
    Replies: 4
    Last Post: 03-05-2003, 12:40 PM
  5. Visualization docs and pointers
    By Zionaster in forum C++ Programming
    Replies: 7
    Last Post: 06-21-2002, 01:46 AM