Mindket

DuET Piano to Score

Newversion 1 · updated

Overview

Transcribes piano recordings into readable musical scores, from an uploaded file or a bilibili or 抖音 link. Pianists and teachers get a playable score with MusicXML and PDF downloads.

DuET Piano to Score is a kit in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • A browser, if you only use the Space online
  • Python 3.12 and pip, if you run a copy yourself
  • The system packages in packages.txt, installed with apt-get
  • A TikHub key named TIKHUB_API_KEY, kept as a Space secret, only for the bilibili and 抖音 link inputs
Runs in
  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python 3.12 on Windows, macOS or Linux
Start with
pip install -U huggingface_hub
hf download Wayne42/DuET-demo --repo-type space --local-dir DuET-demo
cd DuET-demo

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

DuET Piano to Score listens to a piano recording and writes it out as a readable musical score. You give it an audio or video file, or a link to a video on bilibili or 抖音, and it transcribes the first 240 seconds. The result can be played back in the page or downloaded as MusicXML or PDF.

Who it suits

Pianists, teachers and students who want a score from a recording, and developers who want to see a piano transcription demo.

IndustryWho uses itHow they use itExample
Music educationPiano teachersGet a readable score from a student's recordingTurning a short practice clip into a score to mark up
Music makingPianists and arrangersDraft sheet music from a performanceExporting MusicXML to edit in a notation program
ResearchAudio researchersTry a piano transcription model on real recordingsRunning a clip and reading the report it gives

You can skip it if you need a whole long recording transcribed, since the online demo stops after 240 seconds.

Where to use it

  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python 3.12 on Windows, macOS or Linux
Use caseWhoWhat they get back
Transcribe a recordingPianists and teachersA score with playback, a cursor that follows the notes and automatic scrolling
Export a scoreArrangersMusicXML and a PDF of the same score

How to set it up

  • A browser, if you only use the Space online
  • Python 3.12 and pip, if you run a copy yourself
  • The system packages in packages.txt, installed with apt-get
  • A TikHub key named TIKHUB_API_KEY, kept as a Space secret, only for the bilibili and 抖音 link inputs
  1. Open the Space's page on Hugging Face. Nothing needs installing for audio or video upload.
  2. For a local copy, install the huggingface_hub package and download the Space's files.
  3. Move into the new folder, then install Gradio and the packages in requirements.txt.
  4. Start the app with python and the path to its main file.
pip install -U huggingface_hub
hf download Wayne42/DuET-demo --repo-type space --local-dir DuET-demo
cd DuET-demo
pip install gradio==6.30.0
pip install -r requirements.txt

How to use it

Choose an input source on the page: Upload audio/video, bilibili or 抖音. Upload a file or paste a link, then run the transcription. On your own computer, start the app first and open the page it serves.

python demo/app.py
ToolWhat it does
Upload audio/videoTakes a file from your computer
bilibiliTakes a video link, a short link or a link with a part number
抖音Takes a normal video link, a short link or the full share text
Web scorePlays the score with a following cursor and automatic scrolling

Example

You pick Upload audio/video and add a short piano recording. The page transcribes the first 240 seconds and shows a score you can play, then you download it as MusicXML or PDF.

For newcomers and experts

If you are new to this, upload a short piano clip and watch the score appear. Play it back to hear whether the notes match your recording.

For experts, the model is DuET, a dual-encoder transformer for piano transcription, and the demo is version 1.1.0. MusicXML comes from engraving 1.1.0 with contextual key signatures and note spelling. The PDF is a MuseScore rendering, so browser pagination can differ. Only the demo is capped at 240 seconds, not the model.

  1. Choose upload, bilibili or 抖音
  2. Audio is fetched or read
  3. DuET transcribes the piano audio
  4. The score is engraved as MusicXML
  5. You play it or download MusicXML or PDF

Good to know

  • Built with Gradio 6.30.0 and Python 3.12, and the main file is demo/app.py
  • License: mit
  • Cost to run: the link inputs call TikHub and need a TikHub key, and no other key or paid service is named
  • Data it reaches: your uploaded audio, TikHub, bilibili and 抖音 for links, and a private audio cache kept for one hour
  • Not for: YouTube links, which the demo does not offer, or accounts that need a login, since it asks for no cookies or login
  • Only audio is exported from a video, and no video file is saved

