Jump to content

Recommended Posts

Hi,

 

how can I do to emulate this wonderful Fibonacci function in Symbolic Composer, great to create "background" patterns.

 

'cause the Fibonacci in OM handle just numbers, and not musical events. In scom, it was something like that:

 

note1, note2, note2 + note1...

 

Alain

Link to comment
Share on other sites

Just use numbers to pitch, lengths etc... conversion.
I would advise you to check the System Function documentation and play with the examples a bit :-)

 

Example:

(setf fib (interval-modus (fibonacci 0 23) :mod 12))
 
(setf pitch (integer-to-pitch fib))
 => (c4 cs4 cs4 d4 eb4 f4 gs4 cs4 a4 bb4 g4 f4
     c4 f4 f4 bb4 eb4 cs4 e4 f4 a4 d4 b4 cs4)

(setf length (vector-to-length 1/16 1 2 fib))
=> (1/16 1/16 1/16 1/16 1/16 1/16 1/8 1/16 1/8 1/8 1/8 1/16
    1/16 1/16 1/16 1/8 1/16 1/16 1/16 1/16 1/8 1/16 1/8 1/16)

(make-omn
 :length length
 :pitch pitch)
=> (s c4 cs4 cs4 d4 eb4 f4 e gs4 s cs4 e a4 bb4 g4
   s f4 c4 f4 f4 e bb4 s eb4 cs4 e4 f4 e a4 s d4 e b4 s cs4)

 

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