git: morse: use cos envelope and 8ms ramp time

Simon Schubert corecode at crater.dragonflybsd.org
Sat Nov 21 01:30:29 PST 2009


commit 2db171054e8604e6e11be55ee0bf54e088b7b77e
Author: Simon Schubert <corecode at dragonflybsd.org>
Date:   Thu Nov 19 23:53:14 2009 +0100

    morse: use cos envelope and 8ms ramp time
    
    The previous code still created key clicks, probably due to the short
    (~2ms) ramp time.  Using a simple cosine envelope and 8ms ramp time
    reduces clicks significantly.

Summary of changes:
 games/morse/morse.c |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2db171054e8604e6e11be55ee0bf54e088b7b77e


-- 
DragonFly BSD source repository





More information about the Commits mailing list