Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClockDiv node #22

Closed
maximecb opened this issue Sep 16, 2021 · 1 comment
Closed

ClockDiv node #22

maximecb opened this issue Sep 16, 2021 · 1 comment

Comments

@maximecb
Copy link
Owner

I think it would be really useful to have a node that can take an input clock signal and divide it by some integer divider, eg: 1:2, 1:3, 1:4, ... 1:24. The node should probably just have an "in" port and an "out" port along with a drop-down menu to select the divider value. This node would allow things like having different sequencers that play patterns at different rates.

This should work by counting the rising edges of the clocks at the input, that is the number of times it crosses from less than 0 to greater than zero. Clock signals are square waves that oscillate between -1 and 1.

@maximecb
Copy link
Owner Author

The clock divider node is now complete! :)

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

No branches or pull requests

1 participant