Music Application
-
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
-
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
-
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
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
-
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
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:
-
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
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
-
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
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: