Forums > Gen

[sharing is for asswipes] anaechowat?! (a unique delay made in gen~)

April 4, 2014 | 8:07 pm

HA! Hullo! sorry to pollute your forums recently. i’s just makin this thang and then distracting myself during breaks by getting too participatory sometimes.

but i swear! i have a productive contribution too! :D

This is an analog-esque stereo delay(with added windowing, ping-pong, noise-modulating source, and butterworth style filter options) built in gen~.

someone probably already posted this or many things exist like this already, but it was fun to build from scratch(errr… uh… at the sample-level in gen~ that is), hence fun to share.

was reading through Eric Lyon’s book:

as well as rereading the filter chapter in Charles Dodge:

and Musimathics Vol. II by Gareth Loy.

I been gen~erating all sorts of crazy thangs thanks to these sources(Eric Lyon’s book came out before gen~ but is actually quite applicable to gen~ as well).



April 5, 2014 | 12:19 am

Very nice, but that ping-ponging about was not good for my hangover :-)

April 5, 2014 | 1:19 am

Oh yes. I do like that you keep on polluting the forums – don’t stop!
That is indeed a lovely gen-erated share!

April 6, 2014 | 12:01 pm

@foldh ha, true, pingpong is much nicer on a hempover, then again if smoking weed is great for hangovers and pingpong is great for hempovers, and feeling great in general can sometimes lead back to drinking(out of celebration), then here we have the mathematical formula for perpetual surrealism :D

Thanks to both of you for checking it out! More to come in the future(got an pFFT one that delays/feedbacks bin energy(<- that’s just my nontechnical way of describing it :p) and sounds a lot like Eric Lyon’s thresher~… will post it eventually…). Cheers!

April 6, 2014 | 2:37 pm

this is exactly what I needed.

April 6, 2014 | 2:44 pm

It would be completely awesome if you could go into the gen~ and super-comment all the different elements in there, so I could grok this patch, Raja…

April 6, 2014 | 5:11 pm

this is the best i can do for ya.
the playback and recording stuff is my own math, not worth explaining…

the rest is encapsulated so you can pick out the parts(i also didn’t comment the ‘sinwindow’ subpatcher, basically it’s a sine envelope boosted by 8 so it clips an 1/8th of the way down the s-curve portions… like a trapezoid envelope with a slightly s-shaped curve… it goes to unity like a regular envelope but has a steeper-than-sine attack/release… again my own math(sounded fine to me for general purpose)… you might want to create something different there…)

most of the commenting is in the ‘butterworthlohipass’ subpatcher.

edit: uh… maybe some other things worth explaining – the data buffer is set at 96000 samples in length because sometimes i want 1 second of delay running at 96k, but many times i run at 48k, in which case, 2 seconds of delay is even better :D
…and there’s some extra crap near the freq input of mrs. butterworth <-;D
(moving-average filter (0.5*(x(n)+x(n-1)) to smooth fast freq changes… i might’ve created it wrong, but seems to work :p)

2ndedit: did you all know that you can’t put params inside a gen~ subpatcher? i was not aware but the error message in the max window made it instantly clear. it’s probably in the help doc somewhere… good to remember :)

3rdedit: and now i see i got sidetracked while adding ‘comment’ attributes to help explain the inlets… meh… i should move on, got alot of other tricks i need to try… hehe :)

hope it helps.


April 6, 2014 | 7:05 pm

raja is back to normal operation mode.

April 6, 2014 | 9:12 pm

For now >;D Muahahahaaa-*cough* *wheeze* *cough*-haha!
(trying to infuse a little more positivity into the mix of my general schizophrenia anyways)

re: "did you all know that you can’t put params inside a gen~ subpatcher?"
i didn’t explain that right… i meant inside a regular unsaved ‘gen’ subpatcher(from within the main gen~ patch)…
and now i see params in abstractions described here:

didn’t realize… yet… creating inlets for the regular param object into the ‘gen’ subpatch, and not saving the abstraction, as i did in my second version of the patch posted just above, seems simpler(…then again… not so modular)… ah well… good to have options :)

May 30, 2014 | 12:02 pm

Nice work here Raja, as usual.
Wondering if you’d be okay letting me port this to a M4L device (full credit to you and your work, of course)? I’m looking to get into gen for some of my work, and starting from someone else’s hard work is always easier. Standing on the shoulders of giants and whatnot.


June 30, 2014 | 5:09 am

Any chance for a windows version – I want to see

Viewing 11 posts - 1 through 11 (of 11 total)