Hi Arben,
I could not properly formulate my question in The Office Hours Session as I had only joined in at the very end (a miscalculation on my part). So thank you for suggesting I pose my question here.
I am trying to make a kind o’f Rhythm Evolver’ by means of an Evolutionary process.
One thing is that I need to detect the degree of ‘regularity’ in a rhythm as a fitness score parameter.
This way I also try to find out if Nesting as a ‘regularity’ in music is easily, or at all recognised by listeners.
Nesting is the most complicated and hidden regularity. Repetitions are much easier recognised.
Let’s just talk about just one line (one rhythm instrument, e.g. Kick drum), as I think it is already difficult enough.
A hit is 1, no hit is 0.
- I have already been given a way to detect ‘Repetition’, ‘Symmetry’ and ‘Permutations’ of parts (also here in the Community :-)
Now I am looking for a way to detect ‘Nesting’.
E.g. The following 3 parts : {1,0,0,1} {1,0,0,1,0,1,1,0} {1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1}
all come from the nesting Rule : 1->{1,0}. and 0-> {0,1} starting with {1,0} and applied respectively 1x, 2x and 3x.
I want to go the other way, and see if in a rhythm line, that has been evolved , there is any sort of Nesting as regularity. Not with these specific rules and specific initial condition. I want to detect ANY Nesting (any rules, any initial condition).
So, given the line { 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1}, I should detect that the bold part (1, 0, 0, 0, 1, 1, 0, 1, 1) is a nested part from:
Initial conditions {1,0} with the rules : {1 -> {0, 1, 1}, 0 -> {1, 0, 0}}
It is no really important that I detect what rules and which initial condition, but I want to detect which part of my Rhythm Line is a Nested part in any form.
I am not sure if it is possible, without trying all the rules. This due Stephen Wolfram’s ‘Computational Irreducibility’ .
What are your thoughts?
Thanks, Bert