Posted January 7, 201510 yr Hello i try to tranlate pattest into list of pitches from library how may i achieve this , could you help thanks (setq pattest (library 'modes 'minor nil :random 3 )) (setq pattestpitches (mapcar 'integer-to-pitch pattest ))
January 7, 201510 yr Possible solution: (setq pattest (library 'modes 'minor nil :random 3)) (setq pattestpitches (integer-to-pitch (apply-eval pattest))) SB.
January 8, 201510 yr Opusmodus 1.015710 allows you do direct conversion: (expand-chord-name (library 'modes 'acoustic nil :random 2) :type :pitch) => ((c4 d4 e4 fs4 g4 a4 bb4) (c4 d4 e4 fs4 gs4 a4 bb4)) (expand-chord-name (library 'modes 'minor nil :random 3) :type :pitch) => ((c4 d4 eb4 f4 g4 bb4) (c4 d4 eb4 f4 g4 gs4 a4 bb4 b4) (c4 d4 eb4 f4 g4 bb4)) The EXPAND-CHORD-NAME function works on chords and tonalities.
Create an account or sign in to comment