Scale Quantization in HISE?
-
Hey there, i awas playing around with the arpeggiator yesterday and thought it would be great to tune it to a certain scale for example F Minor.
Has anybody done something like this before? If i load in a midi sequence the user is probably in another scale aswell so adjusting this is necesassary.
Reference from Ableton:
-
@Straticah said in Scale Quantization in HISE?:
Hey there, i awas playing around with the arpeggiator yesterday and thought it would be great to tune it to a certain scale for example F Minor.
Has anybody done something like this before? If i load in a midi sequence the user is probably in another scale aswell so adjusting this is necesassary.
Reference from Ableton:
yeah its pretty simple really - define an array for each of your scales - and in the array define the correct notes for your scale..
so C- Major is: [1,0,1,0,1,1,0,1,0,1,0,1] -- where 1 = included and 0 = excluded.
in a midi processor for your instrument mod the input note number to get its position in an octave - then look up to see if its included in your scale - if not move it up or down one semitone(position).
-
@Lindon interesting, i have not done any scripts inside the midi processor yet but thanks for pointing me into the right direction. I think i have seen a simmilar binary scale setup on the forum maybe i find a snippet.
-
Check out this example, it does something similar:
-
@Christoph-Hart this is what i would need as a midi module! Good to know its possible :)