Welcome to %s forums

BrainModular Users Forum

Login Register

Random Distributions

Discussions about add-ons, announcements
Post Reply
caco
Member
Posts: 306
Contact:

Unread post by caco » 27 Sep 2010, 11:48

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.

Image

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 :)

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 27 Sep 2010, 11:50

thanks a lot!

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 27 Sep 2010, 19:28

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

multiphone
Member
Posts: 303
Contact:

Unread post by multiphone » 27 Sep 2010, 20:10

Yes very nice Job Martin !

Thanks again.

Very inspiring modules
HB

Lines / Points / Squares

http://www.hervebirolini.com/


caco
Member
Posts: 306
Contact:

Unread post by caco » 28 Sep 2010, 08:57

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.


caco
Member
Posts: 306
Contact:

Unread post by caco » 01 Oct 2010, 18:39

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 :)

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests