Mercurial > hg > screen-ui
diff src/Voice.cpp @ 31:417deb31dd4e
Added a switch to control snap-to-true-position behaviour of tokens;
reduced default amplitude of voices.
author | samer |
---|---|
date | Tue, 07 Feb 2012 14:23:32 +0000 |
parents | f4ebb87adec1 |
children | 06a2fdb333ca |
line wrap: on
line diff
--- a/src/Voice.cpp Mon Feb 06 11:50:03 2012 +0000 +++ b/src/Voice.cpp Tue Feb 07 14:23:32 2012 +0000 @@ -12,7 +12,7 @@ inline static double min(double x,double y) { return (x<y) ? x : y; } Voice::Voice(int id): - isActive(true), inTriangle(false), octave(0), amplitude(0.6), + isActive(true), inTriangle(false), octave(0), amplitude(0.5), status(pending), id(id), posx(0), posy(0), truex(-1), truey(-1) {} void Voice::draw(bool highlight){