README and files

README

DuET Piano to Score

Transcribes piano recordings into readable musical scores, from an uploaded file or a bilibili or 抖音 link. Pianists and teachers get a playable score with MusicXML and PDF downloads.

Made by Wayne42 on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: DuET Piano to Score listens to a piano recording and writes it out as a readable musical score. You give it an audio or video file, or a link to a video on bilibili or 抖音, and it transcribes the first 240 seconds. The result can be played back in the page or downloaded as MusicXML or PDF.

Who it suits: Pianists, teachers and students who want a score from a recording, and developers who want to see a piano transcription demo.

Industry | Who uses it | How they use it | Example
Music education | Piano teachers | Get a readable score from a student's recording | Turning a short practice clip into a score to mark up
Music making | Pianists and arrangers | Draft sheet music from a performance | Exporting MusicXML to edit in a notation program
Research | Audio researchers | Try a piano transcription model on real recordings | Running a clip and reading the report it gives

You can skip it if you need a whole long recording transcribed, since the online demo stops after 240 seconds.

Where to use it:

  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python 3.12 on Windows, macOS or Linux
Use case | Who | What they get back
Transcribe a recording | Pianists and teachers | A score with playback, a cursor that follows the notes and automatic scrolling
Export a score | Arrangers | MusicXML and a PDF of the same score

How to set it up:

  • A browser, if you only use the Space online
  • Python 3.12 and pip, if you run a copy yourself
  • The system packages in packages.txt, installed with apt-get
  • A TikHub key named TIKHUB_API_KEY, kept as a Space secret, only for the bilibili and 抖音 link inputs
  1. Open the Space's page on Hugging Face. Nothing needs installing for audio or video upload.
  2. For a local copy, install the huggingface_hub package and download the Space's files.
  3. Move into the new folder, then install Gradio and the packages in requirements.txt.
  4. Start the app with python and the path to its main file.
pip install -U huggingface_hub
hf download Wayne42/DuET-demo --repo-type space --local-dir DuET-demo
cd DuET-demo
pip install gradio==6.30.0
pip install -r requirements.txt

How to use it: Choose an input source on the page: Upload audio/video, bilibili or 抖音. Upload a file or paste a link, then run the transcription. On your own computer, start the app first and open the page it serves.

python demo/app.py
Tool | What it does
Upload audio/video | Takes a file from your computer
bilibili | Takes a video link, a short link or a link with a part number
抖音 | Takes a normal video link, a short link or the full share text
Web score | Plays the score with a following cursor and automatic scrolling

Example: You pick Upload audio/video and add a short piano recording. The page transcribes the first 240 seconds and shows a score you can play, then you download it as MusicXML or PDF.

For newcomers and experts: If you are new to this, upload a short piano clip and watch the score appear. Play it back to hear whether the notes match your recording.

For experts, the model is DuET, a dual-encoder transformer for piano transcription, and the demo is version 1.1.0. MusicXML comes from engraving 1.1.0 with contextual key signatures and note spelling. The PDF is a MuseScore rendering, so browser pagination can differ. Only the demo is capped at 240 seconds, not the model.

Choose upload, bilibili or 抖音
Audio is fetched or read
DuET transcribes the piano audio
The score is engraved as MusicXML
You play it or download MusicXML or PDF

Good to know:

  • Built with Gradio 6.30.0 and Python 3.12, and the main file is demo/app.py
  • License: mit
  • Cost to run: the link inputs call TikHub and need a TikHub key, and no other key or paid service is named
  • Data it reaches: your uploaded audio, TikHub, bilibili and 抖音 for links, and a private audio cache kept for one hour
  • Not for: YouTube links, which the demo does not offer, or accounts that need a login, since it asks for no cookies or login
  • Only audio is exported from a video, and no video file is saved

On Hugging Face, 13 November 2026

  • Likes: 10
  • Built with: gradio
  • License: mit

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
DuET Piano to Score This page10gradiomit
MusicGenShares gradio5,116gradiocc-by-nc-4.0
Kokoro TTSShares gradio3,556gradioapache-2.0
Background RemovalShares gradio2,988gradiomit
Omni Image EditorShares gradio2,922gradiomit
Diffusers Image OutpaintShares gradio2,565gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Productivity

See all in Productivity

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k

IPTV

iptv-org · Kit

Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…

New144k