unusual noise generators

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

Re: unusual noise generators

Postby martinvicanek on Sun Mar 18, 2012 3:08 pm

Here is an illustration of two uncorrelated random sequences:
UncorrelatedRandomSeq.png
UncorrelatedRandomSeq.png (31.26 KiB) Viewed 806 times

I took two instances of the popular portable quick and dirty whitish pseudo random number generator with different seeds. "Pseudo" means that the random sequence is in fact strictly deterministic and will be the same each time it is triggered. With different seeds (= starting points) you will get different sequences, even though the algorithm is otherwise identical. Good random number generators will produce white noise no matter what seed you choose (the one in the image may not be as good).

So once you have two different random sequences with the same spectral characteristics you can lowpass them etc.
martinvicanek
essemilian
 
Posts: 306
Joined: Sun Mar 13, 2011 1:15 pm

Re: unusual noise generators

Postby tester on Sun Mar 18, 2012 5:51 pm

I see. Okay, I will check that when I'm on my SM computer, thanks.

//edit:
Just checked. Works fine. Thanks for additional explanation on that.
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
tester
smanatic
 
Posts: 688
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Re: unusual noise generators

Postby tester on Thu Mar 22, 2012 1:52 pm

Here is another small thing. I added a switch to select between common and different seed for left/right channel noise. Common seed will produce mono sound, different seeds will make independent channels. Works fine when turning on and off the soundcard. Now - how to reset the sound generation on seed switch, without turing off/on the soundcard? Like hard resync node.
Attachments
random-workflow.osm
(95.8 KiB) Downloaded 50 times
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
tester
smanatic
 
Posts: 688
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Re: unusual noise generators

Postby oddson on Thu Mar 22, 2012 7:58 pm

'Clear Audio' primitive will do exactly this -- restarts all running audio processes.
oddson
wiki guru
 
Posts: 3883
Joined: Sun Jul 03, 2005 6:44 pm

Re: unusual noise generators

Postby tester on Thu Mar 22, 2012 10:24 pm

Okay, thanks for advice!
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
tester
smanatic
 
Posts: 688
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Re: unusual noise generators

Postby oddson on Fri Mar 23, 2012 12:43 am

You may prefer to use an external seed instead (see my attachment above) as Clear Audio will disrupt everything and not just restart the noise generators.
oddson
wiki guru
 
Posts: 3883
Joined: Sun Jul 03, 2005 6:44 pm

Re: unusual noise generators

Postby tester on Fri Mar 23, 2012 12:58 am

How the external seed will change anything? What I need to reset on seed change (from different per channel to common for both) - is the state of these noise gens. Otherwise - even if I change the seed during playback - left and right channel will not synchronize (no mono sounding output so to speak). The concept is to switch between random patterns and one pattern that can be spatialized manually via L/R delay. Am I missing something?
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
tester
smanatic
 
Posts: 688
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Re: unusual noise generators

Postby Chaoslala on Fri Mar 23, 2012 11:08 am

I like to use it like this !:

"streamin in;
streamout out;
float rand;
stage(0){rand =0.1001;}
stage(2)
{ rand =in;
rand = rand*3;
rand = rand - (rand>2)&1;
rand = rand - (rand>1)&1;
out = (rand*2 -1)/20;
}"
strangly it preserve the note of the input and make a little overdrive.
Be carefull with the output volume if you try !
Chaoslala
essemer
 
Posts: 31
Joined: Sat Jan 21, 2012 2:24 pm

Re: unusual noise generators

Postby oddson on Sat Mar 24, 2012 4:30 pm

tester wrote:How the external seed will change anything? What I need to reset on seed change (from different per channel to common for both) - is the state of these noise gens. Otherwise - even if I change the seed during playback - left and right channel will not synchronize (no mono sounding output so to speak). The concept is to switch between random patterns and one pattern that can be spatialized manually via L/R delay. Am I missing something?

No... I was missing something. I was thinking about de-syncing only and not re-syncing.

And my reference to seeding was for a schematic I never posted... :blush:
oddson
wiki guru
 
Posts: 3883
Joined: Sun Jul 03, 2005 6:44 pm

Re: unusual noise generators

Postby martinvicanek on Sat Mar 24, 2012 6:35 pm

This is how I would implement an external seed:
RNGwithExternalSeed.png
RNGwithExternalSeed.png (20.63 KiB) Viewed 596 times
martinvicanek
essemilian
 
Posts: 306
Joined: Sun Mar 13, 2011 1:15 pm

Re: unusual noise generators

Postby tester on Sun Mar 25, 2012 11:07 am

Meanwhile I have discovered something else. It's a conceptual randomization for LFO based on trigger-shooter with delay and dezippers (not finished yet), but is fast, provides somewhat good sound values (see the FM example) and at least I know which parameters are under my control ;-). Also - I can put the stream of greens through some "primitive" calculations that I used before (like linear to log random spread), so there are various directions to check.
Attachments
random-lfo-on-primitives.osm
(32.13 KiB) Downloaded 55 times
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
tester
smanatic
 
Posts: 688
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Re: unusual noise generators

Postby tester on Tue Mar 27, 2012 12:09 pm

So here is my random stereo generator for FM and AM applications (schematic shows both example settings).

It is fast, made on primitives, various modifications can be added without SM coding knowledge (like random spread conversion/type). One thing is "cheated" here a little bit, but it should not be a problem. "Speed". While input values are in Hz, output is in miliseconds on a integer basis (both, for counter and dezipper). The higher "speed" value, the greater frequency step. But - it is for slow speeds, so this inaccuracy is not so important. Besides - this is random LFO. "Speed" represents how often generator should change it's value, but - vaules to change are in random range and they are passing through dezipper to become a signal, thus - it is still randomness, although triggered on a regular basis. The fact that generators have common basis - may serve for better output - more pleasant, because this is what it is about - pleasant randomness/irregularity. And this one is random and not just irregular (at least if the SM random primitive uses some random basis).

I resigned from "common seed", because after playing with delay as an equivalend of "phase offset" - I came to the conclusion that this is not needed for my little project.
Attachments
random generator.osm
(4.17 KiB) Downloaded 67 times
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
tester
smanatic
 
Posts: 688
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests