[Microbit-Python] Update to the music API specification

Larry Hastings larry at hastings.org
Tue Oct 20 07:38:52 CEST 2015



On 10/20/2015 01:06 AM, Damien George wrote:
> I updated the code to combine "note" and "tune" into the single "play" function.
>
> But I now see a problem: since reset is called before "play" starts
> playing, there is no way to change the tempo!  There is now no use for
> get_tempo and set_tempo!
>
> Or am I missing something?
>
> So I think "play" should reset only the default octave and duration of
> a note, but not the tempo parameters.

And I think tempo should be an argument to play.


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/mailman/private/microbit/attachments/20151020/16ce747f/attachment.html>


More information about the Microbit mailing list