Skip to content

cplay v2.2

Choose a tag to compare

@Kosmodrom-lab Kosmodrom-lab released this 22 Oct 03:50
· 4 commits to main since this release
ccf3e98

CPLAY v2.2 - NATIVE DSP ENGINE & ARCHITECTURE UPDATE

SUMMARY OF CHANGES

  1. AUDIO ENGINE & DSP UPGRADES

    • Bauer Stereophonic-to-Binaural (BS2B) Crossfeed Filter:
      • Added native 16-bit PCM Crossfeed DSP module (CrossfeedDSP / ApplyCrossfeed)
        to eliminate harsh hard-panning and reduce listening fatigue.
      • Blends attenuated (~30%) and low-pass delayed (~220us) signals across channels.
    • Volume Normalization (Exponential AGC):
      • Upgraded automatic gain control (ApplyAgcSmoothed) with dual-rate
        exponential moving averages (fast attack, slow release).
      • Fixed volume "bounce" when switching UI screens by keeping smoothing history.
    • Master DSP Dispatcher Integration:
      • Crossfeed added as the 7th DSP module in ApplyAllDSP.
  2. UI & LAYOUT IMPROVEMENTS

    • Expanded Options Screen Space:
      • DrawOptionsScreen updated to display 7 active DSP modules.
      • Presets Listbox and 10-Band EQ Parameters Form moved down to Row 10.
    • Input Dispatcher Alignment:
      • Updated selection bounds to index 6 for the 7th DSP item.
      • Added spacebar toggle support and crossfeed_enabled INI persistence.
  3. CORE ENGINE & STREAM PIPELINE FIXES

    • Optimized Stream Loop Initialization (WHILE argIdx < g_TrackCount):
      • Reordered loop so CreateTrackStream runs before handle validation.
      • Moved byte position restoring (BASS_ChannelSetPosition) before prebuffering.
      • Placed BASS_ChannelPreBuf(hStream, 2000) at the end of setup to guarantee
        fully processed DSP audio from sample 0.
  4. DOCUMENTATION

    • Added DSP_Guide.txt detailing module operations, equipment profiles
      (IEMs vs. Flatheads), and incompatible DSP combinations.