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 / C++ / MFC
  4. Music Application

Music Application

Scheduled Pinned Locked Moved C / C++ / MFC
help
6 Posts 4 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
    mavgoose
    wrote on last edited by
    #1

    I have be assigned a project which has to have a graphical music keyboard which plays the corresponding note when the key is pressed, it also has to have a simple graphical editor to edit the notes. As i am new to all this i was wondering if anyone could give me any pointers of where to start and along what lines i should go about doing it. I am currently trying to interacted with DLL files to access the soundcard. Any help would be much appreciated. Mav

    A M R 4 Replies Last reply
    0
    • M mavgoose

      I have be assigned a project which has to have a graphical music keyboard which plays the corresponding note when the key is pressed, it also has to have a simple graphical editor to edit the notes. As i am new to all this i was wondering if anyone could give me any pointers of where to start and along what lines i should go about doing it. I am currently trying to interacted with DLL files to access the soundcard. Any help would be much appreciated. Mav

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      :laugh:

      1 Reply Last reply
      0
      • M mavgoose

        I have be assigned a project which has to have a graphical music keyboard which plays the corresponding note when the key is pressed, it also has to have a simple graphical editor to edit the notes. As i am new to all this i was wondering if anyone could give me any pointers of where to start and along what lines i should go about doing it. I am currently trying to interacted with DLL files to access the soundcard. Any help would be much appreciated. Mav

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

        mavgoose wrote: As i am new to all new to what ? generic programming ? sound programming ? windows application ? anyway, look for for some MIDI api ... and look around CP, there might be something interresting.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        1 Reply Last reply
        0
        • M mavgoose

          I have be assigned a project which has to have a graphical music keyboard which plays the corresponding note when the key is pressed, it also has to have a simple graphical editor to edit the notes. As i am new to all this i was wondering if anyone could give me any pointers of where to start and along what lines i should go about doing it. I am currently trying to interacted with DLL files to access the soundcard. Any help would be much appreciated. Mav

          R Offline
          R Offline
          rw104
          wrote on last edited by
          #4

          Mav, It's a lot simpler than you think especially sounding the notes. The majority of the work will be building a representation of the keyboard that responds to the mouse clicks, what do you mean by edit the notes?? You can use the MIDI API see http://www.borg.com/~jglatt/tech/lowmidi.htm. The sound API has functions that can sound midi output at a given pitch. Its definitely the easiest way to get the notes sounding, the app itself will need to be threaded in order to sound multiple notes at once... You will need to link you project to 'winnm.dll' to be able to call midiOutShortMsg() the simplest operation to sound a note. See the section on 'Outputting MIDI data (except System Exclusive)' have a look at the article and get back to me regarding questions, Ross W:wtf:

          1 Reply Last reply
          0
          • M mavgoose

            I have be assigned a project which has to have a graphical music keyboard which plays the corresponding note when the key is pressed, it also has to have a simple graphical editor to edit the notes. As i am new to all this i was wondering if anyone could give me any pointers of where to start and along what lines i should go about doing it. I am currently trying to interacted with DLL files to access the soundcard. Any help would be much appreciated. Mav

            R Offline
            R Offline
            rw104
            wrote on last edited by
            #5

            Mav, It's a lot simpler than you think especially sounding the notes. The majority of the work will be building a representation of the keyboard that responds to the mouse clicks, what do you mean by edit the notes?? You can use the MIDI API see http://www.borg.com/~jglatt/tech/lowmidi.htm. The sound API has functions that can sound midi output at a given pitch. Its definitely the easiest way to get the notes sounding, the app itself will need to be threaded in order to sound multiple notes at once... You will need to link you project to 'winnm.dll' to be able to call midiOutShortMsg() the simplest operation to sound a note. See the section on 'Outputting MIDI data (except System Exclusive)' have a look at the article and get back to me regarding questions, Ross W

            M 1 Reply Last reply
            0
            • R rw104

              Mav, It's a lot simpler than you think especially sounding the notes. The majority of the work will be building a representation of the keyboard that responds to the mouse clicks, what do you mean by edit the notes?? You can use the MIDI API see http://www.borg.com/~jglatt/tech/lowmidi.htm. The sound API has functions that can sound midi output at a given pitch. Its definitely the easiest way to get the notes sounding, the app itself will need to be threaded in order to sound multiple notes at once... You will need to link you project to 'winnm.dll' to be able to call midiOutShortMsg() the simplest operation to sound a note. See the section on 'Outputting MIDI data (except System Exclusive)' have a look at the article and get back to me regarding questions, Ross W

              M Offline
              M Offline
              mavgoose
              wrote on last edited by
              #6

              Ross, How would you go about attaching 'winnm.dll' to a project? I am at a complete block at the moment which isn't good, I am just unable to get my head around linking the dll files then accessing them. Do i need to create a header file? Which things will i then need to include in the file? Cheers Mav :omg:

              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