If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
random number generator - again
7 posts
• Page 1 of 1
random number generator - again
Here is what I need.
I need a random number generator, but... In the schematic - there are multiple units, so each unit should have:
a) different initial value (differences between units)
b) different initial value on each start (differences betwen loads)
Now the problem is following. This should be in blue/code. There is no big deal with live usage, but problem begins when randomization will be used for audio export on DAW. Right now, the closest thing I can get is - to have (b) - just by seeding with green RND on timeseed, but can't get (a) to work.
Why blue/code? Sample accurate syncing is the answer. Plus - can't do the design on green timers, because they don't work on audio export in DAW.
My guess is to make
a) one global green RND with timeseed...
b) ...that creates some rigid (non-time-based) sequence of different numbers, each sent to individual unit as a seed (and another green RND activator, that sends the actual seed to blue gen?); but maybe I'm wrong.
Any ideas how to make it?
Plus - second part of this task - would be to initialize blue RND outputs - only, when input blue trigger is received. So the output is not a continuous noise, but a sequence of blue readouts, activated via blue trigger. No green ticks nor timers.
I need a random number generator, but... In the schematic - there are multiple units, so each unit should have:
a) different initial value (differences between units)
b) different initial value on each start (differences betwen loads)
Now the problem is following. This should be in blue/code. There is no big deal with live usage, but problem begins when randomization will be used for audio export on DAW. Right now, the closest thing I can get is - to have (b) - just by seeding with green RND on timeseed, but can't get (a) to work.
Why blue/code? Sample accurate syncing is the answer. Plus - can't do the design on green timers, because they don't work on audio export in DAW.
My guess is to make
a) one global green RND with timeseed...
b) ...that creates some rigid (non-time-based) sequence of different numbers, each sent to individual unit as a seed (and another green RND activator, that sends the actual seed to blue gen?); but maybe I'm wrong.
Any ideas how to make it?
Plus - second part of this task - would be to initialize blue RND outputs - only, when input blue trigger is received. So the output is not a continuous noise, but a sequence of blue readouts, activated via blue trigger. No green ticks nor timers.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: random number generator - again
This one will probably produce different seeds. On each load values are different, plus - different values between each other.
- Attachments
-
- random-experiments.fsm
- (26.22 KiB) Downloaded 1046 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: random number generator - again
Technical question. Is the "pink noise" an equivalent of "regular spread of hits throughout octaves"? Like:
the same average of hits in 1x-2x range,
the same average of hits in 2x-4x range,
the same average of hits in 4x-8x range
?
the same average of hits in 1x-2x range,
the same average of hits in 2x-4x range,
the same average of hits in 4x-8x range
?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: random number generator - again
Compact version of seed generator, useful if there are many receivers.
Just copy/paste wireless modules, and each one will generate different out.
Just copy/paste wireless modules, and each one will generate different out.
- Attachments
-
- random-experiments-001.fsm
- (26.26 KiB) Downloaded 1017 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: random number generator - again
Added slow ticker. If you ask what for - well... There is a small thing related to code/asm boxes. When they reset during operational period (and they tend to reset if you change user values inside your app) - they use initial seed, and thus - they use the same pattern if seed is not changing over time.
How to use it with random number generation in blue -you will find here:
http://synthmaker.co.uk/forum/viewtopic ... =15#p90965
How to use it with random number generation in blue -you will find here:
http://synthmaker.co.uk/forum/viewtopic ... =15#p90965
- Attachments
-
- random-experiments-002.fsm
- (564 Bytes) Downloaded 1030 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: random number generator - again
tester wrote:When they reset during operational period (and they tend to reset if you change user values inside your app)
The resets (jump to stage(0)) will occur whenever anything happens that changes the routing of streams - so usually selectors and multiplexers are the culprits.
If you can identify the particular controls causing the resets, you could maybe have them send a "new seed" trigger just before the switching happens, to prevent the same number sequence from recurring.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: random number generator - again
There are a lot of selectors and multiplexers
I think the "ping" on/off trigger will be better here. New random pattern will be generated after on/off switch, while old pattern will remain if you don't reset it. Two functions at once.
*
Funny thing - restoring green values from blue streams instead of doing everything on green, and then sending to blue. But sometimes is the only way to have proper syncing on what you hear..
I think the "ping" on/off trigger will be better here. New random pattern will be generated after on/off switch, while old pattern will remain if you don't reset it. Two functions at once.
*
Funny thing - restoring green values from blue streams instead of doing everything on green, and then sending to blue. But sometimes is the only way to have proper syncing on what you hear..
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 80 guests