Sensory input to QC

mitchellcraig's picture

Hi guys,

I have a setup using an I-CubeX digitizer connected to a USB MIDIsport inputing values from a sensor to QC. I am hoping to use the value from the sensor to trigger a macro containing image renderers.

Currently i am using a webcam as video input and applying various effects to the image captured then displaying this on a billboard, however, the idea is that i will add a motion sensor that, when it senses motion, will trigger the macro containing the image effects - otherwise the image displayed will be of the cameras input without any effects on it.

I have QC detecting values from the MIDI and the image effect both working fine but in separate patches, any help on how to achieve what i have described would be great!

Thanks in advance, Craig

Top Level webcam input.png
Top Level webcam input.png396.25 KB
Image manipulation.png
Image manipulation.png468.16 KB
MIDI test patch.png
MIDI test patch.png256 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cwright's picture

Use a multiplexer, and change the mux index based on whether you want to filter or not.

Like this:

ImageMux.qtz4.73 KB

mitchellcraig's picture
cool, i can see what youve

cool, i can see what youve done there and how that can be applied. quick noob question though...what is 'mux'?!

dust's picture

muxology is a kind of a neuron feedback study on the effects of images and brain states, chris might be referring to something else not sure. i started doing something similar with eeg, mux uses meg. i stopped experimenting with my brain. you see making a brain scanning device for neuro feedback is against the law in some states even if you are practicing on yourself. most people think they could electrocute themselves but that is highly unlikely. i stopped because the method i was using requires voltage amplification to get a reading of the really small brainwaves. in principle if you want to control quartz with your mind using some wire amps and kineme serial plug in to get info off the micro controller.

basically you glue a bunch of electrodes to your nogin and ears. you use your ears as a kind of buffer average, maybe think of it is ground wire. you amp the electrodes on your head calculate the difference run through a low pass filter and you have feedback from brain neurons that you can then record and map to the functions you want. you see i have some mental problems as it is that i take medications for, so after a discussion with a few doctors on the subject it is best for me to not do this to myself. in the off case that the voltage gets reversed it can zap some neurons you may need.

now this is not really muxology, now to get the best reading its easier to know what state your brain is in before getting your feedback. you can skip the step of figuring out the brain-state to get your feedback if you all ready know the brain state you are in.

to do this you can meditate, do yoga as well as other things. i like to use binaural beats. think of it as converting your surround sound panner 2 stereo sound but still emulating surround sound. so in your left ear you are hearing a wave and your right ear you are hearing another wave a few hz difference. your brain buts these together in the middle of your head making a kind of beat or wobble sound. basically it is like doing some detune unison of a synth to get some nasty dirty electro bass sound.

i actually use some ancient math a secret code by carl munk, i detune my synth from 440hz to 432hz which aligns the wave form frequencies to the equinox, the earth and other cool things like time etc.. i use the note D 153 hz. it used to be an outlawed note. anyways it seemed better if im going to be messing with my head to use 432hz. 440hz A note is actually a really beautiful note visually.. see attachment for example. you see the current tunning we use A 440 hz is mathematically symmetrical. 432hz A is a bit more naturally perfect, not to get to deep but pythagoreans kind of made the whole diatonic thing a bit phased out so they could deal with whole numbers. well i got a calculator.

so if you got these sounds in your ears and you use the same tunning for color.. V = F x W velocity = freq time wavelength you get the true colors of sound. B happens to be infrared. well im using D its an ugly brown color but thats ok. so i oscillate the color at the same frequency as the music for my right eye and left eye. lets say i do root 153hz in A 432hz tune on one side and the same note at 438hz. ok its not 153 but 152.89924, if you are actually going to try this.

well the difference is 6hz which = theta. a state of mind most children are in that is why they learn more. it is the sleep you are having while you dream etc.. so you watch and listen for sometime and well you have put yourself into theta, seeing that you have induced the theta brain state from audio visual stimuli you can then get a proper reading for neuron feedback to then control the images and sounds you are hearing creating this weird brain, cortex, electricity feedback loop. you see our since's are cross modal meaning connected. they seem separated but they are not. so you can try this...the down side to getting theta readings is that you don't require as much sleep, but don't think it wakes you up that beta and alpha brain states do that.

so that might be kind of what muxology is i really don't know anything more than its a video project using an meg machine.

dust's picture

opps forgot the picture of the A note

a440hz.png487.39 KB

cwright's picture
mux =

mux is shorthand for "Multiplex" -- drop it in google sometime.

It's used a lot in electrical engineering (where multiplexing happens a lot)