Skip to content

Commit e30bcb8

Browse files
committed
replace speaker notes with attribute delegation function to save
1 parent c5af7d6 commit e30bcb8

5 files changed

Lines changed: 332 additions & 99 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.7.0]
11+
12+
### Changed
13+
14+
* The `SPEAKER_NOTE_*` constants are replaced by an attribute delegator function to save space.
15+
1016
### Fixed
1117

1218
* [#6](https://github.com/ofabel/mp-flipper/issues/6): Update to latest SDK version.
@@ -166,7 +172,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
166172
* Basic build setup
167173
* Minimal working example
168174

169-
[Unreleased]: https://github.com/ofabel/mp-flipper/compare/v1.6.0...dev
175+
[Unreleased]: https://github.com/ofabel/mp-flipper/compare/v1.7.0...dev
176+
[1.7.0]: https://github.com/ofabel/mp-flipper/compare/v1.6.0...v1.7.0
170177
[1.6.0]: https://github.com/ofabel/mp-flipper/compare/v1.5.0...v1.6.0
171178
[1.5.0]: https://github.com/ofabel/mp-flipper/compare/v1.4.0...v1.5.0
172179
[1.4.0]: https://github.com/ofabel/mp-flipper/compare/v1.3.0...v1.4.0

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 1.7
22

3+
* Replaced speaker note constants with an attribute delegator function to save space.
34
* Update to latest SDK version.
45

56
## 1.6

docs/pages/reference.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ Full control over the built-in speaker module.
4545
Musical Notes
4646
~~~~~~~~~~~~~
4747

48+
Constant values for all musical notes between C\ :sub:`0` and B\ :sub:`8`.
49+
50+
.. warning::
51+
52+
You won't be able to find these constants in the REPL using autocompletion from version 1.7.0 onwards.
53+
But the constants are still available. You just have to type the full name by hand.
54+
4855
..
4956
for octave in range(9):
5057
for name in ['C', 'CS', 'D', 'DS', 'E', 'F', 'FS', 'G', 'GS', 'A', 'AS', 'B']:

0 commit comments

Comments
 (0)