From 6689558be86bac7ec7075ef4f326c4db9aef51ab Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 11 Apr 2014 22:50:34 +0000 Subject: [PATCH] Make CW envelope shapng the default. Now I have verified that the CW envelope shaping considerably reduces the bandwidth of teh CW id. I have made the it default. It can still be turned off via a CMake option if desired. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4013 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 2 +- Modulator.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index efb57fde2..f849c6d50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ option (WSJT_TRACE_CAT "Debugging option that turns on CAT diagnostics.") option (WSJT_TRACE_CAT_POLLS "Debugging option that turns on CAT diagnostics during polling.") option (WSJT_HAMLIB_TRACE "Debugging option that turns on full Hamlib internal diagnostics.") option (WSJT_STANDARD_FILE_LOCATIONS "All non-installation files located in \"Standard\" platfom specific locations." ON) -option (WSJT_SOFT_KEYING "Apply a ramp to CW keying envelope to reduce transients.") +option (WSJT_SOFT_KEYING "Apply a ramp to CW keying envelope to reduce transients." ON) # diff --git a/Modulator.cpp b/Modulator.cpp index fc5fe5dd8..81d6e6b3e 100644 --- a/Modulator.cpp +++ b/Modulator.cpp @@ -14,7 +14,7 @@ extern float gran(); // Noise generator (for tests only) #if defined (WSJT_SOFT_KEYING) # define SOFT_KEYING WSJT_SOFT_KEYING #else -# define SOFT_KEYING 0 +# define SOFT_KEYING 1 #endif double const Modulator::m_twoPi = 2.0 * 3.141592653589793238462;