Jump to content

Featured Replies

Posted

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 ))
 

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


Copyright © 2014-2025 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy