]> git.notmuchmail.org Git - scherzo/commit
Fix scherzo to use pitch_t rather than score_note_t for computation
authorCarl Worth <cworth@cworth.org>
Sun, 29 Sep 2013 21:56:47 +0000 (14:56 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 29 Sep 2013 21:56:47 +0000 (14:56 -0700)
commit367e517451123c7c79ead28eca6d2489bfed6467
tree404e121df7596977bd263db2643ebeb623137a71
parente77d712bf9f99c3d95f909621ae177b9f8175163
Fix scherzo to use pitch_t rather than score_note_t for computation

The score_note_t type is constructed as a side effect of performing
drawing. This is a poor fit for scherzo's computation and reasoning
since it often wants to perform analysis on notes that it has never
drawn.

Meanwhile, the new pitch_t is a simple integer, making it very easy
for scherzo to use pitch_t in all of its calculations.

The goal is for no functional changes with this commit, but we know
that some bugs have likely been changed or moved around.
scherzo.c
score.c
score.h