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.

How to apply articulation/dynamics to specific situations of pitch and rhythm

Featured Replies

Hello everybody, sorry if this is a basic or too general question, but I wonder what would the best strategy be to apply articulations or dynamics to specific situations of pitch and rhythm. 

 

For example, let's say I have a omn list of pitches and durations and I want to apply articulations or dynamics to specific situations, such as: repeated pitches that have the same duration, or notes that last more than a quarter note, or each note that is not the same pitch as the previous one, or to each event that is cs4 with duration of 1/4, etc. 

 

I know that I can write specific functions for each case in particular, but I wonder if there is an easier way within opusmodus. I have been trying to use dictum or def-case for these effects, but I don't think those approaches can handle these kind of situations, but maybe I am wrong. Or maybe there are some maping or pattern-searching opusmodus functions that I am not aware of that could be of some use here. 

 

Many thanks!

Rodrigo

  • Author

Thanks for the quick reply! I will look into the pattern-map function. But, with respect to dictum, how can I specify multiple conditions? For example a specific pitch and duration? Something like this?

 

(:any (q c4) :apply stacc)

 

I tried the above and does not work. Also, how could I detect repeated notes in dictum? So, for example, apply this not to any c4, but only to c4s that are repeated.

 

Thanks!

Rodrigo

 

 

 

Create as many dictums you need to complite the task:

 

'((:range (t s) :apply (dechord x))
  (:range (b3 c4) :apply (pitch-transpose -7 x))
  (:range (t s) :apply (pitch-invert x))
  ...)

 

  • Author

Thanks! I just realized I was missing the :and dictum type which does apply to multiple conditions. But I still don't see how many dictums could be used to apply articulations to repeated pitches. 

  • Author

Thanks Stephane! I will look into that.

 

Best,

Rodrigo

  • Author

Dear Stephane, do you mean there is a function with that specific name I could use? Or are you referring to the = symbol? I looked for such a function but couldn't find it. Sorry if I misunderstood you suggestion.

 

Thanks!

Rodrigo

  • Author

Hi Stephane, sorry to insist with this topic, but I could not find any reference to such a function. If I try to invoke this function I get an Undefined operator error.  And there is nothing in the documentation. Could you please point me towards any example of the usage of this function?

 

Many thanks!! 

Rodrigo

  • Author

Well, that function is totally missing from my OpusModus installation. When I search for it, I get nothing. When I try to use it, the code editor does not change to blue, so it does not recognize that function, I am using Version 3.0.28962 (3.0.28962). Was this function deprecated?

 

Thanks!

 

image.png.4f086a530587bf04d58663146eeef761.png

  • Author

I updated OM and now it works. Thanks!

Rodrigo

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

Important Information

Terms of Use Privacy Policy

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.