ZiggY!! Posted November 15, 2006 Report Share Posted November 15, 2006 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? Quote Link to comment Share on other sites More sharing options...
DavidBanner Posted November 15, 2006 Report Share Posted November 15, 2006 it's certainly possible to do what you want in C, I've written similar random functions for non MidiBox stuff.You'll need to read the clocking signal - this bit I don't know about.You can trigger relays using an AOUT module. Quote Link to comment Share on other sites More sharing options...
mess Posted November 15, 2006 Report Share Posted November 15, 2006 HiYou could use the sid_random example for generating random signalsit does require a small external circuit... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.