[Microbit-Python] Update to the music API specification
Nicholas H.Tollervey
ntoll at ntoll.org
Tue Oct 20 08:36:20 CEST 2015
On 20/10/15 06:38, Larry Hastings wrote:
>
>
> 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.
>
Damien, yes.
Larry, as optional arguments, yes.
When I get the chance, I'll update the wiki.
N.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://mail.python.org/mailman/private/microbit/attachments/20151020/9534b86f/attachment.sig>
More information about the Microbit
mailing list