How to make a material with shiftable and repeatable colorsplit

So i want to make a wood-material for architectural purposes.
I want it to kind of look like this:

BUT i want it to be dynamic. So i want to to be able to change the ratio of black and wood/white and to be able to change the overall repetition.
So i started thinking about making a dynamic split and came to this:

So, first of all i want to ask, if this seems to be good way, and second and most important,
how can i make it repeatable?

Thanks so much!

Toni

So i figured this out, which works quite ok-ish:

Would still be happy about some feedback!
Happy new year!