Skip to content

Add swing/humanize feature in Advanced Settings layer#4

Draft
tomasz-szymanek wants to merge 1 commit intobastl-instruments:mainfrom
tomasz-szymanek:main
Draft

Add swing/humanize feature in Advanced Settings layer#4
tomasz-szymanek wants to merge 1 commit intobastl-instruments:mainfrom
tomasz-szymanek:main

Conversation

@tomasz-szymanek
Copy link

This PR introduces rhythmic expression tools to the WaveBard sample player by adding Swing and Humanize functionalities. A new control is mapped to the Settings layer (Pot 6), allowing users to either delay even steps for a rhythmic swing (55%–100% range) or apply pseudo-random timing offsets using a predefined pattern to simulate natural playing imperfections (0%–45% range). The implementation includes an updated trigger mechanism in the AudioLoop to handle clock-based delays and provides visual feedback via LED 1, which changes color to indicate the active mode. Additionally, the AppWaveBard class has been expanded with the necessary state variables and logic to manage these delayed trigger events seamlessly.

@tomasz-szymanek
Copy link
Author

@xx0x Hello, I will be grateful for any advice, or even a quick look

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