Jump to content

Find sum of lenghts


Recommended Posts

Hi,

How can I find the sum of lengths in OMN including rests?
Obviously the code below won't work, but it will give you an idea what I'm looking for:

(setf anacrusis-ls '((-s = = = = = = =) (-3e = = = = =) (-5q. = = = = = = = = =)))
(setf pick (rnd-pick anacrusis-ls))
(setf sum (find-sum pick))

 

All the best,
Erik

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