Closed kiki-lee closed 1 year ago
audio is v2 only feature and we should do exactly play sound block does which is also v2 feature.
This won't work on v1.
@srietkerk here's how you set the parts so we can detect that a function requires v2 just so you know //% parts="microphone"
e.g. https://github.com/microsoft/pxt-microbit/blob/master/libs/microphone/microphone.cpp#L56
When
play recording
is in the workspace, it should either trigger the v2 sim or add the connection points for the speaker like theplay melody
block does.