logarhitmization of randomizer

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

Moderators: electrogear, exonerate

logarhitmization of randomizer

Postby tester on Sat Feb 18, 2012 3:28 pm

I assume that SM randomizer primitive has linear spread of random values. So, when generating random freqiencies with octave-related equal spread (logarhitmic - same amount of hits per octave than per each band of same Hz; thus in lower range there will be more hits) - output requires some modification. I did this by converting Rand output into decibel mode, and then added two parameters. Highest generated frequency and how many octaves down the Rand should cover (thus it produces lowest generated frequency too).

Could someone check if my thinking is correct?
Or is there simpler way?
Attachments
log-randomizer.osm
(2.02 KiB) Downloaded 48 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: 690
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Re: logarhitmization of randomizer

Postby martinvicanek on Sat Feb 18, 2012 6:11 pm

Looks correct, however I think it can be simplified. Here is my variant. Note that pitch is a logarithmic frequency scale. ;)
Attachments
log-randomizer2.osm
(1.99 KiB) Downloaded 47 times
martinvicanek
essemilian
 
Posts: 306
Joined: Sun Mar 13, 2011 1:15 pm

Re: logarhitmization of randomizer

Postby tester on Sat Feb 18, 2012 6:59 pm

Thanks. Is your example generating random frequencies on continuous log scale or random notes from 12-TET scale?
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: 690
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Re: logarhitmization of randomizer

Postby martinvicanek on Sat Feb 18, 2012 7:08 pm

As it is it generates frequencies on a continuous log scale. Although you could just as well round the pitch to the nearest integer semitone and convert to frequency from there.
martinvicanek
essemilian
 
Posts: 306
Joined: Sun Mar 13, 2011 1:15 pm

Re: logarhitmization of randomizer

Postby tester on Sun Feb 19, 2012 9:46 am

Okay, thanks.
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: 690
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest