Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 2.0.0 #37

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft

release 2.0.0 #37

wants to merge 18 commits into from

Conversation

stas-sl
Copy link
Owner

@stas-sl stas-sl commented Oct 7, 2024

Release notes

This release will break existing configs that’s why I’m increasing its major version to 2 (not because it includes many new exciting features). If you’re happy with your current config and functionality and don’t want to bother with updating your config, you can pin previous version explicitly and stay with it, until better time:

external_components:
  - source: github://stas-sl/esphome-sound-level-meter@v1.0.4

Changes in this release:

  • New config structure. I decided to change the hierarchical YAML configuration structure for filters and sensors to a single-level flat structure. I often found it difficult to maintain the correct indentation for nested groups, so I hope this new structure will be more readable, easier to modify, and less error-prone. This change does not affect flexibility or functionality; you can accomplish the same tasks with the new structure as you could with the previous hierarchical one.
  • 10 bands realtime spectrum analyser demo/config example.
  • Optimised buffer memory management, which reduces memory (re)allocations and improves performance
  • Ability to switch to highly optimized dsps_biquad_f32_xx functions from ESP-DSP library for SOS filter processing on ESP32 and ESP32S3. It could be 2 times faster than current C++ implementation, however there are some drawbacks: 1) only ESP32 and ESP32S3 have optimized implementations 2) it uses direct form 2 filter implementation which is considered less numerically stable than direct form 2 transposed (which is used by me), though I’m not sure if this is a big deal 3) it is not available for Arduino framework, only works with esp-idf.

@stas-sl stas-sl marked this pull request as ready for review October 8, 2024 00:19
@stas-sl stas-sl marked this pull request as draft October 8, 2024 00:21
@stas-sl stas-sl self-assigned this Oct 8, 2024
@stas-sl stas-sl marked this pull request as ready for review October 9, 2024 01:38
@stas-sl stas-sl changed the title next release release 2.0.0 Oct 9, 2024
@stas-sl stas-sl marked this pull request as draft November 6, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant