Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Engraver bug

Featured Replies

Hi all - I just updated Opusmodus a few minutes ago (I think the last update I had was 4.0.32190). The new engraver looks great!! Unfortunately, I am getting bugs that weren't present before. I've isolated two examples of generated material that worked fine with the old notation viewer and are throwing errors with the engraver, but I think there may be a few more.

Example 1:
For the omn: ((-3q 3h d2bb2 mf -q 3wq b2g3 3q) (-q - -3e 3he cs2a2 mf)), I get:
Error: Unsupported OMN Engraver written rhythm in voice 0, event 1: 3wq.

1 (abort) Return to top loop level 0.

Strangely, both (-3q 3h d2bb2 mf -q 3wq b2g3 3q) and (-q - -3e 3he cs2a2 mf) work fine individually.

Example 2:
(merge-voices '(7h fs5 cs5 gs4 7q_3e eb4 3q bb3 -e -s. e6 s b5) '(h. d3)) produces a strange result:
(z^7h fs5 7h^h. d3 7h cs5 gs4 13/168 eb4 3q bb3 -e.. s. e6 s b5)

I don't completely remember if merge-voices had a problem for this bar before, but if it did, the notation viewer was still able to display it. Not a huge deal on its own—the main issue is that causes an error to take place for the engraver when it is processed as a score (both bars were produced this way):

(progn

(setf omn1 '((z^7h b3 7h^h. d1 7h fs3 -61/112 s g5) (z^7h fs5 7h^h. d1 7h cs5 gs4 13/168 eb4 3q bb3 -e.. s. e6 s b5)))

(def-score variations-score

(:title "test"

:key-signature 'chromatic

:time-signature (get-time-signature omn1)

:tempo 100

:layout (list (grand-layout 'k1) )

)

(k1 :omn omn1 :port 2 :channel 2)

))

Error: Unsupported OMN Engraver written rhythm in voice 0, event 3: nil.

1 (abort) Return to top loop level 0.


Is there a place to download old versions of Opusmodus on the website? I couldn't find one but I could be missing something—it would be very helpful for me to continue to work on my current project.



Best,
Jack

As I explained before, avoid using merge-voices.

(def-score variations-score
      (:title "test"
       :key-signature 'chromatic
       :time-signature '(4 4)
       :tempo 100
       :layout (grand-layout '(in1 in2))
       )
    (in1 :omn '(7h fs5 cs5 gs4 7q_3e eb4 3q bb3 -e -s. e6 s b5) :port 2 :channel 2)
    (in2 :omn '(h. d3))
    )
  • Author

Many thanks - sorry, I think I misread your previous post; I didn't realize how :voices worked at the start of an omn list until I looked again and revisited the documentation for merge-voices now. It will take a bit of restructuring as I had been dealing with the merging bar-by-bar (I don't think e.g. ((:voices omn1 omn2) omn3 (:voices omn4 omn5 omn6)...) works), but I can already see better results.

All best,

Jack

Create an account or sign in to comment

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.