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
rand float array
9 posts
• Page 1 of 1
rand float array
I fear this might be a dumb / I'm-out-of-practice type question, but ..
On p242 of the user guide there's float buffer[100] = rand(-0.5,0.5); to randomise the contents of the array.
Does that generate 100 random numbers or 400?
What I'm getting at is when dsp code for my 4-note chord addresses, say, buffer[0], will all 4 notes pick up the same random number, or 4 different ones?
On p242 of the user guide there's float buffer[100] = rand(-0.5,0.5); to randomise the contents of the array.
Does that generate 100 random numbers or 400?
What I'm getting at is when dsp code for my 4-note chord addresses, say, buffer[0], will all 4 notes pick up the same random number, or 4 different ones?
-
HughBanton - Posts: 265
- Joined: Sat Apr 12, 2008 3:10 pm
- Location: Evesham, Worcestershire
Re: rand float array
I dont know off the top of my head but you can find out with Trogs Mono4 tools.
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: rand float array
Using the poly versions of the above I took a quick peek; and yes, every poly voice gets a unique array of randomness across all SSE channels and all blocks of four voices.
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: rand float array
Aw thanks guys, I was going to look at it this afternoon, honest ..
That's the exact answer I was hoping for. Great tools btw, Trog, I've only been here intermittently of late and hadn't spotted them yet.
Anyway I'm supposed to be concentrating on being a musician again for 2 or 3 months, and not messing around with that software of mine all the time . And I am taking a 'finished' (yeah, right) version of my HB3 organ on the road with me, so I really shouldn't be contemplating any enhancements right now. Sigh ..
That's the exact answer I was hoping for. Great tools btw, Trog, I've only been here intermittently of late and hadn't spotted them yet.
Anyway I'm supposed to be concentrating on being a musician again for 2 or 3 months, and not messing around with that software of mine all the time . And I am taking a 'finished' (yeah, right) version of my HB3 organ on the road with me, so I really shouldn't be contemplating any enhancements right now. Sigh ..
-
HughBanton - Posts: 265
- Joined: Sat Apr 12, 2008 3:10 pm
- Location: Evesham, Worcestershire
Re: rand float array
HughBanton wrote:Anyway I'm supposed to be concentrating on being a musician again for 2 or 3 months, and not messing around with that software of mine all the time . And I am taking a 'finished' (yeah, right) version of my HB3 organ on the road with me, so I really shouldn't be contemplating any enhancements right now. Sigh ..
FlowStone gets some people like that. I'm just getting back on my feet after a monster 50+ hour session working on my 'node envelope' (I can't quite remember whether I ate anything during that time, but I certainly didn't sleep!) Maybe FlowStone should come with a stern warning about its addictive properties, like tobacco does!
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: rand float array
I’m not only addicted, I dream about FlowStone.
Weird stuff like what is the best sauce to go with an oscillator module and should I get a new carpet for FlowStone.
Help meeeeee!
Spogg
Weird stuff like what is the best sauce to go with an oscillator module and should I get a new carpet for FlowStone.
Help meeeeee!
Spogg
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: rand float array
Spogg wrote:Help meeeeee!
OF COURSE!
1) What else?
2) Yes. This one.
I hope you feel better now!
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: rand float array
Spogg wrote:Weird stuff like what is the best sauce to go with an oscillator
Aaah! Maybe this explains your predeliction for such "saucy" project names?!
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: rand float array
Tulamide, not only have you resolved two of my dreams, you managed to get my favourite colour schemes involved!
Rather than being bothered by these FS confusions, I now find myself looking forward to those still to come, because I feel I can rely on you to provide closure.
@trog
Cheers
Spogg
Rather than being bothered by these FS confusions, I now find myself looking forward to those still to come, because I feel I can rely on you to provide closure.
@trog
Cheers
Spogg
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 40 guests