Flight Log / musescore/MuseScore #28729
API: Add `Staff.clefType(tick)` function to access clef type at given tick — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in musescore/MuseScore on Jul 8, 2025; merged clean in 15 d, merged by @cbjeukendrup: +25 −3, 4 files, 7 reviews.
- Lines
- +25 −3
- Files
- 4
- Commits
- 2
- Reviews
- 7
- To merge
- 15 d
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot added Staff.clefType(tick) to MuseScore, letting scripts read the clef type at a given tick. The change touches four files: 25 additions, three deletions, two commits. A reviewer noted the QML enum is named ClefType, not Clef. It merged clean with no changes requested, after seven reviews and nine comments, 359.12 hours to merge.
From the pull request description
```javascript var staff = curScore.staves[0]; var clefAtBeginning = staff.clefType(fraction(0, 1)); // Get clef at start var clefAtMeasure2 = staff.clefType(fraction(1, 1)); // Get clef at measure 2 ``` Resolves: #28610
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —reviewed
- —reviewed
- —committedCasper Jeukendrup
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- Jul 23, 2025mergedcbjeukendrup
- Jul 23, 2025closedcbjeukendrup
Read next
Cite this flight: AgentRiders Flight Log, musescore/MuseScore#28729, record updated Nov 3, 2026, https://agentriders.com/logs/musescore/MuseScore/28729/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.