Random array hack
Posted: Sat Mar 12, 2022 2:47 pm
Hi,
Here's a little random array hack
Seams to works right but i have to warning !!, not so much tested, get strange cpu spike when doing it then it disappear solved by nothing..
Seeing that the midi thing only do 1 note, i suppose it could be ok..
Also i'm not sure if there's some hiden cpu cost but i don't see them on my task manager..
And it use green timing... but normally must not affect anything ??? ??? ???
The idea is to have a green counter that will send sometime a midi note off-on.
The off is send then directly a note on.
So normally when it come to poly i suppose that in one sample, we get one voice off then on.
So the code reinitialize (maybe some recompilation ? but i don't see any latency ??)
it make an array of 4096 random value and read it at hop 128.
Also it need a little time to initialize.. Waiting the green counter..
What do you think of this hack ?)
Here's a little random array hack
Seams to works right but i have to warning !!, not so much tested, get strange cpu spike when doing it then it disappear solved by nothing..
Seeing that the midi thing only do 1 note, i suppose it could be ok..
Also i'm not sure if there's some hiden cpu cost but i don't see them on my task manager..
And it use green timing... but normally must not affect anything ??? ??? ???
The idea is to have a green counter that will send sometime a midi note off-on.
The off is send then directly a note on.
So normally when it come to poly i suppose that in one sample, we get one voice off then on.
So the code reinitialize (maybe some recompilation ? but i don't see any latency ??)
it make an array of 4096 random value and read it at hop 128.
Also it need a little time to initialize.. Waiting the green counter..
What do you think of this hack ?)