AlainJamot Posted May 24, 2017 Share Posted May 24, 2017 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 Quote Link to comment Share on other sites More sharing options...
AM Posted May 24, 2017 Share Posted May 24, 2017 looks like adding intervals? ...code it! :-) Quote Link to comment Share on other sites More sharing options...
AlainJamot Posted May 24, 2017 Author Share Posted May 24, 2017 No, it could be used by rythm, dynamic... Of course one can do it by hand but a function is generally faster... when you know how to do it, and it's unfortunately not my case :-) Quote Link to comment Share on other sites More sharing options...
opmo Posted May 24, 2017 Share Posted May 24, 2017 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) hujairi 1 Quote Link to comment Share on other sites More sharing options...
AlainJamot Posted May 24, 2017 Author Share Posted May 24, 2017 I know you're right, but there's so many things, it's too exciting, but i'm gonna take some time... :-) Thanks for your example. Quote Link to comment Share on other sites More sharing options...
Stephane Boussuge Posted May 24, 2017 Share Posted May 24, 2017 You can also have a look to LSytem functions.... length-lsystem pitch-lsystem rewrite-lsystem S. hujairi 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.