Jump to content

A random generator. possible with mios?


ZiggY!!
 Share

Recommended Posts

Hi there! I'm trying to find a solution to an idea I have.

My objective is to trigger a relay in a random way, yet in time with MTC. I would like it timed via midi so I can keep it in time with the music. Is it possible to add a control to multiply or divide the speed of the clocking signal (like within the clockbox for example)? Kind of like how you can adjust the speed within an arpgeggiator to generate whole notes (dividing the BPM by 4) through to sixteenth notes (multiplying the BPM by 4).

Once the clock is sorted out, how could I use this to randomly trigger a relay (5v or maybe 9v). Here is what I was thinking, is it possible to randomly generate midi notes (0-127) within MIOS? How about following it with a simple boolean-like function to break this down into just two output notes (since a relay only has on and off).

for example, if the generated number is less than or equal to 64 it outputs a 0 midi note. If the number generated is equal to or more than 65 it outputs a 12 midi note. 0 and 12 being an octave, I could then run this through a midi to CV converter and use the control voltage to turn the relay on and off.

Possible, or crazytown?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...