Jump to content

Recommended Posts

In Lesson 4, it is statet that "You can see the LENGTH-WEIGHT replaces previously 'sounding' lengths with rest-lengths throughout the stream of pitches. "
But  actually Length-Weight  INSERTS rests. Sounding pitches are not replaced, but shiftet.
Is that correct?

 

Link to post
Share on other sites

To swallow pitches use GEN-SWALLOW function:

(gen-swallow '(1/4 -1/4 1/4 -1/4) '(c4 d4 e4 g4))

All depends on the stage you are using the LENGTH-WEIGTH function and what you want to achieve.

Anyway, I could add the swallow process into the function.

Link to post
Share on other sites
On 6/20/2019 at 4:41 PM, opmo said:

To swallow pitches use GEN-SWALLOW function:


(gen-swallow '(1/4 -1/4 1/4 -1/4) '(c4 d4 e4 g4))

All depends on the stage you are using the LENGTH-WEIGTH function and what you want to achieve.

Anyway, I could add the swallow process into the function.

Adding  'swallow' to LENGTH-WEIGHT function would be appreciated here 😉

Link to post
Share on other sites

The additional swallow keyword (default t) will be part of the next release. 🙂

(length-weight '((q c4 d4 e4 f4 g4 a4 b4)
                 (q c4 d4 e4 f4 g4 a4 b4))
               :weight '((3 1) (5 2))
               :swallow nil
               :seed 875)
=> ((q c4 d4 e4 f4 g4 - a4) (q c4 d4 - e4 f4 g4 -))

;; With :swallow T (default)

(length-weight '((q c4 d4 e4 f4 g4 a4 b4)
                 (q c4 d4 e4 f4 g4 a4 b4))
               :weight '((3 1) (5 2))
               :seed 875)
=> ((q c4 d4 e4 f4 g4 - b4) (q c4 d4 - f4 g4 a4 -))
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