Repository navigation
小節の頭への吸着・インストールの案内・自動テスト・記事 5 本を追加 - #4
Merged
Merged
Conversation
- 小節の頭: 拍ごとのコードの変わり具合(クロマ)と低音から推定し、長い線で表示。「小節の頭に合わせる」で A・B を吸着、◀ ▶ は 1 小節ずつ。1 小節の拍数と小節の頭のずらしは曲ごとに保存。「½・×2」「拍に合わせる」と合わせて設定の「拍と小節」にまとめた - インストールの案内(ベースライン §3-7): ファイルを開いたあとだけ。Chrome・Edge は「インストール」ボタン、iOS は「共有 → ホーム画面に追加」を 1 回だけ - 自動テスト: tests/analysis.test.mjs(拍・テンポ・小節の頭。index.html の解析コードを Node で実行)、tests/e2e.mjs(Playwright。吸着・ループ・出力の音程・保存・ピンチ・CSP)、.github/workflows/test.yml - 記事: 使い方ガイド(画面写真付き)・耳コピのやり方・少しずつ速くする練習法・キー変更の使い方・よくある質問(英日)。表は scripts/pages/practice.mjs で計算。⚙ メニュー・使い方・アプリ下の説明から記事へのリンク - 確認の観点を docs/article-review.md に。README・CLAUDE.md・baseline-status・プライバシーの保存内容を更新 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lgcwksu9gho4UzGNuCXc1M
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://claude-serene-keller-or9gpn-looptrainer.acogist2000.workers.dev (commit f4f5311)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lgcwksu9gho4UzGNuCXc1M
…show the tempo at the current speed The tempo next to the time now shows the tempo you hear when the speed is not 100% (♩ ≈ 84 (original 120) at 70%). The guide, the speed-up article, the screenshots, the README, and the tests follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Lgcwksu9gho4UzGNuCXc1M
This was referenced Oct 25, 2026
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.
変更内容
1. 小節の頭(1 拍目)への吸着
2. インストールの案内(ベースライン §3-7)
3. 自動テスト(ベースライン §9-9)
tests/analysis.test.mjs(13 件):テンポ、拍の位置(±6 ms 以内)、拍がない音を「拍なし」と判定すること、小節の頭(4 拍子と 3 拍子。1〜3 拍前から始まる曲も含む)。index.html の// BEGIN analysis〜// END analysisの部分をそのまま Node で実行するので、アプリとテストの中身がずれません。tests/e2e.mjs(24 件):Playwright で、吸着、タップ移動、長押し、ピンチ、再生速度、出力の音程(440 → 493.9 Hz など)、自動スピードアップ、カウントイン、保存と復元、日本語ページ、iPhone での案内、CSP 違反・エラーが 0 件であることを確かめます。.github/workflows/test.yml:PR と main への push のたびに、上の 2 つと生成ファイルの--checkを実行します。tests/signals.mjsで作っています(テンポ・拍・小節の頭が分かっている、ここで作った音です)。4. 記事 5 本(日英)
/guide//learn-by-ear//speed-up-practice//change-key//faq/scripts/pages/practice.mjsで計算しています。アプリのSPEED_MINなどは index.html から読み込みます(ベースライン §10-3)。記事の確認のお願い(ベースライン §10-7)
記事は公開前に人間の確認が必要なので、この PR はマージせずに確認を待ちます。プレビュー URL は、Cloudflare のボットのコメントにあるものの末尾に
/looptrainer/を付けて開いてください。特に見てほしい点(
docs/article-review.mdと同じ内容です):機能(1〜3)もプレビューで試せます。
その他
docs/baseline-status.mdを更新しました(3-7・9-1・9-9・10 を済みに。10-7 は確認待ち)。ktkwmr/ktkwmr.com)のカードにガイド記事の一覧を足す PR を出します(§2-16)。Generated by Claude Code