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
Ruby modules collection
30 posts
• Page 2 of 3 • 1, 2, 3
Re: Ruby modules collection
Hi phill,
Thanks for the comment. My shame, but that's beyond my poor codding skills. Maybe one of our Ruby experts have an idea. Anyway, all those modules are collected. Non of them made by me. Wish I had the skills to make them by my self
Cheers
Thanks for the comment. My shame, but that's beyond my poor codding skills. Maybe one of our Ruby experts have an idea. Anyway, all those modules are collected. Non of them made by me. Wish I had the skills to make them by my self
Cheers
-
kortezzzz - Posts: 763
- Joined: Tue Mar 19, 2013 4:21 pm
Re: Ruby modules collection
Phil Thalasso wrote:May I ask the question, whether anybody would know whether it is possible to program a ruby module that gets triggered by some input (poly for example) and the adds a probabilistic value from a normal distribution to it.
I'll split that into two questions...
1) Can a Ruby event of some kind be triggered from audio?
Kind of. Doing it with sample precision is very CPU intensive though, as it would require turning audio streams into Ruby frames. Doing it in a "CPU light" way would be no more precise than doing it with 'green' (i.e. not very precise at all!) And Ruby can't interface with poly streams at all, so it would be no use for MIDI generated voices in synths.
2) Would the normal distribution algorithm require Ruby?
Very precise algorithms probably would need Ruby features (e.g. "while" or "until" loops). However, for the given application, a reasonable approximation of the distribution will most likely suffice. Approximated algorithms tend to struggle the most with the rarest values at the far ends of the distribution "tails" - but since sequencer parameters are bounded, you don't need the tails to extend very far; in fact, it would be better that they didn't. A very efficient approximation can be done by passing a uniformly generated random number through the quantile function for the desired distribution, which could be implemented as an interpolated look-up table in green, poly or mono (and would allow approximating any distribution that you wanted.)
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: Ruby modules collection
Good morning everybody and thank you Trogluditte for your detailed answer.
It helped my thought process.
I assume that I 'll now search for a ruby recipe for a typical statistics 101 nail-board.
Maybe that can even be done with prims.
The idea behind all that is, that I want to construct a "pseudo-random sequencer".
Say you have a sixteen step sequencer that you set the values for each step with a knob.
(Like in Spogg's A.S.S.. Since about a year I am working on an optical pimping of this
wonderful instrument - with Spogg's express permission and a lot of support from him.)
What I want to happen in the sequencing part is the following:
You set the sequencer for example to all C3s. Once you press a key, a pseudo random decision
will be made, which note is actually played. The intervals would have probabilities assigned
to them and the interval-structure by itself could also be set. One idea was, to have one of the basic
structures follow a normal distribution N(0,phi), with phi being driven by an Lfo. Might result in
CPU above 100%.
Anyhow, Trogluddite, with your input I'll try to work something out in which the levels of the nailboard
can be adjusted (instances of probabilistic decisions).
You all have a good day
Best Regards
Phil
It helped my thought process.
I assume that I 'll now search for a ruby recipe for a typical statistics 101 nail-board.
Maybe that can even be done with prims.
The idea behind all that is, that I want to construct a "pseudo-random sequencer".
Say you have a sixteen step sequencer that you set the values for each step with a knob.
(Like in Spogg's A.S.S.. Since about a year I am working on an optical pimping of this
wonderful instrument - with Spogg's express permission and a lot of support from him.)
What I want to happen in the sequencing part is the following:
You set the sequencer for example to all C3s. Once you press a key, a pseudo random decision
will be made, which note is actually played. The intervals would have probabilities assigned
to them and the interval-structure by itself could also be set. One idea was, to have one of the basic
structures follow a normal distribution N(0,phi), with phi being driven by an Lfo. Might result in
CPU above 100%.
Anyhow, Trogluddite, with your input I'll try to work something out in which the levels of the nailboard
can be adjusted (instances of probabilistic decisions).
You all have a good day
Best Regards
Phil
-
Phil Thalasso - Posts: 150
- Joined: Tue Jun 27, 2017 12:42 pm
- Location: Munich, Germany
Re: Ruby modules collection
Tanks guys. I can learn a lot from these
- Halon
- Posts: 321
- Joined: Sat Nov 28, 2015 4:42 pm
- Location: Norway
Re: Ruby modules collection
Hope these come in handy..
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Ruby modules collection
billv wrote:Hope these come in handy..
Excellent, thanks!
Spogg
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Ruby modules collection
A huge "thank you" has been sent to you from my toolbox, billv
-
kortezzzz - Posts: 763
- Joined: Tue Mar 19, 2013 4:21 pm
Re: Ruby modules collection
here are several links to some ruby projects of mine:
- cablepatcher:
viewtopic.php?f=3&t=2916
- toolkit (mostly ruby):
viewtopic.php?f=3&t=6383
-class array expansion:
viewtopic.php?f=3&t=1760
-xy pad:
viewtopic.php?f=3&t=14154
- ruby knob:
viewtopic.php?f=3&t=641
- circular stepsequencer:
viewtopic.php?f=3&t=6268
- prestmanager with groups:
viewtopic.php?f=3&t=2477&hilit=+presetmanager
and welcome back Mr Trogluddite ! good to see you again a tiny structure i extracted from one of your projects made a huge impact in some of my projects, i called it "zero at request" which sets the output to zero when a reverse trigger arrives. just one of many great influences your schematics and your support had on my journey with FS , thanks for that
viewtopic.php?f=3&t=3520&p=19412&hilit=zero+at+request#p19119
- cablepatcher:
viewtopic.php?f=3&t=2916
- toolkit (mostly ruby):
viewtopic.php?f=3&t=6383
-class array expansion:
viewtopic.php?f=3&t=1760
-xy pad:
viewtopic.php?f=3&t=14154
- ruby knob:
viewtopic.php?f=3&t=641
- circular stepsequencer:
viewtopic.php?f=3&t=6268
- prestmanager with groups:
viewtopic.php?f=3&t=2477&hilit=+presetmanager
and welcome back Mr Trogluddite ! good to see you again a tiny structure i extracted from one of your projects made a huge impact in some of my projects, i called it "zero at request" which sets the output to zero when a reverse trigger arrives. just one of many great influences your schematics and your support had on my journey with FS , thanks for that
viewtopic.php?f=3&t=3520&p=19412&hilit=zero+at+request#p19119
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Ruby modules collection
always good stuff from NuBeat.
Big Thanks !
Big Thanks !
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
30 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 36 guests