Antonin Pestrovich

Greenhorn
+ Follow
since Mar 08, 2009
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Antonin Pestrovich

Hello - I've been experimenting with the java MIDI interface for a couple days, and I think I can help you out. The note values are fairly straightforward - the note C4 is 60, and it increments/decrements one step per digit. For example, 59 is a B, 61 is a C#/Db, 62 is a D, 69 is a 440 Hz A, etc. If you prefer a visual reference, this page has a picture of a keyboard with all they notes & MIDI values filled in: http://phys.unsw.edu.au/jw/notes.html

The instrument values can be a bit trickier - the "standard" MIDI instrument list can be viewed here: http://somascape.org/midi/help/gmins.html - however, what you actually get can vary depending on what your MIDI device has loaded in it. The java installation on my linux box, for example, has a default soundbank with 410 different instruments! The first 128 of them appear to match up with the standard MIDI list from the above page, but I just gave it a quick look over - I didn't verify all of them. Here's a small class that will show you all the instruments included in your default soundbank:



I hope some of this helps, let me know if there is anything else I can try to answer.
13 years ago