Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-12-2022, 04:31 PM   #17
Human being with feelings
sai'ke's Avatar
Join Date: Aug 2009
Location: NL
Posts: 1,394

Originally Posted by TonE View Post
Regarding numbers already avaiable, maybe following implementation strategy could be interesting:
1- keeping all numbers as it is now (trigger numbers 1 or 0)
2- adding probability numbers as smaller red number in right bottom corner (Example: 0.78, or shorter saving some space .78, two decimals after comma should be enough for the probability precision I guess)
3- if probability is set to 1, this small number should not be displayed
4- implementation could use a multiplicative form current number (current_number: 1 or 0 only I guess, current_number * probability, if probability is not 1)
5- for saving strategy of those numbers, I am sure master saike, you will find best way (some multi-dimensional state-array maybe?)
Christmas has come early for you TonE. I just implemented probabilistic triggering in both SEQS and MIDI Arp.

In MIDI arp it's bound under scrollwheel (since there the blocks have no "settings" anyhow).

In SEQS it's bound to ctrl + scrollwheel. Note that I've also added a more informative tooltip if you forget.

Because there's not that much space and I didn't want to crowd the blocks unnecessarily, you can see the probability at a glance from how "full" the block is.
Please let me know if you find any bugs. I had to encode it in a bit of a funky way (bitmask yay), because I didn't want to add an additional array of data.
[Tracker Plugin: Thread|Github|Reapack] | [Routing Plugin: Thread|Reapack] | [More JSFX: Thread|Descriptions|Reapack]
sai'ke is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 01:01 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.