New Tool: (3.1) Random Plug (Feb 2019)


(Ledger) #1

New Alpha: Random Plug


ledger.scripts.RandomPlug_V0.52.xrnx (3.4 KB)


A simple tool that suggests a random instrument and a random effect plug to load.

  • Find some of your old forgotten favourites.
  • Dig yourself out of creative slumps!
  • Unearth those demos you forgot to uninstall!

Random%20Plug


Keybinding:

Global:Tools:~ Random Plug

menus:

Tools:Ledger`s Scripts: ~ Random Plug
Instrument Box :~ Random Plug




Changelog.

v0.52

  • Fix to make random selection better when opening the GUI multiple times quickly

Click For Related Thread

  --random number
  --get os.time() as a seed
  local t = os.time()
  --as os.time() updates slowly we multiply it by random number before passing to randomseed
  math.randomseed((t * math.random(1,500)))
  --get random number based on os.time()
  local ran_num = math.random(1, num_available_insts)

v 0.51

  • Plugin GUI now opens on loading,
  • Newly loaded track devices now become the selected device

Ledgers Scripts List
(Ledger) #2

v 0.51

  • Plugin GUI now opens on loading,
  • Newly loaded track devices now become the selected device

(Ledger) #3

v0.52

  • Fix to make random selection better when opening the GUI multiple times quickly



math.randomseed fix

Click For Related Thread

  --random number
  --get os.time() as a seed
  local t = os.time()
  --as os.time() updates slowly we multiply it by random number before passing to randomseed
  math.randomseed((t * math.random(1,500)))
  --get random number based on os.time()
  local ran_num = math.random(1, num_available_insts)