Merge pull request #8895 from jepler/synthio-type-fixes

Fix a couple of incorrect type annotations
This commit is contained in:
Dan Halbert 2024-02-08 18:26:25 -05:00 committed by GitHub
commit 30e325056d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ STATIC const uint16_t triangle[] = {0, 32767, 0, -32767};
//|
//| def __init__(
//| self,
//| waveform: ReadableBuffer = None,
//| waveform: Optional[ReadableBuffer] = None,
//| *,
//| rate: BlockInput = 1.0,
//| scale: BlockInput = 1.0,

View file

@ -65,7 +65,7 @@ static const mp_arg_t note_properties[] = {
//| filter: Optional[Biquad] = None,
//| ring_frequency: float = 0.0,
//| ring_bend: float = 0.0,
//| ring_waveform: Optional[ReadableBuffer] = 0.0,
//| ring_waveform: Optional[ReadableBuffer] = None,
//| ring_waveform_loop_start: int = 0,
//| ring_waveform_loop_end: int = waveform_max_length,
//| ) -> None: