synthio: note frequency can only be a float, for now

This commit is contained in:
Jeff Epler 2023-05-23 18:51:20 -05:00
parent 1847c2b72a
commit c20e862790
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -79,7 +79,7 @@ STATIC mp_obj_t synthio_note_make_new(const mp_obj_type_t *type_in, size_t n_arg
return result;
};
//| frequency: BlockInput
//| frequency: float
//| """The base frequency of the note, in Hz."""
STATIC mp_obj_t synthio_note_get_frequency(mp_obj_t self_in) {
synthio_note_obj_t *self = MP_OBJ_TO_PTR(self_in);