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.

def-score :key-signature

Featured Replies

Hi,

When should we use the :key-signature option in def-score? Normally, when we define :pitch and :length (or the OMN spec) in def-score instruments, the tonality is fully specified. So what is the need for :key-signature such as (c maj)? In case this option is given, will automatic tonality mapping occur from the given pitches to this scale? 

 

Regards,

Rangarajan

  • Author

Thanks. Is it correct to say that this option only affects the notation display and not the actual notes played? I did "Evaluate and Notation" after changing this option a few times and each time I noticed that the notation had the expected key signature rendering, but it did not seem to alter the notes. Request you to confirm this observation.

 

Regards,

Rangarajan

  • Author

Thanks very much.

 

Regards,

Rangarajan

  • 7 months later...

Ah! This answers my question as well. 

 

Let me further this by asking - if we want to alter the notes rather than just the notation, would key-signature-length be the advised approach?

(key-signature-length '((g maj 8/4) (e maj 6/4))) 

If so, does this apply to the entire score or can it apply to individual instruments?

Thanks,

Tom

Hi Tom,

 

the normal way for altering notes is tonality-map.

 

 

:key-signature in def score is for the score.

key-signature-length function is not made for altering notes.

 

 

also, you can show in score cautionary accidentals or if you prefer all accidentals using in def-score header:

 

:accidental :cautionary

 

or

 

:accidental :all

 

Stéphane

 

I'll look into the tonality-map function. Good to know about the score parameters as I will be outputting this as a score as well.

 

Thanks!

 

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.