-
Simon2
Here is an abstraction for a 2 step markov chain. It's using the [coll] object and is largely based on ideas from here http://algorithmiccomposer.blogspot.com/2010/05/algorithmic-composition-tutorial-markov.html
it has a time out function that works quite well if you give it discontinuous bits of information - it will end up playing back phrases. The rhythm thing that's included with the help patch isn't great, but it gives some sort of idea.
Simon
the save function is very buggy!!!!
just got rid of the save function altogether - use [textfile] or a message box or something
...the help patch needs a help patch ... I just added a value to the rhythm sequence to keep if from stalling. If it is stopping it is because it is calling up an index that doesn't exist. You can see which index is being addressed inside of the [marvov2step] abstraction - it's the [$1-$2( at the top of the reader subpatch.
-
Simon2
Here is an abstraction for a 2 step markov chain. It's using the [coll] object and is largely based on ideas from here http://algorithmiccomposer.blogspot.com/2010/05/algorithmic-composition-tutorial-markov.html
it has a time out function that works quite well if you give it discontinuous bits of information - it will end up playing back phrases. The rhythm thing that's included with the help patch isn't great, but it gives some sort of idea.
Simon
the save function is very buggy!!!!
just got rid of the save function altogether - use [textfile] or a message box or something
...the help patch needs a help patch ... I just added a value to the rhythm sequence to keep if from stalling. If it is stopping it is because it is calling up an index that doesn't exist. You can see which index is being addressed inside of the [marvov2step] abstraction - it's the [$1-$2( at the top of the reader subpatch.
-
Simon2
Hi - I'm just wondering if anyone knows what the last number in a floor function is for. [expr~ floor(($v1*8), 0)] works, but it doesn't seem to matter if the last number is 0 or 1 or whatever - it just rounds down to the nearest integer - am I missing something?
-
Simon2
Is there any good way to continuously write into, and then read out of an array? I'm fooling around with guitar effects - pitch shifting etc... I've had some luck with continuously writing into small arrays (around 1000 samples) and then playing back multiple copies out of phase, but there is a lot of clicking. Just to try to be clear... in analog terms it would be similar to having a record head in front and a play head behind...
Simon
...this is as clear as mud...I've been using a metro to write into the same array over and over and am reading out of it with a [phasor~] at an altered speed.
-
Simon2
Hi - I'm posting this because it took me so long to figure out. It's an abstraction for dragging objects around round objects in Gem. It calculates the angle of the X and Y coordinates of the mouse and outputs new coordinates with the same angle but at a fixed distance from a defined point. - Check out the help patch.
Simon
I think it works...
-
Simon2
just testing a concept - it basically works - balls bump into each other and trigger sounds. The patch is a bit of a mess - I didn't mean to take it this far - kept adding bits. There are a couple of abstractions so put the whole folder in your path and load [collision_main]. (The [up_and_down] abstraction is the best part of the whole thing.)
Simon
If you have problems with the zip file please let me know - I'm using a mac computer - as far as I know this is just a regular zip file.
-
Simon2
I'm trying to set up a basic collision detection patch - (move 2 objects around the screen - when they occupy the same space something happens.) I'm using the values I feed into [translate] to indicate the position of the objects. Is there any way other than using [translate] to know where objects are?
Simon
-
Simon2
How can I open 2 instances of pd at the same time? (I'd like to use 1 for audio and 1 for gem.) I'm using a MacBook (10.6.4) - any help would be appreciated.
Simon