Skip to content
View in the app

A better way to browse. Learn more.

Opusmodus

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

conforming algortihmically-generated pitches to a harmonic progression

Featured Replies

I'm wondering if a series of pitches generated by white noise could be made to conform to a scale or harmonic progression in a scale such as (setf chords (harmonic-progression prog.prep '(d4 messiaen-mode5))). 

 

That is - if I have several parts generated algortihmically, can I conform those notes using a second function that will conform them to a harmonic progression?

 

Thanks,


T

 

 

Hi Tom,

 

you need to use tonality-map for that, one example:

 

;; first, generationg the white noise

(setf noise (gen-white-noise 256))
(setf pitches (vector-to-pitch '(c3 c5) noise))

;; now dividing the pitch list into some sublist
;; for applying the tonality mapping

(setf pitches-div (gen-divide '(16 8 12 24) pitches))

;; generating the harmonic progression
;; but for be able to map on pitch lists, you need to put
;; every chords into a list using mclist function (mapcar list)
(setf hprog (mclist
             (harmonic-progression
              (rnd 24 :low 6 :high 12)
              '(d4 messiaen-mode5)
              :size 4
              )))

;; apply (map) the harmonic-progression to the lists of pitches

(setf mapped-pitches (tonality-map hprog pitches-div))

SB.

  • Author

Thanks for the quick response, Stephane. This looks exciting. I can't wait to get home from work and try this out. ;-)

 

Regards,

 

Tom

Create an account or sign in to comment


Copyright © 2014-2026 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.