Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Rythm game

Rythm game

Scheduled Pinned Locked Moved C#
csharpgame-devquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pokabot
    wrote on last edited by
    #1

    Hi all I want to make a very basic rythm game in c#. What would be the best way to get the grahics to run in time with a music file? Some basic ideas of how it could be done would be great to get me started. thanx

    G 1 Reply Last reply
    0
    • P pokabot

      Hi all I want to make a very basic rythm game in c#. What would be the best way to get the grahics to run in time with a music file? Some basic ideas of how it could be done would be great to get me started. thanx

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      The easiest and most accurate would be to simply use known music and store the time offset and duration of the beats for each song. To use it with any music, you would typically do fourier analysis of the music waveform to detect patterns in the intensity at different frequencies.

      --- single minded; short sighted; long gone;

      P 1 Reply Last reply
      0
      • G Guffa

        The easiest and most accurate would be to simply use known music and store the time offset and duration of the beats for each song. To use it with any music, you would typically do fourier analysis of the music waveform to detect patterns in the intensity at different frequencies.

        --- single minded; short sighted; long gone;

        P Offline
        P Offline
        pokabot
        wrote on last edited by
        #3

        You obviously know what your talking about but sadly i had no idea ... any chance you could break it down a bit for me (which music file is best to use?, how do i find the beat durations? etc.) I was thinking of having an editor and plotting the notes on a timeline ... saying that I dont think there would be another way to do it! Thanks for your response

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups