I am trying to visualise in flash midi file (using an external midi-to-flash library)
Is there a way to tell the difference between Violin, Viola, Cello & Contrabass in a midi file. I get these values for instruments (ignore the numbers):
1 Flute 13
2 Oboe 15
3 Clarinet 14
4 Bassoon 16
5 French Horn 18
6 Trumpet 17
7 Timpani 26
8 String Ensemble 1 3
9 String Ensemble 1 3
10 String Ensemble 1 3
11 String Ensemble 1 3
12 String Ensemble 1 3
13 Acoustic Grand Piano 5
14 Acoustic Grand Piano 5
15 Acoustic Grand Piano 5
16 Acoustic Grand Piano 5
As you can see, all the strings get the same "String Ensemble" value...
one way to do it is to ask for each note if it is high (65>) or low (50<) etc and by that deciding roughly the instrument type (for a specific note). but since these values are random and not accurate - that doesn't seperate them right (especially since diffrent tools still have shared note height values).
Is it written (cello, violin...) somewhere in the midi file?
Is there a way to assume it?
I have 5 tracks of strings. is it possible to assume (for example) that the first 2 are violins, 3rd is Cello etc? or they are all mixed?