Title: Music Transcription
Domain: visual_media — Audio, Music & Post-Production Media

Summary: Listen to a recorded orchestral piece and transcribe it into a professional music score, exporting PDF, MIDI with correct instrument program assignments, and a screenshot of the notation software.

Task prompt:
Goal: Transcribe a recorded piece into musical notation, export both a PDF score and a MIDI file with correct instrument assignments. You may use any music notation software available on the system.

Read the task specification from `task_brief.json` in the variant's `input/` directory. It contains:
- `title`: the title of the piece
- `composer`: the composer of the piece
- `tempo_bpm`: the tempo of the song
- `instruments`: list of instruments to transcribe, each with name, clef, and GM program number

Input audio files are available in the input directory:
- `reference_song.mp3` — MP3 recording of the target song

## Steps
1. Listen to the reference audio to identify all instrumental parts.
2. Open a music notation software and create a new project.
3. Fill in the Title and Composer from `task_brief.json` in the project info.
4. Add players/instruments matching those listed in `task_brief.json`.
5. Configure the time signature, key signature, and tempo marking based on what you hear.
6. Transcribe all notes, rhythms, dynamics, articulations, and expression markings for each part.
7. Format the score layout professionally (proper spacing, alignment, readable note density).
8. Configure playback: assign each instrument to the correct General MIDI (GM) program number as specified in `task_brief.json`.
9. Export outputs:
   - Export a PDF of the full score. Save it as `output/transcription.pdf`.
   - Export MIDI: save as `output/transcription.mid`.
10. Take ONE final screenshot showing the notation software with the score visible, saved as `output/overview.png`.

## Output files
- `transcription.pdf`: Exported PDF of the complete score with all parts.
- `transcription.mid`: Exported MIDI file. Each track must have correct MIDI Program Change messages matching the GM program numbers in `task_brief.json`.
- `overview.png`: Screenshot of the notation software showing the transcribed score with instrument staves visible.

The agent must:
Read `input/task_brief.json` for title, composer, tempo_bpm, and the instruments list (with clef and GM program).
Listen to `input/reference_song.mp3` to identify all instrumental parts.
Open a music notation application (Dorico 6 is staged) and create a new project with matching title, composer, and players.
Transcribe all notes, rhythms, dynamics, articulations, and expression markings; set time and key signatures based on the audio.
Assign each instrument to the correct General MIDI program number from `task_brief.json`.
Export `output/transcription.pdf`, `output/transcription.mid`, and save a final screenshot as `output/overview.png`.

Software: Dorico 6

Input files:
name: Task specification
format: `.json`
path: input/task_brief.json
description: Piece title, composer, tempo_bpm, and per-instrument name / clef / GM program number.
name: Reference recording
format: `.mp3`
path: input/reference_song.mp3
description: Audio recording of the target piece that the agent transcribes.