Repository navigation
Add VGM reading and playback through a standalone YM2608 - #42
Merged
Merged
Conversation
VGMFile parses VGM 1.51-1.71 files whose only chip is one YM2608 (the files VGMLogger writes): register writes, waits, DELTA-T data blocks, the loop point and the GD3 tag. VGMPlayer renders one in chunks through YM2608Renderer, repeating the loop a given number of times, so a host can stream it from its audio refill path. b88_vgm_player_* exposes the player over the C ABI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
VGMFile: YM2608 1 基だけを使う VGM 1.51–1.71 を解析(レジスタ書き込み、待ち、DELTA-T データブロック、ループ点、GD3 タグ)。VGMLoggerが書くファイルを読めるVGMPlayer:YM2608Rendererで少しずつ描画し、ループを指定回数繰り返す。ホストはオーディオの補充処理から逐次ストリーミングできるb88_vgm_player_*(open/close/load_rhythm/total_frames/played_frames/render/tag)を追加(すべて public、追加のみ)Test plan
swift test(新規 7 件を含め全件パス。ロガーが書いたファイルを読み戻すテスト、C ABI 経由の再生テストを含む)🤖 Generated with Claude Code