yet another newbie MIDI quetsion?

toomech's picture

since i'm really new to QC, or any sort of programming for that matter, this might be a trivial question. however i've been searching the forum and i haven't found any direct answer. How do i translate values from a midi controller like knob or slider being 0 to 127 into anything's x position being -1 to 1 in QC?

Comment viewing options

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

itsthejayj's picture
Re: yet another newbie MIDI quetsion?

Good on you for giving it a go bud, i'm supposed to be a graphic designer but ended up falling in love with QC, now a few years on I think i might be a coder (visual coder) than designer.

Interpolation is your friend in this case. To get the patch time parameter on the interpolation patch you have to right click and select timebase > external. Although there is always many different ways to do this in QC.

Hope the attached composition helps you.

PreviewAttachmentSize
Interpolation.qtz28.9 KB

toomech's picture
Re: yet another newbie MIDI quetsion?

gosh, i was so close ;) i've already tried with that patch. didn't come to my mind to mess with patch time. instead i was trying to feed to the start/end values and eventually gave up. there are so many things to understand... anyway, this is great help. thank you! btw, i'm a film editor by proffession. tried doing some visuals and got into QC via VDMX :) and absolutely love both. add midi control, syphon recording...oh, the possibilities!

itsthejayj's picture
Re: yet another newbie MIDI quetsion?

Do you use Ableton? I might be the guy who builds JAM the video plugin for Ableton Live, its built in QC, i'll release a version that is open source soon. http://www.justaddmusictv.com

toomech's picture
Re: yet another newbie MIDI quetsion?

this is some really impressive stuff. i didn't even realize you could push QC to that level. is this Quartz Composer alone or does it use MAX as well? i've had a few sessions with Ableton somewhere around version 4, but as i'm not much of a musician, i haven't used it since. many of my friends do however, so it won't be a problem for me to try JAM out. as for my own stuff, i mostly use line-in for audio controlled animation, either via VDMX input, or internally in my Qcompositions or both. i use midi mostly for manual parameter control (just ordered Novation Nocturn a clever little one).

itsthejayj's picture
Re: yet another newbie MIDI quetsion?

No M4L used that where the real clever stuff kicks in. At the moment JAM is just a syphon transit to get video out of ableton for the likes of VDMX, MadMapper and such.