Commit d124b69
feat: add Bytebeat Speed and Glide options to Bytebeat submenu (#36)
* feat: add Bytebeat Speed and Glide menu options with auto-wander engine
- Engine: add drone_countdown per BytebeatOscillator, drone_glide_enabled
and drone_speed (1-8) to BytebeatState; add set_bytebeat_drone_speed /
set_bytebeat_drone_glide methods; auto-wander logic in render loop picks
scale-aware target Hz and glides over the full period using existing
hz_ramp_rate machinery. Disabling snaps all oscillators back to
base_frequency_hz immediately. 4 new engine tests.
- AudioCommand: add SetBytebeatDroneSpeed(u8) and SetBytebeatDroneGlide(bool)
variants with dispatch in run_audio_loop.
- Menu: add bb_speed (u8, 1-8) and bb_glide (bool) fields to MenuState;
expand Bytebeat submenu from 5 to 7 items (Speed: Nx, Glide: On/Off);
update increment/decrement/lines; fix item-count test; add 5 new menu tests.
- App: track old_bb_speed / old_bb_glide and dispatch both AudioCommands on
change.
Agent-Logs-Url: https://github.com/danvincent/pirate-synth/sessions/e19adde1-0bde-431d-b4dd-235a5f277bb6
Co-authored-by: danvincent <2820964+danvincent@users.noreply.github.com>
* feat: add Glacial Bytebeat S&H FM mode
Agent-Logs-Url: https://github.com/danvincent/pirate-synth/sessions/b40701ba-eb12-42ec-b42c-c0966708e4f7
Co-authored-by: danvincent <2820964+danvincent@users.noreply.github.com>
* refactor: extract BB_GLACIAL_T_PERIOD_SECS constant and clarify bb_speed comment
Agent-Logs-Url: https://github.com/danvincent/pirate-synth/sessions/b40701ba-eb12-42ec-b42c-c0966708e4f7
Co-authored-by: danvincent <2820964+danvincent@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: danvincent <2820964+danvincent@users.noreply.github.com>1 parent 84567a7 commit d124b69
4 files changed
Lines changed: 453 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
1278 | 1281 | | |
1279 | 1282 | | |
1280 | 1283 | | |
| |||
1390 | 1393 | | |
1391 | 1394 | | |
1392 | 1395 | | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
1393 | 1417 | | |
1394 | 1418 | | |
1395 | 1419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| |||
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
| |||
0 commit comments