Jump to content

Recommended Posts

Hi,

Why does the first example work and the second don't, what am I missing?

Thanks!

(setf eins '((q d4 e4 fs4 gs4) (q d4 e4 fs4 gs4) (q d4 e4 fs4 gs4)))

(unfold 'om '((pause 2)) eins)
=> ((q d4 e4 fs4 gs4) (-w) (q d4 e4 fs4 gs4))

(unfold 'om '((pause 2 2)) eins)
=> ((q d4 e4 fs4 gs4) (q d4 mf e4 fs4 gs4) (q d4 e4 fs4 gs4))

 

Link to post
Share on other sites

I want  instead of the second note in the second bar a pause,  accordingly to how it works with transposition..?

(unfold 'om '((t1 2 2)) eins)
=> ((q d4 e4 fs4 gs4) (q d4 mf f4 fs4 gs4) (q d4 e4 fs4 gs4))

 

Link to post
Share on other sites

The fix is very simple. 

Unfold Set OM.lisp

pause (nil (gen-pause x))

the NIL here should be :length

pause (:length (gen-pause x))

The next update will include the fix.

 

Link to post
Share on other sites

Sorry,  but it does not work here 😞

I changed it in my own Unfold Set.lisp definition (which is a renamed copy of Unfold Set OM.lisp and where I can modify things to my needs)

Also I noticed that when I use the transposition function that I posted above, the unfold function puts a mf before the note that get transposed, is that on purpose?

And one last thing, when I evaluate (unfold.. ) for the first time it always gives me an error warning that my Unfold Set file does not exist, when I evaluate it again everything works fine..?

 unfold, set: os methods: ((t1 2 2))
> Error: There is no method set named: os
> While executing: %get-unfold-set, in process Listener-1(7).
> Type cmd-. to abort, cmd-\ for a list of available restarts.
> Type :? for other options.

 

Link to post
Share on other sites

As I wrote its the Unfold Set OM.lisp file, just copied& renamed& placed in that folder and I've got the error when I first evaluate unfold.

And can you say something to the mf that gets added, when using t1?

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.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy