]> git.cworth.org Git - scherzo/commit
Drop the enumerated pitch values.
authorCarl Worth <cworth@cworth.org>
Fri, 27 Sep 2013 23:11:40 +0000 (16:11 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 27 Sep 2013 23:11:40 +0000 (16:11 -0700)
commit659845dcf5781c10a2b292f0b7f6fe372874ff8a
treea94f876fb0b9c7f6b1a0a992feba8154dee8fc09
parent41e993a65ab55db1f3297003fe65dd556a15f85f
Drop the enumerated pitch values.

It's really just as easy to use macros such as PITCH_LITERAL,
PITCH_NAME, or PITCH_ACCIDENTAL in some combination instead of using
an enumerated pitch_t value.

In place of the enum, we now have pitch_t as a uint32_t type.

The real purpose for doing this is to prepare for pitch_t to be able
to hold the octave as well which should be remarkably convenient.
pitch.h
scherzo.c