Jump to content

Featured Replies

Posted

Hi there,

i'm a excited beginner with OM!

Just exploring and modifying the turotials.

 

One Question:

What would be a good approach to sort the notes which are generated from the snippet below to, say, a scale.

In other words: The outoot below is chromatic. How can i turn it into a scale, eg. d-phrygian)

Thank you!

 

(setf size 60)
(setf vector
      (gen-sine
       size 1 '(0.5 0.4 0.3 0.6)
       :modulation (gen-sine size 1 0.3 :phase 180)))
(setf pitchvec (vector-to-pitch '(g1 g6) vector))

 

you could do it like this, check the function TONALITY-MAP

(pitch-transpose 2 (tonality-map '(phrygian :map step) pitchvec))

but mapping on (other) tonalities could be musically a bit tricky - perhaps you have to "eliminate some pitch repetitions" (has to do with quantification), or sometimes you have some troubles with the ambitus (that's the reason why i added <pitch-transpose>)...

 

but perhaps there are some other solutions...?

 

greetings

andré

  • Author

so far it works, thank you! but where can i define the root/base note of the phrygian-mode?

ah, i found it. thats is done by the pitch-transpose.
so whatever tonality-map does, its always based on "c" as the root? 

it could work like this... because of the RANGE of the "chromatic mapping of your gen-sin", you have to set :root  d3, otherwise you will get pitches like "a-1", which is not possible. so you have to shift your root to d3.

(tonality-map '(phrygian :root d3) pitchvec)

i never used <tonality-map> before, i just read the documentation of the function - so it's quiet simple 🙂

 

greetings

andré

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