This repository was archived by the owner on Nov 19, 2026. It is now read-only.
Repository navigation
v1.0.0B
Pre-release
Pre-release
⚠️ BETA Release - You WILL experience crashes or random bugs.
Public standalone BETA release of PGFA - v1.0.0 for Windows
Two builds are provided for each CPU level: the normal build, and a Packed build that packs big MIDIs by default (see below).
What's new since v0.9.0:
MIDI loading
- Much faster MIDI parser (parallel two-pass track parsing and a k-way merge for post-processing)
- Fixed loading hanging at the end of parsing, or failing outright after loading another MIDI
- Big files are memory-mapped instead of copied into RAM (up to about 8.8 GB less at peak on huge files)
- Much lower memory use while loading: smaller event rows, 16-bit note-off offsets, merge instead of sort
- Identical notes (same track, channel, key, velocity, start and end) are stored once and repeated by the player
- Row times are computed from ticks when a file has only a few tempo changes, instead of being stored
Packed mode (experimental)
- The whole song is kept in a compact packed form (about 0.1 - 1.2 bytes per note, e.g. a 3.3 GB / 433M-note MIDI packs to 42 MB)
- Only a window of the song around the playhead is expanded for the renderer and audio, and the window slides along as you play or seek
- Enable with
PGFA_PACKED=1; the Packed builds turn it on by default for MIDIs of 100 MB or more (PGFA_PACKED=0turns it off,PGFA_PACKED_MIN_MBchanges the threshold) PGFA_PACKED_NOTESsets how many notes a window holds (default 12,000,000)
UI
- Redesigned start screen recent-files card with a blurred background
- Small text is crisper at lower window sizes (768p)
- Captions now appear just above the piano keyboard instead of covering the toolbar
Fixes
- Fixed keys staying stuck after polyphony bombs
- Fixed a GPU hang (the whole PC freezing for a few seconds, then nothing drawing) when switching between fullscreen and windowed on some NVIDIA RTX cards
- Fixed DirectX 12 recovery after a driver reset: no more falling back to DirectX 11 or failing with "Error calling DirectX"
- Fixed a crash in the recovery path when it ran twice in a row
- Fixed a crash when the GPU upload buffer could not be mapped while loading a very large MIDI
- Fixed stale blur and bloom texture states after a resize or fullscreen switch
- Device-removed reasons and the GPU operation that hung are now written to the log
- Hardened key drawing against invalid per-key note indices (suspected cause of a rare crash during playback)
Known issues:
- Packed mode: the picture freezes for about 0.3 - 0.4 s each time the window moves to the next section, and the audio probably has a short gap there
- Packed mode: markers, lyrics, track names and controller state from before a window are not carried over, and some statistics (notes played, etc.) restart per window
- Visual buffer mode in DirectX11 corrupts each visual chunk
- An access violation error may show up when closing the MIDI player
- Visual buffers are significantly slower in packed releases