Spectrum dance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vdraceil
    New Member
    • Jul 2007
    • 236

    Spectrum dance

    Hi everyone,i wish to make a spectrum bar dance for an audio song,that is if i play an audio song the spectrum bars must dance according to the frequency of the beats in the song..also the bars must not dance when the song has not started..i have no idea how to proceed.does anyone know how to do it?i'm using vb6.0..
  • daniel aristidou
    Contributor
    • Aug 2007
    • 494

    #2
    [Subscibing] ..i also want to do the same...

    Comment

    • Robbie
      New Member
      • Mar 2007
      • 180

      #3
      This can be done fairly easily using FMOD. I'll explain with a full example when I'm at my comp. Im the meantime, you both might want to search the forum for other tutorials I've made for FMOD on VB6.

      Comment

      • Robbie
        New Member
        • Mar 2007
        • 180

        #4
        Sorry about the delay, but the most recent part of the delay is because my I "S" P went down. Here's the finished example program. It's very basic. Make sure all files are extracted before running, especially the DLL (FMOD sound system) and the OGG (example audio file).


        It's 1.22 MB. Sorry about the slow download speed.
        EDIT: My ISP is pretty unreliable, sorry. (I'm not exactly over the moon about it either. :P) So if it doesn't work at first, please WAIT an hour or so, and try again then. Thanks)

        Zip includes the following, which also explains why it's so large.
        - Compiled EXE of my example program
        - VB project itself
        - The FMOD module files for VB
        - The FMOD DLL
        - A little example OGG audio file (300 and something KB)
        - Full FMOD documentation for the version of the DLL which I use. It's not the most recent, because I have problems running it, but it is very recent and matches the version of the DLL which I provide.

        If you find the spectrum not accurate enough, decrease the '2048' in UpdateSpectrumB ars() up to 4096. If it's too 'sluggish' (blurred in the time dimension), decrease it down 20 1024,512, etc, down to minimum of 64. I explain much more in the program and as comments in the code.

        Please reply to let me know how it goes, even if it works. :P
        Last edited by Robbie; Feb 11 '08, 11:43 PM. Reason: Warned about my ISP unreliability

        Comment

        • Ali Rizwan
          Banned
          Contributor
          • Aug 2007
          • 931

          #5
          I have some thing like this i ll upload that thing.
          In that thing sound displays in wave form and in bar mode.

          Regards
          >> ALI <<

          Comment

          • vdraceil
            New Member
            • Jul 2007
            • 236

            #6
            Originally posted by Ali Rizwan
            I have some thing like this i ll upload that thing.
            In that thing sound displays in wave form and in bar mode.

            Regards
            >> ALI <<
            hi Ali,pls upload ur code.,i would like to see it

            Comment

            Working...