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. Audio Input Class?

Audio Input Class?

Scheduled Pinned Locked Moved C#
helpquestionannouncement
5 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.
  • M Offline
    M Offline
    MartyExodus
    wrote on last edited by
    #1

    I'm working on a project for my Comp Sci class, so I figured I'd make a homebrew version of rock band/guitar hero, except with real instruments. I was wondering if there is a way to capture the audio input in a stream, and then if there was a way to check the pitch of a particular point of that input stream. Any help would be appreciated. Thanks.

    There is no knowledge that is not power. - Mortal Kombat

    C 1 Reply Last reply
    0
    • M MartyExodus

      I'm working on a project for my Comp Sci class, so I figured I'd make a homebrew version of rock band/guitar hero, except with real instruments. I was wondering if there is a way to capture the audio input in a stream, and then if there was a way to check the pitch of a particular point of that input stream. Any help would be appreciated. Thanks.

      There is no knowledge that is not power. - Mortal Kombat

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Rock Band and Guitar Hero do not support real instruments. You can capture the input, but I'm not sure how hard it is to work out a pitch, especially if it's a guitar, which can have vibrato, bent strings, whammy bar, etc.

      Christian Graus Driven to the arms of OSX by Vista.

      M 1 Reply Last reply
      0
      • C Christian Graus

        Rock Band and Guitar Hero do not support real instruments. You can capture the input, but I'm not sure how hard it is to work out a pitch, especially if it's a guitar, which can have vibrato, bent strings, whammy bar, etc.

        Christian Graus Driven to the arms of OSX by Vista.

        M Offline
        M Offline
        MartyExodus
        wrote on last edited by
        #3

        Even capturing the input would be a good enough start from where I'm at. I imagine I can learn how to manipulate the captured audio on my own - something about FFTs, I was reading. Makes me wanna play FF Tactics. :D Is there any way I could convince you to post a link or snippet showing how to capture the audio?

        There is no knowledge that is not power. - Mortal Kombat

        C 1 Reply Last reply
        0
        • M MartyExodus

          Even capturing the input would be a good enough start from where I'm at. I imagine I can learn how to manipulate the captured audio on my own - something about FFTs, I was reading. Makes me wanna play FF Tactics. :D Is there any way I could convince you to post a link or snippet showing how to capture the audio?

          There is no knowledge that is not power. - Mortal Kombat

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          My first google hit was a code project article: http://www.codeproject.com/KB/audio-video/cswavrec.aspx[^]

          Christian Graus Driven to the arms of OSX by Vista.

          M 1 Reply Last reply
          0
          • C Christian Graus

            My first google hit was a code project article: http://www.codeproject.com/KB/audio-video/cswavrec.aspx[^]

            Christian Graus Driven to the arms of OSX by Vista.

            M Offline
            M Offline
            MartyExodus
            wrote on last edited by
            #5

            Thanks, this should help a lot. You must just be a a better searcher than I. I'll let you see the finished project, if you want. Probably won't be done (to completion) until about late April though...

            There is no knowledge that is not power. - Mortal Kombat

            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