 Changelog                                                                          24th October 2022
=====================================================================================================
=  CTCSS Decoder - SDR# plug-in                                                                     =
=                                   by Vasili (TSSDR) and updated and modified by thewraith         =
=====================================================================================================
=====================================================================================================

1.3.5.0 - Release

Fixed: Plug-in backend miss fire
- In some cases, the last tone value would persist (as been detected) causing it to be passed through
   the plug-in backend.

Changed: Assembly info
- No funtional changes


MD5 hash: aa757ff2839c4598d12f681e0a2e1a6b (SDRSharp.CTCSSDecoder.dll)
          b45b078da1043a57e7e3852e5cbbbeba (SDRSharp.PluginsCom.dll)

=====================================================================================================

1.3.4.0 - Release

Added: Configure Window and added options
- To access this window, double click the large bold CTCSS value in main window.
- New option: 'Spectrum VFO label Y position'
- 'Keep Aux window open' (was a manual option)
- Show version info
- I may add 'Show on spectrum', 'Aux window', 'No reset' to here in future.

Added: Updated documentation
- Please read it


MD5 hash: 574b33c5869c311ad0ad43a012abc3ca (SDRSharp.CTCSSDecoder.dll)
          b45b078da1043a57e7e3852e5cbbbeba (SDRSharp.PluginsCom.dll)

=====================================================================================================

1.3.3.0 - Release

Changed: Code for using non Telerik controls in the SDR# Telirik UI
- Refactored some code to simplify the colour selection use for non Telerik controls
- Tweak some of the non Telerik controls re-paint code

Changed: Plug-in backend was unnecessarily passing the CTCSS value when SDR# was not playing

Changed: CTCSS working audio buffer size
- This size will be more dynamic to make sure that the longest wavelength (CTCSS tone: 67Hz) can be seen at
   least 5 times in the working buffer with the samplerate been used.
- The FIFO buffer will use the calculated minimum size or just use the SDR# buffer if it is larger.

Changed: Check that the number of crossings is in range for CTCSS tones (67-255) at samplerate been used
- This was using a fixed value that didn't work at all samplerates

Lower (+decimated) samplerates do not yield good enough resolution to accurately calculate CTCSS tone values
- Tones that are closer together may not be detected correctly


MD5 hash: 52476a40612fd77b05e1527841f8cb94 (SDRSharp.CTCSSDecoder.dll)
          b45b078da1043a57e7e3852e5cbbbeba (SDRSharp.PluginsCom.dll)

=====================================================================================================

1.3.2.0 - Release

Added: Code to pass the CTCSS tone value to the Frequency Scanner plug-in (v1.2.12.0+)
- An additional DLL is required.
  You may already have the 'SDRSharp.PluginsCom.dll' file installed as it's used by some of
   Vasili's other plug-ins. If not copy it to your SDR# folder.

Changed: Tone detection threshold (internal)
- Increasing it does not seem to have any ill effects.
  Should show less 'Tone detected' flicker.

Changed: Tone squelch filter bandwidth
- Use bandpass +/-2% of detected tone frequency

Changed: Detect/Mute light/dark colors (Red/Green)

Changed: Aux window
- Removed the window borders
  Left click and hold anywhere except checkbox and button to move window
- Try and match SDR# theme colors for the AUX window
  For this to work, the plug-in main panel will needs to have be visible as least once
  Once visible, it should remember colors across SDR# restarts. Will need to repeat if theme is changed.
- Remember AUX window position
  If need too, you can reset the AUX window position by right clicking 'Aux window' (checkbox)
- Use flat style controls where applicable

Added: Keep Aux window open
- Default behaviour is to close window when SDR# is not playing or not on NFM
- To override this default behaviour, add the following line (with Notepad) to the file 'SDRSharp.exe.config' (find the other entries that start with 'DCS.')
    <add key="CTCSS.forceAuxOpen" value="True" />

Added: Some basic documentation
- Please read it


MD5 hash: d362ac9786e29990621a6f74199a0c84 (SDRSharp.CTCSSDecoder.dll)
          b45b078da1043a57e7e3852e5cbbbeba (SDRSharp.PluginsCom.dll)

=====================================================================================================

1.3.1.0 - Minor Release

Fixed: 'No Rest' checkbox colors where wrong in Telerik UI
- Missed one of the Telerik fixes for the 'No reset' checkbox

Fixed: For some odd reason the 'Aux' window size was wrong in v1822.
- Was sized OK in VS designer

Changed: In 'Aux' window made 'Detect.' bold.


MD5 hash: 5ea155554cfd0c00a61694e82eeb71f4

=====================================================================================================

1.3.0.0 - Release


Changed: Settings key names format to "CTCSS."
- Settings will need to be reconfigured

Fixed: Code regression for when 'Show on spectrum' was used
- The label was shown on wrong side of the VFO marker (when was on right of centre of the spectrum)
  And when the VFO marker was near the right side of spectrum, the label would overwrite the level meter
   or go off screen.

Fixed: Plug-in for different audio buffer sizes
- Was not working in the newer SDR# (v1822ish) because of the smaller SDR# audio buffer. (256 samples)
  Have created a larger audio buffer to use when detecting tones.

Fixed: If plug-in panel was the last on side panel (SDR# v1716 and before) is was partly cut off.
- Increased panel height

Added: 'No reset' on frequency change
- Keeps the last detected tone visible on the panel and external window. (Will still clear spectrum)
- Maybe useful when used with scanning plug-in to keep last detected CTCSS tone when scanning.

NOTE: This plug-in is a bit flaky at detecting the lower frequency tones
- TIP (for SDR# v1810 and lower): If you expect lower frequency tones, then increasing Latency (mS) value to
                                  60 may help (in SDR# 'Audio' option).

NOTE: No changes to tone detection code was done.
      If any changes are noticed, it could be from the additional cycles that the larger buffer sees. (more to average over)


MD5 hash: dc92c0efc23e36460484fa395b25ef5d

=====================================================================================================

1.2.0.0 - Release

Changed: Further tweaking to the Telerik UI detection and controls handling.

Fixed: 'Window 8' theme caused a crash on SDR# start-up when plug-in side panel visible.


MD5 hash: c0081b6731198fe2ae6e6da57698817f

=====================================================================================================

1.1.0.0 - Release
Changed: Updated UI to look better with SDR# (v1717+) Telerik UI themes.
- Side panel height (for plug-in area) needed to be increased to space checkboxes ('Show on spectrum' and 'Aux window')
   for themes with larger fonts. (overlapping was seen)
- 'Set this code' button set to auto resize (when font size is changed by themes)

No other changes to plug-in code

Note: 'Aux window' does not have any themes applied as it is not possible without purchasing a licence
       for Telerik controls. 


MD5 hash: 2700ddd00a0321fb73be0baf56e2581c

=====================================================================================================
v1.0.0.0

 Any version by TSSDR (Vasili)

 Development history unknown, see his website http://rtl-sdr.ru for possible more details of past releases.
