-
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
-
Simon2
I'm trying to generate the higher order chebyshev polynomials. I have the first 12 from a book. Supposedly higher order polynomials can be generated from the relationship
Tk+1(x) = 2xT(x) - Tk-1(x)
could anyone tell me how to plug some numbers into that formula?
Simon
-
Simon2
Just something I've been fooling around with
http://dl.dropbox.com/u/6418896/warbler.mp3
I'm using a writing tablet - you can get some great sounds if the x and y axis are controlling different note pitches, but it becomes very difficult to play so I'm not doing that here. -
Simon2
I've been making a sequencer that reads out of 2 arrays - 1 for pitch, 1 for volume. What I would like to be able to do is connect 2 or more steps together to make longer notes. This would have to somehow override what's coming out of the tables. I'm stumped - any ideas would be appreciated. I've attached a simplified version - it just shows the concept. The actual sequencer has 32 steps and a few features (variable length, stores sequences etc.)
-
Simon2
Spent hours trying to figure this out - maybe it will save someone some time. I'm using Osculator to route a Wacom tablet into a macbook. The real secret is that you have to have the caps locked to set up osculator, and to run the program on pure data.
there's a slight mistake in the annotation - it's the x and y tilt that isn't recognized - the x and y axis will both need to be scaled, as they are teeny numbers
Simon
-
Simon2
I'm trying to make a simple abstraction that will generate a hanning window of a chosen size. This almost works, but the resize message doesn't immediately recognize the $0 argument for the array. What's wrong?
-
Simon2
I'm working through Johannes Kreidler's book on Pd. I don't understand why the size of the array for windowing is set at the phasor rate * 22050. It seems it should be * 44100 - that doesn't work though. Can anyone tell me why?
-
Simon2
Is there an object in Pd that will reset all floats to zero? Is there any simple way to do this?
-
Simon2
well, imagine a sample of someone screaming, being played backwards through a granular synthesizer - if you did come up with some kind of notation for this it would be so complex it wouldn't make any sense.Probably the best you could do would be to draw it out as a picture, or a flow chart.