For some valence arousal co-ordinates v,a ∈ [-1,1]:
Rhythmic Components
tempo For some defined constants t0, t1, t2 ∈ R : t(a,v) = t0 + t1a +t2v
rhythmic density Pr{n=1} = a
loudness For some defined constants l0, l1 ∈ R : l(a) = rand{l0, l1}
where (l0, l1) ∝ v range (l0, l1) ∝ a
Melodic Components
Mode of music is determined through the following matrix: M = ["Lydian", "Ionian", "Mixolydian", "Dorian", "Aeolian", "Phrygian", "Locrian"]
m(v) = M[round(3-3v)]
Pitch register p_r (a, v) = { round (v13) v > 0 { round ((a-v)/213)) a > 0 v < 0 round ((a+v)/2*13)). a < 0
-- to do::
Pitch contour
if (m(v) = "Lydian".. K = Krumhansl("Lydian")
p_c (v) = K (v+1). ( 1 + I)