From the original SynthMaker forum (2004–2014), with its members’ names and dates.
tuz ·
hello again,
i made a module where you can choose a lower range integer (>= 0) and a higher range integer (>=0) and it will put out numbers within that range. i tested it and it seems to work this time around. 😀 now, if you would be so kind and do some testing, maybe look inside, and see if there's anything wrong I would really appreciate it a lot. you can tweak it a little to make the numbers loop. 😉
in it's core, it takes amounts between 0.01 and .99 and converts them to integers within the initially specified range. 🙂
http://home.comcast.net/~t.uz/fishranger.zip
let me know what you think.
thanks
EDIT: i put the fishranger and el seedo speedo to use with the lovely sdp. algorithm at work. xoxos would be so proud. 😀
may not be the best thing out there, but makes me proud.
hehe i have no gui skills btw if you haven't realized yet. :p
here's the link:
http://home.comcast.net/~t.uz/elsdpfishseed.zip
tuz ·
bump. 🙂
i just edited and updated the whole post in case anybody looked at it before and saw my horrible earlier excuse for a module. :p
not that this is any different but still. :p
sorry for the bump. really excited with the possibilities of sm that's all.
infuzion ·
The fishranger is useful. I do have some ideas to make it better:
1) Get rid of the seed. Right now, random isn't truely random; it is a dispersed sequence of numbers; sooner or later you'll get repeats because your seed doesn't change. If you leave the seed 0, Rand will use system time, which makes the output much more random.
2) Get rid of all the Boolean, Float, Ints that only have one line in & one out. All they do is take up memory+CPU, & makes schematics to read IMHO. I don't think they help in any way (I may be wrong?). If you want a readout that isn't part of the GUI, just connect one temporally & remove it before releasing.
3) Either group & label, or collect in sub-modules & label. It will take me a while to figure out what does what & why. A best practice is to collect things that serve one purpose & label it what it does. You'll be glad when you reopen a program after a few years that you've commented well, & others who try to read it will appreciate your comments.
tuz ·
thanks a lot infuzion. 🙂
i will go ahead and make the changes that you suggested. didn't even know those one in/out ints/floats could raise cpu. i will definitely change them. as for the seed, it's really there just to see what fishranger can do. i will remove it so people can feed numbers to it from whatever source they want. if you look at the second download at the end of my post, it is removed and replace by another source anyway. 🙂
i don't know about labeling though. i'm too lazy. :P ok ok. will do that too. 🙂
exonerate ·
yeah man i think the fishranger is really useful 🙂 i love a bit of randomness,
and with your module it make it easy to create random number between any range, so yeah i really like it.
and your other module is cool even though its random it can create some nice beats 🙂
cheers 😉
tuz ·
exonerate wrote: yeah man i think the fishranger is really useful 🙂 i love a bit of randomness,
and with your module it make it easy to create random number between any range, so yeah i really like it.
and your other module is cool even though its random it can create some nice beats 🙂
cheers 😉
thank you for the kind words exonerate. 🙂
the beat thing is random, but it repeats its random values every user defined cycle up to 128 cycles. 🙂 so by limiting it to sdp's range (notes 48 to 59) you can get some sensible beats in the end that repeat.
if you want for example a random phrase between notes 60 and 66 all you need to do is set the range to 60 - 66 and use the same technique that i used for the sdp on the instrument of your choice.
you can divide the ranger's output values in order to manipulate the outgoing signals to your liking, since it's only from 0 up to infinity. Just in case you want less than 0, or floats.
so far it works fine and i haven't seen anything outside the ranges. 😀
MyCo ·
Why does this module have so many components? The only thing you need to do ist something like this:
out = (upper-lower) * RAND/32767 + lower
When out type is integer, you get the same results.
tuz ·
MyCo wrote: Why does this module have so many components? The only thing you need to do ist something like this:
out = (upper-lower) * RAND/32767 + lower
When out type is integer, you get the same results.
hehe. i know. something as simple as this. gregh posted it i think and i was devastated. it was a logic glitch.
Wrote something here? To have a post removed or your name hidden, write to [email protected].