Saturday, August 15, 2009

- Finding curve (phrase etc) orientation by finding line between start and end points and the average of the other points in the curve. Orientation is given by whether average point is above or below line (assuming line is never vertical). Done.
- Still a bit difficult to confidently mark curve as phrase etc without matching it to notes. Difficult to match it to notes without things grouped into lines and notes in chords.
- Need option to ignore an instance of a glyph without ignoring all glyphs of that type.
- Perhaps it's time to break things into lines. Gonna be a bitch.
- Having the user confirm that element types are correct before breaking into lines will help. Most element types found above or below lines have enough info to determine which line they belong to (as opposed to unknown shapes).
- Discovered that semibreve and minim rests can be by themselves with ledger line built in... another couple of new types.
- Finishing type detection would make line division easier and needs to be done.. perhaps I'll just do that... ugh.
- Multiple positive/negative templates means database breakage. Seems a good place to start.
- Renaming columns in SqlCe database a bastard. ElementTemplate table and mapped class created, ElementType table updated.
- Do I include min/max sizes for types in element type or each template for a type? Each template I think..
- Tweaked database reading/writing. Column names are retrieved for a table and select/insert/update queries generated using column names and reflection. Class properties must match column names for it to work (probably a good thing). Statements are cached for each class, but parameters must be get/set using reflection each time. Performance is fine for now, could be improved later.
- Adding multiple templates per type into the mix is a bit of work... bed time.

No comments:

Post a Comment