View Full Version : euclidean algorithm generator
steff3
12-15-2008, 06:22 AM
referring to that: http://www.five12.net/showthread.php?t=62 but I think this is not supposed to be in 'feature request forum'
just in case somebody is interested:
[I know I should be able to add an image, seems I am not intelligent enough --- maybe somebody can post a tutorial for that? :) ]
http://homepage.mac.com/steff_3//grap/s3EuclidRhythm.png
I also found that quite interesting and well, at least to the point I understood it correctly, tried to implement that - obviously not for Num2, but first for Max/MSP (I know, there are probably hundreds already - I wanted to have my own algo) and plan to do a kontakt script.
post here if interested ....
I thought somebody might find that interesting ....
best
EDIT: Max-file is here: http://www.performativespace.com/grap/Euclidean.html
Maybe some thoughts:
- needless to say that it might not function correctly, if you encounter anything you think is not right - let me know.
- So you can generate the pattern and rotate to onsets ... I also have a basic functions for reverse and inverse implement (just send a message 'reverse' or 'inverse' to the external) but it will inverse (0 becomes 1 and v.v.) or reverse (backwards) the original (non rotated) pattern. I am not sure if that is needed and to me, there seems to be a processing order:
generate -> rotate -> reverse/inverse
It seems that it does not make sense to rotate the reversed or inversed pattern
I think the help-file and the tags on the input/outputs should explain the external ....
open for thoughts on that.
hope you find it useful
best
hello,
shure I am interesseted in this also on max or kontakt.
Using max for some MIDI filtering/manipulation/sequencing out of Numerology, made my own Klee sequencer there, till I saw how easy it is to do inside of numerology also.
As Jim is also interessted in those generator types it would be handy to have them included inside of Numerology without all the aditional IAC stuff in and out.
best
jue
steff3
12-17-2008, 12:20 AM
hello,
I updated the algo to fully support reverse and inverse (at least in the way I think it is useful/logical).
best
Hello,
just to be shure:
Your generator only shows the rythem?
No MIDI output?
I have to do it for my self I think.
best
jue
steff3
12-17-2008, 03:26 AM
well,
at the moment it is just a external with help file.
the external outputs a list and from there you can do what you want - output impulses generated in MSP, visuals in Jitter or MIDI with other Max stuff, or OSC :)
So, what you do with it, is normally up to you. I might add a MIDI patch, but there are thousands of possibilities - so this might not fit specific needs.
btw I updated the zip - new revision.
hope that helps
best
Hello,
just testet the first zip and it works.
With the midi I just wanted to know for shure.
Take the next run now with the new zip.
Thank You
jue
Still thinking about how we can implement this to a numerology stack,
make hundreds of GateSeqs with a switches?.......
The best would be when we would have presets inside of the GateSeq to select from.... what about 256 presets??
Or make a library of exported GateSeqs each with one setting?
steff3
12-17-2008, 04:50 AM
ok, the zip-file should now also come with a simple MIDI player example.
>>
just testet the first zip and it works.
>>
:) good to know.
hope that helps
best
hello,
had the midiplayer running just wondering why are there two pitches to hear?
The first beat or something?
still thinking about the GateSeq:
We could have every lenght from 1 to 128 steps,
we could put every step on and of for a gatestructure,
we could shift the steps foreward and backward and
we could run the GateSeq foreward and backward.
So everything is possible.....
We just have to select....
best
jue
steff3
12-17-2008, 09:41 AM
Well,
why two pitches - because I wanted it this way :) just edit the fields (87 120 100 and 85 75 100 or so to your likings)
I think the last version uploaded does not act correctly if you rotate and then choose a new pattern - it will automatically be rotated .... (well, I think it would be better to have it default, is that better?)
about an implementation in Num - well, I would like a NoteSequencer implementation so to say. Where you can define 12 different articulations (like MIDI note, controller values for keyswitching) and where you get to fader rows - one for the articulation and one for the velocity (both are first set to default values)
perosnally I do not think it makes sense to shift steps - I think the shift/rotation should be on onsets ... And the number of steps is set with the n value anyways ....
hope that helps
hello,
sorry to say that, but your idea for a implementation to Numerologic is for me a little to static, all the parameters could be set by some Seqs from Numerology beside of the rythem paterns ( Just manually only ).
I think a little more about some kind of Patterngenerator like your maxpatch just to get the gates/rythems.
Something like the one you could find in the Nord Modular G2.
If you want to look, there is a working demo and a manual for download here:
http://www.nordkeyboards.com/main.asp?tm=Products&clpm=Nord_Modular_G2&clnmm=Information
Best
jue
Some very cool stuff guys! I'll definitely keep this in mind when I'm revising the GateSeq, for which I have several new features in mind... ;)
Cheers,
Jim
steff3
12-17-2008, 03:29 PM
So, I think I have all stuff now implemented as I wanted it :) (also updated the zip)
If you have comments or you encounter problems - let me know ...
Hope I will find the time to look into a Kontakt script anytime soon ....
hope someone finds that interesting ...
best
Hello,
just to let you know what Ideas are floading around in my head about sutch a generator:
1. Making a library of hundreds of exported GateSeqs with a lot
of euclidean algorithms for import to a new stack.
2. The GateSeq ( like all Seqs ) should have a internal
presetsystem that you can save your favorites just within
the module.
3. A euclidean algorithm generator just with an output
of the gate signal to get the rythem.
With a selection of the algorithm,
the possibility to reverse and to inverse and to rotate by step.
And for shure everything reachable by ParameterMod and differend
modes including °step on trigger°?!?
best
jue
steff3
12-30-2008, 09:46 AM
Well ...
http://www.performativespace.com/grap/k3previewK.png
Kontakt script is coming closer ...
hello,
is it necessary to explain, that I am very interessted? :D
best
jue
BTW: In the moment working on a tutorial about building up my RythemGenerators step by step in Numerology. Hope to have it on the
forum tomorrow.
Are you using your bike often this way?
Impressive jump, were is the driver?
jue
hello,
the tutorial could be found in the project section
best
jue
Hello,
any news from the Kontakt script ?
best
jue
steff3
01-13-2009, 07:12 AM
hello,
any news? - well, yes, it seems to work - the script alone is only generating a pattern (e.g. 101101011010) - this is then passed (via internal communication -> so definitely need Kontakt 3) to another script which plays the pattern and lets you change velocity ...
Into this second script I currently integrate a probability seq tool - so, I thought that I set the velocity with one 'ui table' and the probability with the other - and so velocity and probability is not linked .....
any thoughts on that?
best
Hello,
that is seems a good idea to have the same modularity with the scripts as like in Numerology.
First the rhythem, second the velocity, third some factory delay or sequence to process further and for the finsh the probability that you can reduce the number of notes/beats.
For me the probability should be a script for its self, that could be used in the chain were you like it.
Normaly I use a MIDI plugin called °Density° from Nuendo/Cubase for something like this but this could only set before sending MIDI to Kontakt.
best
jue
PS: I am a owner of Kontakt3 and Reaktor5
steff3
01-14-2009, 06:50 AM
>>
First the rhythem, second the velocity, third some factory delay or sequence to process further and for the finsh the probability that you can reduce the number of notes/beats.
>>
Well, as the factory scripts use MIDI note information (on receive and send - or input and output) and so on - therefore one would need to record the information first - as one cannot access it - or one needs to rewrite those scripts .... both options are rather inconvenient ...
so, technically it is possible but I am afraid that my implementation will currently not offer workflows for such things ...
best
steff3
01-14-2009, 08:03 AM
I posted a preview nki - which includes the script ....
http://ksp.performativespace.com
hope that helps :p
best
hello,
the basics are interesting, but I failed to get it to work with my own sounds.
Wanded to generate some HANGdrum rythems with it but even after changing the sample it does not sound like i exspected even with filter of.
Saving the euclidean part alone also does not help.
For me it seems that you must have all the three scripts together that they are working, but what is with differend sounds?
Anyway thanks a lot to make this possible.
best
jue
steff3
01-15-2009, 09:07 AM
Hello,
strange ... as I said the Euclidean algo just produces a pattern that is passed to the designer ... the designer should play whatever is on the key/note number you specify (the little value_edit field on the right side)
the filter script is only some extra stuff which is not needed or linked ...
but Generator passes the pattern to Designer and this one will play the pattern on the specified note (the little value_edit field on the right side) at the velocities that you specify - this happens on incoming notes (any pitch) - oh, the script currently waits until a new bar starts - so if you press the key it might wait for some time ... keep the key pressed ... :)
hope that helps
best
Hello,
found one more question:
How is the tempo set? From the host?
best
jue
steff3
01-15-2009, 12:09 PM
tempo - it is using the relative tempo values - 8th and 16th at the moment from what Kontakt is set to - via the Kontakt controls (metronome settings which you can show/hide with the big button at the upper icon pane) or from host ...
hope that helps ...
steff3
01-16-2009, 07:09 AM
Just as a note: I posted a preview2 (zip-file name was not changed) - mainly that one can turn off the 'wait for bar start'-sync ....
Also added a readme-file with information ....
hope that helps
best
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.