With the code below, the first call to music.pitch(440) plays on both speaker and pin0.
But after music.play(music.BLUES, pin=pin_speaker), the second call to music.pitch(440) plays only on pin0.
from microbit import *
import music
while True:
music.pitch(440)
sleep(1000)
music.stop()
sleep(1000)
music.play(music.BLUES, pin=pin_speaker)
music.stop()
With the code below, the first call to music.pitch(440) plays on both speaker and pin0.
But after music.play(music.BLUES, pin=pin_speaker), the second call to music.pitch(440) plays only on pin0.