Skip to content

daisy: stagger midi_polyphony in real time; local libDaisy paths [skip release] - #1042

Merged
dpwe merged 1 commit into
mainfrom
dpwe/daisy-local-paths
Aug 3, 2026
Merged

daisy: stagger midi_polyphony in real time; local libDaisy paths [skip release]#1042
dpwe merged 1 commit into
mainfrom
dpwe/daisy-local-paths

Conversation

@dpwe

@dpwe dpwe commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Two small Daisy-only changes. Nothing here is compiled by any CI target — the Daisy port builds out of tree against a local libDaisy — hence [skip release].

midi_polyphony() gets its stagger back

#1040 removed the time argument from amy_event_midi_message_received(), because a live MIDI message carries no scheduling time — it plays when it arrives. That left midi_polyphony() firing all 15 notes at once, where it used to space them a second apart.

Restores the spacing with System::DelayMs(1000), which does in real time what the old argument only appeared to do.

Local libDaisy paths

Points LIBDAISY_DIR / DAISYSP_DIR at ~/github/electro-smith/{libDaisy,DaisySP}.

Worth being explicit: these are just as machine-specific as the ~/Desktop/DaisyExamples/... paths they replace. There's no in-tree default — whoever builds the Daisy port edits these to wherever they keep libDaisy.

🤖 Generated with Claude Code

…p release]

midi_polyphony() lost its note spacing when the MIDI time argument went away
in #1040 -- a MIDI message plays when it arrives, so all 15 notes landed at
once. Space them with System::DelayMs(1000) instead, which is what the old
time argument was pretending to do.

Also points LIBDAISY_DIR/DAISYSP_DIR at ~/github/electro-smith. Like the
~/Desktop/DaisyExamples paths they replace, these are wherever the person
building happens to keep libDaisy -- there is no in-tree default to use.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@dpwe
dpwe merged commit 1fb08c0 into main Aug 3, 2026
11 checks passed
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