bbcmicrobit / bbcmicrobit/micropython

Music on multiple pins

Open
#140 7 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
646
Forks
290
PR merge metrics
No merged PRs in 30d

Description

This is probably going way off the beaten track here and maybe the answer is "it probably cannot be done".

I would like to play music on multiple pins but if I try:

``` python
music.play('a:30', microbit.pin0)
music.play('b:30', microbit.pin1)
```

it plays the second note on both pins. If I use `music.pitch` instead of `music.play` (which is what I really want because I'm being even more contrary) the note turns into a distorted screech.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.