Jump to content

Per Measure processing of accidentals (flats, sharps)


Recommended Posts

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

Link to comment
Share on other sites

  • 3 weeks later...

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

 

Link to comment
Share on other sites

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))

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy