Jump to content
Sign in to follow this  
lviklund

Bug in endings?

Recommended Posts

Hi all,

When I change in the example for repeat:

(setf test '((repeat (-q q. g4bb4d5 e g4bb4d5 q c4c5eb5)
             (q f4a4c5 g4bb4 h f4a4c5)
             (h bb3bb4 -h)
             (h d4f4a4 q g4bb4 f4a4c5 tie)
             (q f4a4c5 g4bb4 h d4fs4a4)
             (end1 (h g4))
             (end2 (h g4)))))

 

to:

(setf test '((repeat (-q q. g4bb4d5 e g4bb4d5 q c4c5eb5)
             (q f4a4c5 g4bb4 h f4a4c5)
             (h bb3bb4 -h)
             (h d4f4a4 q g4bb4 f4a4c5 tie)
             (q f4a4c5 g4bb4 h d4fs4a4)
             (end1 (-e e g4))    ;<---- a rest
             (end2 (h g4)))))

 

I get:

> Error: Incompatible ending types in #S(=phrase :event-count 2 :events (#S(=event :omn (-e) :types (:rest)
> :length -e) #S(=event :omn (a4 end1) :types (:pitch :attribute) :length e)))
> While executing: classify=event, in process Listener-2(7).
> Type cmd-. to abort, cmd-\ for a list of available restarts.
> Type :? for other options.

 

A bug maybe?

Lasse

Share this post


Link to post
Share on other sites

I forgot to mention that the problem is this line:

(pitch-transpose 2 test :omn t)

 

It might be SBTK (silly me again) but I think it should work.

Share this post


Link to post
Share on other sites

Thank you for the report. Investigating.

Edited by opmo

Share this post


Link to post
Share on other sites

Update 1.1.17262 - MAKE-OMN now correctly handles plists with :rest-articulation.

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...