Page 1 of 1
Posted: 27 Sep 2010, 11:48
by caco
I have some new Usine modules to share if anybody wants them - Random Distribution and Random Array.
They are both based on the same code and generate random numbers. Random Distribution outputs a stream of data at either audio rate, data rate or the rate the generate button is triggered while Random Array outputs an array of user-defined length of random numbers when it is triggered.
Both modules provide their outputs as arrays so they can also be connected to Usine's own random generator's set array input.
Data can be generated using linear, uniform, triangular, exponential, bilateral, Gaussian, Cauchy or Weibull distribution. Minimum and maximum values can be set and some of the distributions can be manipulated further, e.g the mean and variance of the Gaussian distribution.
Download here
Let me know if you have any feedback or find any bugs. If people like them I'll upload it them to the add-on section and add a wiki page explaining exactly what parameter A and B do for each distribution type

Posted: 27 Sep 2010, 11:50
by 23fx23
thanks a lot!
Posted: 27 Sep 2010, 19:28
by senso
Hello cool job thanks a lot,
just a comment about the
How to install file in the package:
Code: Select all
HOW TO INSTALL:
Copy the files to: 'Usine/Files/Modules/User/'.
You can find more information about this user module in the Usine Wiki at www.sensomusic.com
in fact you can copy it in your personal library folder. It's the same, Usine is looking into this folder as well as the /module folder.
but it's better because you don't have to re-install it if you download a new Usine version.
Maybe you should change
Copy the files to: 'Usine/Files/Modules/User/'.
into
Copy the files into your library folder
Posted: 27 Sep 2010, 20:10
by multiphone
Yes very nice Job Martin !
Thanks again.
Very inspiring modules
Posted: 27 Sep 2010, 23:27
by headphoner
Can you give some patchs examples?
Posted: 28 Sep 2010, 08:57
by caco
senso wrote:Hello cool job thanks a lot,
just a comment about the
How to install file in the package:
Code: Select all
HOW TO INSTALL:
Copy the files to: 'Usine/Files/Modules/User/'.
You can find more information about this user module in the Usine Wiki at www.sensomusic.com
in fact you can copy it in your personal library folder. It's the same, Usine is looking into this folder as well as the /module folder.
but it's better because you don't have to re-install it if you download a new Usine version.
Maybe you should change
Copy the files to: 'Usine/Files/Modules/User/'.
into
Copy the files into your library folder
A nice hint Senso, I was wondering about this myself as i have a lot of user modules I have created for myself and was wondering what to do when upgrading to a new version of Usine. Putting them all in my library folder would solve that
Headphoner - I am really busy this week but if I get any time I will put together some examples. One of my plans was to generate an array of random numbers to use as a probability matrix for sequencing drums. For example generate an array containing 16 random numbers where each one represents one 16th note in a bar. Then set a threshold for each 16th note and if the random number is above the threshold then the drum sounds. By controlling the thresholds you can create drum beats that sound semi-random yet still kind of repeat. So for the kick drum set low thresholds for the first, fifth, ninth and thirteenth value so that it is very likely to play on each beat, although not guaranteed so every so often a beat gets dropped. Then set high thresholds for the numbers in between and occasionally you will get an extra kick in your bar. You can then do something similar for snares, high hats, toms etc. I have been using the Ruby programming language to do this before to generate MIDI in realtime and you get some really interesting beats generated.
Posted: 28 Sep 2010, 10:32
by headphoner
Thanks !
it's a good example.
Posted: 01 Oct 2010, 18:39
by caco
Since there have been no bug reports I am presuming my code is working well so I have uploaded the user modules to the add-on section and written the wiki pages
