Skip to content

Commit 6b36bf5

Browse files
authored
Merge pull request #8260 from jepler/fix-synthio-docs
the note is in its attack phase
2 parents a969f6e + ddeb27d commit 6b36bf5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

shared-bindings/synthio/__init__.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@
4545

4646
#include "shared-module/synthio/LFO.h"
4747

48+
//|
49+
//| """Support for multi-channel audio synthesis
50+
//|
51+
//| At least 2 simultaneous notes are supported. samd5x, mimxrt10xx and rp2040 platforms support up to 12 notes.
52+
//| """
53+
//|
54+
4855
//| class EnvelopeState:
4956
//| ATTACK: EnvelopeState
5057
//| """The note is in its attack phase"""
@@ -85,12 +92,6 @@ static const mp_arg_t envelope_properties[] = {
8592
{ MP_QSTR_sustain_level, MP_ARG_OBJ | MP_ARG_KW_ONLY, {.u_obj = MP_OBJ_NULL } },
8693
};
8794

88-
//|
89-
//| """Support for multi-channel audio synthesis
90-
//|
91-
//| At least 2 simultaneous notes are supported. samd5x, mimxrt10xx and rp2040 platforms support up to 12 notes.
92-
//| """
93-
//|
9495
//| BlockInput = Union["Math", "LFO", float, None]
9596
//| """Blocks and Notes can take any of these types as inputs on certain attributes
9697
//|

0 commit comments

Comments
 (0)