Jump to content

Featured Replies

Posted

Dear all

 

Is there some way to make a processing of accidentals in the make-omn expression or even later, in the PS expression ?

 

Something like:

 

bar #1 all sharps

bar#2 all flats

etc.

 

I noticed that after many sucessive list processing, my original notes were altered. 

 

Thanks !

Best !

Julio

  • 3 weeks later...
  • Author

Maybe this could be implemented inside the "omn-dictum" function, since it have the "per bar" processing.

  • Author

Yes,

 

But the purpose of omn-dictum, according to the documentation is to provide the possibiliry of revisions : "The dictum arguments can be seen  as maps, rules or handwritten corrections to a final score." So, this kind of revision is typical.

Maybe keywords like :flats and :sharps

 

Something like:

 

(omn-dictum '((e stacc 1) (:sharps 2) (3q leg 2)) omn2)

 

Best !

Julio

 

Done.

 

(omn-dictum '((e stacc 1) (:all :sharp 2) (3q leg 2)) omn2)
(omn-dictum '((e stacc 1) (bb4 :sharp) (3q leg 2)) omn2)

 

(omn-dictum '((:all :sharp 1) (:all :flat 2))
            '((q bb4 leg a4 mp leg gs4 a4 f) (q bb4 leg a4 mp leg gs4 a4 f)))

Screenshot 2021-04-12 at 08.11.20.png

REWRITE-ACCIDENTALS - in forthcoming release.

 

(setf sequence
      '((q d4 pp s eb4 leg g4 p leg bb4 leg a4)
        (q. cs5 mf -e 3q gs5 leg fs5 leg c5 b4 ff leg f4 leg e4)))

(rewrite-accidentals sequence :map :chromatic)
=> ((q d4 pp s ds4 leg g4 p leg bb4 leg a4) (q. cs5 mf -e 3q ab5 leg gb5 leg c5 b4 ff leg f4 leg e4))

(rewrite-accidentals sequence :map :sharp)
=> ((q d4 pp s ds4 leg g4 p leg as4 leg a4) (q. cs5 mf -e 3q gs5 leg fs5 leg c5 b4 ff leg f4 leg e4))

(rewrite-accidentals sequence :map :flat)
=> ((q d4 pp s eb4 leg g4 p leg bb4 leg a4) (q. db5 mf -e 3q ab5 leg gb5 leg c5 b4 ff leg f4 leg e4))

 

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