spuki Posted December 8, 2019 Share Posted December 8, 2019 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)) Quote Link to comment Share on other sites More sharing options...
AM Posted December 8, 2019 Share Posted December 8, 2019 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é spuki 1 Quote Link to comment Share on other sites More sharing options...
spuki Posted December 8, 2019 Author Share Posted December 8, 2019 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? Quote Link to comment Share on other sites More sharing options...
AM Posted December 8, 2019 Share Posted December 8, 2019 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é Stephane Boussuge 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.