microsoft / microsoft/pxt-microbit

Support string[] and Buffer in stringPlayable block

Open
#6,965 0 comments 1 reaction 2 assignees View on GitHub

@abchatra is already working on this.

Since Jun 26, 2026.

apis
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Is your feature request related to a problem? Please describe.

StringArrayPlayable's constructor has been extended to allow multiple formats

https://github.com/microsoft/pxt-microbit/blob/238a6a0b5f809eb8e032e4b3a490e31e704f3845/libs/core/playable.ts#L41

The stringPlayable block still supports only string
https://github.com/microsoft/pxt-microbit/blob/238a6a0b5f809eb8e032e4b3a490e31e704f3845/libs/core/playable.ts#L133

Describe the solution you'd like

Support the same types in stringPlayable

Describe alternatives you've considered

Create a custom function or extension. This example needs beta:
https://makecode.microbit.org/_LAcYDW1yHWJ4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.