[Tapper-develop] Re: Tapper-develop digest, Vol 1 #6 - 4 msgs
Status: Pre-Alpha
Brought to you by:
druleeparsec
From: Sean Y. <sea...@ho...> - 2000-10-16 19:32:23
|
Regarding fret/grid: It would be too sloppy to adjust colors for all the various finger positions using simple paint and graphics. To make life much simpler, I have a rough plan: The entire neck is a collection of visual fret objects. Each fret object is a collection of positions (one for each string). Each position has a set/get for color and note etc. Here's a lame ASCII drawing to explain: ------------- <- fret object (guitar) |E|A|D|G|B|E| <- each letter is a member position of the fret obj. ------------- The entire neck is made a several fret objects stacked together: ------------- | | | | | | | ------------- | | | | | | | <- get the idea? ------------- | | | | | | | ------------- *idea* Using some clever init method, I'm hoping all of the note values can be derived using some algorithm and then applied to the appropriate fret position. The fret constructor could take the low string's note as a parameter and increment each new position in 5ths (stick in 4ths?) - it'll get worked out. It might look ugly at first, but to start off, this could be a series of squares, squished together that can change colors :) After thought: If it's not any harder, I think a 3D rendering would be prefered, since the user could rotate the neck orientation - look down for stick, look up for guitar etc. -Sean _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. |