Jump 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.

Featured Replies

Hello,

 

I am trying to assign articulations (attributes) to certain note lengths

 

my attempt:

(setf omn '((q e3 p -q s a4) (s f3 mp -s) (e g3 mf)))
(setf rh (omn :length omn))
;=> ((1/4 -1/4 1/16) (1/16 -1/16) (1/8))

;; how is it possible to convert the ratios to omn-notation?:
(setf rhomn '((q -q s) (s -s) (e)))

(setf aq '(ord)
      as '(stacc)
      ae '(spicc)
      a-q '(-)
      a-s '(-))

(setf art (assemble-section 'a (flatten rhomn)))

;;I don't understand how to handle the rests

(setf pch (omn :pitch omn))
(setf vel (omn :velocity omn))

(make-omn :length rh
          :pitch pch
          :velocity vel
          :articulation art)
; => ((q e3 p ord - s a4 ord) (s f3 mp -) (e g3 mf stacc))

 

Which method can I use to achieve the correct assignment of the attributes to the specific note lengths, in order to obtain this result?

((q e3 p ord -q s a4 stacc ) (s f3 mp stacc -s) (e g3 mf spicc))

 

Thank you very much for any help or advice you can give me,
best wishes
AO

 

One solution would be:

 

(setf omn '((q e3 p -q s a4) (s f3 mp -s) (e g3 mf)))

(setf dictum '((:any q :apply ord)
               (:any e :apply spicc)
               (:any s :apply stacc)))

(dictum dictum omn)
=> ((q e3 p ord - s a4 stacc) (s f3 mp stacc -) (e g3 mf spicc))

 

  • Author

Thank you very much for your fast and helpful answers!

 

best wishes

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

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.