Jump to content

Bizarre hanging on function gen-sieve (probably loop)

Recommended Posts

This caused a hanging (not responding) crash. I don´t know why...



(setf padrao '(7 -1 -5 4 -3 2 12 -16))
(setf pitches (gen-sieve '(c4 e6) padrao :type :pitch))



(setf padrao '(7 -1 -5 4 -3 2 12 -15))
(setf pitches (gen-sieve '(c4 e6) padrao :type :pitch))


Link to post
Share on other sites
On 11/23/2019 at 7:47 AM, opmo said:

Use positive values only.

'(1 -1) could go for ever 🙂


Yes, like looping. Thanks.


On 11/23/2019 at 6:44 AM, AM said:

a speculation...


example 1: because the SUM is 0!! so it will never go up to 'e6

example 2: sum is 1, it will work

Yes, thank you.


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.

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