1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Euclidean

Discussion in 'REAKTOR' started by playmodes, May 23, 2012.

  1. playmodes

    playmodes NI Product Owner

    Messages:
    118
    A very simple build of the Euclidean Algorithm.
    It allows to distribute a number of beats the more evenly possible along a bar...

    just in a very early stage (be carefull with the clicks), and maybe pro-devs find better ways to do this... yearning to hear some feedback!


    some references about the algorithm:
    http://www.ageofthewheel.com/2011/03...source-in.html
    http://kreese.net/2010/03/generating...al-rhythms/#tb
    http://cgm.cs.mcgill.ca/~godfried/pu...ions/banff.pdf

    which was also discussed in this thread:
    http://www.native-instruments.com/forum/showthread.php?t=140087
     

    Attached Files:

  2. playmodes

    playmodes NI Product Owner

    Messages:
    118
    added some refinements and midi out...

    it's nice when setting different lenghts for each sequence...
     

    Attached Files:

  3. PIANOPICTURES

    PIANOPICTURES NI Product Owner

    Messages:
    552
    Cool, thank you very much! Some bugs presented (first beat visualization offset in the pattern - the next to last lamp blinks instead of the 1-st one), but in general it works. Being a builder I know how hard it is to give it 'commercial' look. But it do the job and that is great by itself. Of course it would be great if it will look like this flash app here: http://www.hisschemoller.com/2011/euclidean-rhythms/ but seem to be too much work with polydisplays. Such toy could be easily included in the next 6.8 factory library )))
     
  4. playmodes

    playmodes NI Product Owner

    Messages:
    118
    Yeah!
    it would be great to have such a nice interface as the one in the flash app!

    but i wouldn't know where to start from....

    glad that someone finds this usefull!
    perhaps the next step would be to integrate this with a drummachine...
     
  5. PIANOPICTURES

    PIANOPICTURES NI Product Owner

    Messages:
    552
    ;)

    One of the reasons I never post my own ensembles is because of very raw interface and design that only do the exact job for me. Great that you show that modulo based concept, the rest is just details.

    There is some bug with the very first hit is lost when you press the 'play' button. Could be solved with event order and event value triggers I suppose.
    ---
    ...do you plan this ensemble to be integrated with sample players like Limelite or to have midi ports like Spiral or both in one?
     
  6. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    if you guys are really interested i'll help you build a polydisplay that looks similar to that...
     
  7. playmodes

    playmodes NI Product Owner

    Messages:
    118
    Hey Salamander.... that would be GREAT!
    do you think it is something possible to accomplish with not-too-much effort?

    about the integration with limelite or other sample players...is not in my plans...
    i use to work with my own experimental synthdrum modules
    http://www.native-instruments.com/index.php?id=userlibrary&L=1&type=0&ulbr=1&plview=detail&patchid=11389
    (spaguetti programming as well..)
    so what i would do next is maybe to integrate with some simple drum synths...
    but you know, the macro is there for you to do whatever you want with it!

    you're right with the bugs... i'm going to try to fix that!
     
  8. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    i think it'll take a bit of effort but not too much, i'll look into it over my free time this weekend ;) drawing a circle is easy enough, so drawing several points in a circular pattern shouldn't be too tough. turning nodes on or off might be a bit harder but i think it's all very doable.
     
  9. playmodes

    playmodes NI Product Owner

    Messages:
    118
    WOW!

    :) :) :) :)

    thanks salamander to share that with us!
    it will be great to have such a little pretty device!
     
  10. PIANOPICTURES

    PIANOPICTURES NI Product Owner

    Messages:
    552
    "if you guys are really interested i'll help you build a polydisplay that looks similar to that..."

    - sure we are! ))))

    "about the integration with limelite or other sample players...is not in my plans...
    i use to work with my own experimental synthdrum modules"

    - sorry for my english, I ment that you want it to be 'like' Limelite or more 'like' Spiral, your answer shows that it will be somewhere in Limelite direction )))


    I really love this Euclidean idea, because I'm collecting all that generative stuff.
     
  11. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    yeah, this'll be really simple, just some simple sine/cosine action. i have the display aspect almost finished, i just need to implement an algorithm to decide which nodes are on and off.
     
  12. gennargiu@alice.it

    gennargiu@alice.it Forum Member

    Messages:
    155
    wonderful :) hi,many thanks for crazy ens sequences
    gennaro
     
  13. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    all 3 of these give a 404 not found error?
     
  14. PIANOPICTURES

    PIANOPICTURES NI Product Owner

    Messages:
    552
  15. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    okay, this is nothing but a GUI display of what's going on behind the scenes, but it shouldn't be hard to add the rest of the functionality. the modulo method seems to make slightly different patterns than the algorithm ruin-wesen used.

    press play to start the clock.
     

    Attached Files:

  16. BenHoward

    BenHoward Forum Member

    Messages:
    255
    Sick! That is super fly. Whoever figures out how to add midi to it, please post it!
     
  17. PIANOPICTURES

    PIANOPICTURES NI Product Owner

    Messages:
    552
    Thank you, thats already great but is it hard to add the connecting lines between the fills like in flash example? That will be just a little bit nicer looking.
     
  18. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    no that would be very easy. filling in the polygon it makes would be a pain though...
     
  19. PIANOPICTURES

    PIANOPICTURES NI Product Owner

    Messages:
    552
    Ok, I see...
     
  20. playmodes

    playmodes NI Product Owner

    Messages:
    118
    Thanks Salamander!

    i'm going to try to integrate this interface with the algorithm,
    hope can post it tonight or tomorrow...

    i suppose that the "shift" parameter can be easily adapted into the display, right?