jon Posted November 4, 2022 Share Posted November 4, 2022 Greetings, I've been working my way through the "Fundamentals of Composition with Opusmodus" book since my copy arrived on Monday. It's been a great help adjusting my brain from OpenMusic to Opusmodus. I'm currently working through section "220.127.116.11 Rhythm 5." In the code on page 92, there are a series of 8 lines that use "omn-dictum" to change all the pitches for each of the previously-generated rhythms to the correct general-midi pitches for the non-pitched percussion sounds (bass drum, bongos, congas, etc.). For example: (setf bass-drum (omn-dictum '(:all b1) rhythm1)) (setf low-wood-block (omn-dictum '(:all f5) rhythm2)) I found release notes indicating "dictum" had replaced omn-dictum, so I attempted to use "dictum" in its place. My attempted version of those same two lines: (setf bass-drum (dictum '(:apply b1) rhythm1)) (setf low-wood-block (dictum '(:apply f5) rhythm2)) results in all notes and rests being changed to b1 or f5, not just the notes/chords. Is the use of an all-encompassing ":range" the only way to target all of the pitches, separate from the rests? I was able to get it to work like this: (setf bass-drum (dictum '(:range (c3 c6) :apply b1) rhythm1)) (setf low-wood-block (dictum '(:range (c3 c6) :apply f5) rhythm2)) but I was hoping there would a way to either ignore rests or do something like "(:any :pitches)". Is there another way of targeting just any/all pitches? Thank you, Jon S Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.