Click here to Skip to main content
13,193,590 members (52,465 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi i have 2 short questions:
Im thinking of starting to work on a rockband 3 like game that can take input from real instruments as miditones. But i would really like to know if there is any way you can change midi to something more realistic like they do in Guitar pro with RSE(Realistic Sound Engine).

i've seen a few midi apps on here and got a base idea of how it works but none of them seems to have any focus on RSE...

I've seen some singstar like game to pc and was thinking of how you can check whether a player is "singing" the right tone? i've been looking at some guitar tuner project and tough that could be one way to do it but i would like to know if other know a answer to this.

so midi can you give it realistic sounds? and how can you check what tones microphone input is?

Thanks - Jackie
Posted 13-May-12 15:11pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

If MIDI sound sounds not realistic enough to you (which I understand; it means you have some musical hearing — my congratulations :-)) you can only generate more realistic sound from scratch. It has nothing to do with MIDI: it can carry only as much information as it does, no more.

You can analyze the sound from the microphone, but this problem is quite difficult. You need to break the sound into some time intervals and try to perform spectral analysis of the sound. The problem is that not always it's possible to extract some "dominating" frequency from the spectrum and also the spectral image is constantly changed with time; so you need to try recognize the pure tones out of all this mess. This is really difficult and requires a combination of Fourier analysis with image recognition. To get a general idea, please see:[^],[^],[^].


Basically, MIDI itself (a MIDI event) simply gives you the note number in the scale using the equal temperament tuning system. Please see:[^],[^].

In other words, MIDI is just a form of traditional musical notation. Bu the note value, you should calculate the main frequency of the note. I also gives you the instrument, by number. Knowing this two pieces of information, you can create your own waveform. Enrich the main frequency with many over-tones, form the attack, damping and other effects characteristic to a given instrument. By the way, some effects involve resonances between, say, strings, bodies and active parts of other instruments in orchestra. The simplest such effect is the acoustic beat ([^]). These effects a non-local, volatile, so you won't be able to simulate them based on one instrument.

Potentially, you can create realistic sound (albeit not involving the collective effects like those I mentioned above) by obtaining records of sound of real instruments and studying them. Did you think you could just magically get it somewhere? Well, one such source is MIDI, but it's not realistic enough for you. I agree.

Mika Wendelius 14-May-12 0:32am
Good advice
SAKryukov 14-May-12 0:39am
Thank you, Mika.
Jackssen 14-May-12 4:38am
Thanks i didn't get what you ment with the midi thing, but as said what i basicly want is to convert the midi to sound like RSE (like the sounds in this link: but thanks :)
SAKryukov 14-May-12 15:06pm
Just think about it. Well, please see my updated answer, after [EDIT].
Jackssen 14-May-12 16:00pm
aah thanks alot, i've been looking into synthesizer today and sound banks and i have a base idea of how it works with RSE thanks alot for your help :)
SAKryukov 14-May-12 16:37pm
You are very welcome,
Good luck, call again.
Sandeep Mewara 14-May-12 15:15pm
5 SA!

You already had some idea of MIDI or just went through about it for the question?
SAKryukov 14-May-12 16:36pm
No, I did some MIDI works and other audio works, for myself, for some musical study.
Thank you, Sandeep.
Sandeep Mewara 15-May-12 1:26am
Ok cool.

Last night (for me!) I published a Tip, have a look:
SAKryukov 17-May-12 16:32pm
Aha, thank you for the note. I already voted 5 and commented... :-)
Wonde Tadesse 14-May-12 20:03pm
SAKryukov 14-May-12 20:06pm
Thank you, Wonde.
VJ Reddy 15-May-12 4:53am
Good answer. 5!
DaveyM69 15-May-12 9:59am
"If MIDI sound sounds not realistic enough to you (which I understand; it means you have some musical hearing"

Good quality professional instruments that use multiple high quality samples and MIDI generated by a musician that actually understands how the instrument (who's sound is trying to be replicated) works so can play accordingly can sound really incredibly good and discernible from an audio recording in many cases.
There is no concept of MIDI sound as it's just a digital description of a performance.
SAKryukov 15-May-12 11:48am
You are missing some point. In short, I'm talking about "standard" MIDI sounds. You are right in that sense that one can have custom sounds. But, certainly, no matter how good they are, MIDI performance is always recognized as synthetic by a trained ear. Should I even explain why?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171018.2 | Last Updated 14 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100