Changing phasor freq at phase wraparound
Yeah, it's possible to do exactly as you require for slow moving signals, by sending a [0( to the right [phasor~] inlet and forcing its phase to 0 on a transition. Problem is that this operation is block-accurate not sample-accurate so for fast signals comparable with the audio block size some dirty clicking will happen. [vline~] on the other hand can construct nice accurate time domain lines that aren't block quantised.
The lowpass used with [sig~] is a little trick to slew the control signal and make it more like an analog synthesiser. You could also use [line~] here with a 5-20ms follow time.
A signal that moves fast contains higher frequencies than a signal that moves slowly.
Let's say we have a signal that moves from 0 to 3 in 4 samples.
A perfectly linear function like a wire outputs the same number that
goes in, so for an input that goes {0, 1, 2, 3 } the output
would also go {0, 1, 2, 3}. Easy.
Now if we replace the wire with a function that makes the output be the average of the current value and the last two values, what happens? A low pass filter works by averaging together previous inputs, so it has to have some kind of memory. If the signal was at 0 to begin with then let's assume previous memory locations will contain 0.
out[0] = (0 + 0 + 0 )/3 = 0 same as before
out[1] = (1 + 0 + 0 )/3 = 0.33 now our output moves more slowly
out[2] = (2 + 1 + 0 )/3 = 1 trying to catch up
out[3] = (3 + 2 + 1 )/3 = 2 the averaging acts like an 'inertia'
out[4] = (3 + 3 + 2 )/3 = 2.66
out[5] = (3 + 3 + 3 )/3 = 3 finally we get there
It took us 6 steps to get to where we would have got in 4 steps.
This way of thinking about filters makes easy sense, but to really to understand you can read about how filters work below, but you need to sit down and scratch your chin over the maths. Millers explanation is in Argand/pole form which I find more difficult, Smiths examples include more block diagrams and C code that are more instructive to programmers imo.
http://crca.ucsd.edu/~msp/techniques/latest/book-html/node140.html
http://ccrma.stanford.edu/~jos/filters/Simplest_Lowpass_Filter_I.html
Composition with Pd - 101
A really extra simple music tutorial for complete beginners. Make a 4 track sequencer that only uses selects and messages. As it's for a workshop there's a pdf you can grab, which may be updated with acrobat links at some point.
http://www.obiwannabe.co.uk/html/music/musictuts/compose1/composition1/composition1.html
best,
Andy
2 way communication w/Paradiddle?
Yep, a [netsend] should do the trick. There's heaps of network goodness in Cocoa so you should find something to pick up your packets. Stick to UDP for simplicity.
http://developer.apple.com/reference/Cocoa/idxNetworking-date.html
But these are mostly abstract classes for URLS, services and cookies fwict
You want a simple socket in your Paradiddle gizmo,
I don't know Paradiddle , maybe there's what you need there already, called something like NetSocket
All things indicate you want something thats a wrapper to a BSD socket.
Discusses
http://lists.apple.com/archives/cocoa-dev/2005/Jan/msg01696.html
Source of simple non forking server you could hack in
http://www.oreillynet.com/pub/a/mac/2002/12/26/cocoa.html?page=3&x-maxdepth=0
March sound effects
New machines
http://obiwannabe.co.uk/html/toys/machineomatic/machine-o-matic.html
And I was playing about with different short energy impulses for explosions, so
Fresh Guns
http://obiwannabe.co.uk/html/toys/gunsulike/gunsulike.html
Bombs
http://obiwannabe.co.uk/html/toys/bombfactory/bombfactory.html
and Fireworks
http://www.obiwannabe.co.uk/html/toys/fireworks/fireworks.html
I think you need [ead~] for some, sorry.
Andy
4-Point Polynomial Interpolation.. care to explain?
Yep, all four points are used, the points are 4 adjacent sequential, like x, x+1, X+2, x+3
The extra 3 samples in an array for [tabread4~] are there to make this work for
the last value in the table. I don't understand this, because the most useful interpolation afaics is "wraping", ie x0+L+1 = x0, x0+L+2 = x1... for a table length L
Some Pd objects actually get sniffy about being passed a table with the wrong number of elements and won't read from it.
see,
http://crca.ucsd.edu/~msp/techniques/v0.08/book-html/node28.html
YOURPDPATH/doc/3.audio.examples/B04.tabread4.interpolation.pd
Anyone for a nice cup of tea?
Okay, in that case theyre here. I'm still missing the windows .dlls though....
http://obiwannabe.co.uk/html/toys/missing.html
cheers,
a.
Anyone for a nice cup of tea?
I will post them up when I get windows .dll versions LB,
Anyone get em?
btw I put up this
http://www.obiwannabe.co.uk/html/toys/transloss/transloss.html
as it got a good response on the list, it's not really a "synthesiser"
because it only makes one kind of sound which is an ever changing
sequence. But it sounds cool I think.
Hey - check out my avatar! It works! teh k3wl!
Miller Puckette's book The Theory and Technique of Electronic Music
It's going to be an essential reference work, up there with Dodge and Jerse and Roads,
and I can't wait to hold a real copy.
But this is the one I'm really waiting for....
http://www.maths.abdn.ac.uk/~bensondj/html/maths-music.html
GEM outputs?
@obiwannabe said:
http://www.yourmachines.org/tutorials/pdvideolan.html
Check out Claudes latest DVD "Soft Rock"
via torent
http://publiclibrary.metamute.org:6969/index.html
That's made with GridFlow, not Gem
New man in new world
Thanx neko but I'm afraid it's impossible to create or read any ead~ object with this extended version... At least with the windows ' version. My goal is to make run the patch on the link below
http://obiwannabe.co.uk/tutorials/html/tutorial_bubbles.html
and let fly some funny sonic bubbles °o°°O0