Skip to content

Conversation

@jackhumbert
Copy link

Makes some methods virtual for overriding, and allows initializer lists for nice calls like this:

kaleidoscope::Runtime.device().speaker().playTune(
    {440, 880,  440,  880}, 
    {50,  50,   200,  50}
);

@obra
Copy link
Member

obra commented Jul 22, 2025

<3 #1512 is kind of what I'd been thinking for how to do 'themes' for different events. I suspect we'd also want it to listen to events the way the LEDIndicators plugin does.

@jackhumbert
Copy link
Author

Ah, I didn't see that! I should have dug deeper. It's funny how we ended up with similar playNextNote methods :)

This is great, though - I love the phonemes! I'll check it out and play around with it.

@obra
Copy link
Member

obra commented Jul 22, 2025 via email

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.

2 participants