Jump to content
Sign in to follow this  
spuki

length-weight

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?

 

Share this post


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.

Share this post


Link to post
Share on other sites
Quote

All depends on the stage you are using the LENGTH-WEIGTH

 

What does that mean?

Share this post


Link to post
Share on other sites

Is the input omn form or just a length values, this is what I was saying and at what stage of your composition you used the function.

Share this post


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 😉

Share this post


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 -))

Share this post


Link to post
Share on other sites

great !

Very important for keeping pitch alignment between 2 or more voice for counterpoint control !! 

 

S.

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...