Forums > MaxMSP

[sharing is noise!] Gen~ LCG Oscillator/Noise

February 22, 2013 | 1:39 am

Hello Forum!
Today i got some bad conscience because i contribute so little to this forum and accidentally stumbled upon some great noise, so i thought, come on, take some time and put it on the forum.. so here you are!
I actually wanted to create audio white noise that is deterministic and repeats at a certain frequency. Obvious solution would be sampling, but i thought this could get interesting and i could learn something if i create something like a Linear congruental generator in Gen.
The result is a big surprise to me at least. I forgot about my initial plan (always good) and played around with what i’ve patched together there. I don’t know if it’s deterministic(maybe tomorrow, it’s quite late at night here), i guess not. There is a big variety of glitchy sounds, quite ok white noise and relatively clean oscillator sounds coming out of it. DC blocking, upsampling. etc is planned and makes a lot of sense i guess. replacing params with signal inlets could get interesting too.
I hope sombody has some fun with this! feedback very much appreciated!

– Pasted Max Patch, click to expand. –
– Pasted Max Patch, click to expand. –
February 22, 2013 | 3:37 am

hey, this is fun!
i founds a setup that sounds just like a chihuahua begging for peanuts…

February 22, 2013 | 2:19 pm

very nice

February 22, 2013 | 2:58 pm

very beautiful ! i don’t understand at all how, but it sounds nice.

February 22, 2013 | 3:16 pm

lovely – very hackable too.

February 22, 2013 | 5:04 pm

very nice!

February 22, 2013 | 7:24 pm

Thank you all!
Sorry about the blah blah about determinism, it’s been really late. what i meant is that there is at the moment no way to make it really repeat relieably, or actually reinizialise it. Maybe you noticed that some presets sound different depending on what happened before i guess.

I think i woun’t upsample, but put in a [dcblock] since this is most useful and w/o upsampling it sounds a lot thicker and nastier. (might that be stupid?)

i’ll post it if i can get something useful going.
thanks again!

February 24, 2013 | 1:18 pm

I have no idea what the hell this is doing but i just spent 25 minutes messing with this crazy thing and being wildly entertained. Nasty and fun little patch. Bravo.

March 4, 2013 | 8:37 pm

Hi, fabulous patch, makes it easy to create some wonderful noise!

March 5, 2013 | 11:05 am

Hello again!
Thank you all a lot, it makes me really happy that you have fun with this. Below this you find an updated version. This is what has chaged:
-cleaned up a bit
-Documented it a bit
-Packed in a Poly, so you can easily upsample if you want
-Added the possibility to drive the whole thing with a sinewave or white noise instead of Phasor only
-[tanh] at the end of it for some softclipping
-signal inlets instead of params
-Different control over parameters

Regarding all the "improvemts", i have the impression it makes most sense if you experiment with it yourself, since if you are working in the business of harsh noise, you maybe won’t consider some of them improvements. I just felt should post a propper, clean version.
With different control over parameters i mean i have tried to relate the initial Parameters in a way that makes it easier to use this as a "musical"
oscillator. That should mean that the parameters rather influence the timbre instead of pitch+timbre. Of course by that you loose some control, some part of the value-space gets lost, but of course can still be accessed through directly setting up the values after the multiplications. I mean you can of course rip it all apart, that’s what it’s all about here right? I just tried to make it more useable for all-day-"want to build a synth" applications. I strongly encourage anyone interested to find other possibilties to correlate the values in a meaningful way, since this seems really hard here. It just seems any value makes sense in combination with the right other values for the other parameters. If you find out somthing please let me know, at the moment i am even considering writing something about this little patch or about the LCG algorithm and it’s potential in oscillator applications. Again, hope you have fun,

Main Patch

– Pasted Max Patch, click to expand. –

Poly~ guts, "LCGosc.p.maxpat"

– Pasted Max Patch, click to expand. –
March 5, 2013 | 2:02 pm


March 5, 2013 | 2:43 pm


March 5, 2013 | 2:54 pm

merci! sorry, there was some silly stuf about the realtion of the patch to the LCG foruma in the gen subpatch. In this one it’s documented correctly.
Also the order of dcblocking and clipping seemed stupid and is changed now. Here you go again:
LCG.p.maxpat, the poly~guts

– Pasted Max Patch, click to expand. –
October 4, 2013 | 8:25 am

Thank you very much for sharing!
This patch sounds awesome!

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