SaxCharts Documentation

Instructions

To view charts, click the "View Charts" link to the left. To submit a chart you must first register. Once you are registered you can click the "Submit Chart" link. Enter the make, model, and a description. A new chart will be created, you can add notes to the chart with the "Add Note" link. Select a note, then click the keys to be pressed. When you return to this site you may edit or delete charts you've created. First login with the username and password you supplied when you registered, then click the "View Charts" link. Charts you submitted will have an "Edit" link.

Application Notes

The heart of the application is an image creator (createimage.php). The image creator uses two fingering images, one image has all the keys open, the other closed.

Coordinates for each key within the images are stored in an array:

$KeyCoords = array (
"1" => array (30,46,24,22),
"2" => array(29,79,25,23),
"3" => array(29,107,23,22),
"4" => array(30,165,22,24),
"5" => array(31,195,22,24),
"6" => array(31,223,22,24),
"7" => array(8,13,14,27),
"8" => array(29,30,20,16),
"9" => array(61,9,14,33),
"10" => array(75,33,12,31),
"11" => array(40,68,10,11),
"12" => array(59,50,14,31),
"13" => array(52,114,31,14),
"14" => array(52,128,16,15),
"15" => array(68,128,15,15),
"16" => array(52,143,29,12),
"17" => array(7,144,13,21),
"18" => array(7,165,13,21),
"19" => array(7,186,13,21),
"20" => array(20,186,11,16),
"21" => array(20,210,11,20),
"22" => array(24,247,22,13),
"23" => array(24,260,22,13));

Therefore, to modify the application for a different instrument, only the two images and the array would need to be changed.