Skip to content

Generator: tracks 2-4 to Seq, scene mutes cleared, instruments on the project's channels - #36

Merged
lgarraza merged 5 commits into
mainfrom
claude/project-thread-h25hx8
Nov 3, 2026
Merged

lgarraza merged 5 commits into
mainfrom
claude/project-thread-h25hx8

Conversation

@lgarraza

@lgarraza lgarraza commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Requested by Leo

Fixes in the generator found after decoding the arpeggiator, the scene mutes and the per-project MIDI channels on the device (2026-11-03). Needed before 0.6.0.

Changes

  • Arp → Seq: Ambient, the styles and the musical arrangement switch the tracks they write (2-4) to the sequencer (setArpOn, track param 86 bit 0x40). Before, a track left on Arp arpeggiated the generated notes instead of playing them. The arp settings (mode, octave, division, swing) are kept.
  • Scene mutes: the scenes the generator writes lose their mutes (writeScene writes param 77). Now said in the Generate window and in the manual.
  • Channels: each instrument listens on the track's effective channel: the project's override (item 0x78 param 123) when set, else 1-4; drums on 10 (effectiveChannel). The Rec channel follows it. Before, the engine always used 1-4 / 10, so a track set to channel 7 in the Project Map did not reach its instrument.
  • Manual: 06-instruments (channels), 07-generate (Seq, mutes), developer notes 04-studio-app.

Tests

  • All 14 non-JUCE tests pass (ctest), the frozen ambient hash included.
  • New: gen_test 11 (arp off and mutes cleared for every generator; generating only track 1 leaves the others' arp alone), projectmap_test 10 (effectiveChannel).
  • The app builds (Release, VS 2026). Not tried on the device yet.

🤖 Generated with Claude Code

…truments on the project's channels

- Ambient, styles and the musical arrangement switch the tracks they write (2-4) to Seq (setArpOn, track p86 bit 0x40):
  a track left on its arpeggiator arpeggiated the generated notes instead of playing them. Arp settings are kept.
- The scenes the generator writes lose their mutes (writeScene writes p77); the window text and the manual say so.
- Each instrument listens on the track's effective channel: the project's override (0x78 p123) when set, else 1-4,
  drums on 10 (effectiveChannel); the Rec channel follows it.
- Tests: gen_test 11 (arp off and mutes cleared for every generator, track 1 only leaves the others alone),
  projectmap_test 10 (effectiveChannel).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@lgarraza lgarraza self-assigned this Nov 3, 2026
lgarraza and others added 4 commits November 3, 2026 17:28
…e confirm, close warning, hover card)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ss, write confirm, close warning, hover card)"

This reverts commit 972e8b2.
… length

In drum view the STEPS display showed the sequencer pattern length of track 1 (15 next to END 14), and the END line had no
grip. The grip is drawn and dragged as in the note grid (the END line and the grip change the length too).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@lgarraza
lgarraza merged commit 8ac0184 into main Nov 3, 2026
2 checks passed
@lgarraza
lgarraza deleted the claude/project-thread-h25hx8 branch November 3, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant