[Microbit-Python] Musical silliness...

Nicholas H.Tollervey ntoll at ntoll.org
Thu Oct 15 00:47:31 CEST 2015


On 14/10/15 23:45, Larry Hastings wrote:
> On 10/14/2015 03:07 PM, Nicholas H.Tollervey wrote:
>> https://www.youtube.com/watch?v=0ce6yJOaFcc
>>
>> Only a few things needed for the music module to be complete. :-)
> 
> One observation: watching the video, I was surprised that the first
> parameter to microbit.tune was the output pin.  I would have expected
> the first parameter to be the tune, and the second parameter to be the
> output pin with a /default/ of pin0.  Yes?
> 
> 
> //arry/
> 

We discussed this a few weeks ago. To cut a long story short, in music
you always specify the instrument then notes - just look at any
orchestral score.

That's sort of what we're doing here (play pin0 with these notes).

Make sense?

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/20151014/a0d669d5/attachment.sig>


More information about the Microbit mailing list