IanniX

Forum Replies Created

Viewing 15 posts - 916 through 930 (of 3,720 total)
  • Author
    Posts
  • in reply to: Scripts #3282
    m
    Keymaster

    Hi –
    I’m very new to this program, but I’d like to be able to translate incoming OSC messages into curve-drawing functions. I know how to format them coming out of another program, but I’m not sure how to format these sorts of messages within Iannix without an intermediary.

    Any suggestions?

    -M

    in reply to: Making things with IanniX #3283
    Anon
    Keymaster

    Hi there –

    I’m currently trying to generate curves and cursors with Max, but finding a strange behavior after my first curve/cursor.

    Here is the process:
    /add curve auto

    Then, a numbering convention: I generate a 1 and a 2.
    The 1 is sent to /setpos and /setsmoothpoint, both of which have random values for the XYZ positions.

    /add cursor auto

    Then /setcurve is set for 2 1, in accordance with the gui helper.

    So far so good. A curve with a cursor attached.

    I begin again, generate a new curve/cursor set for 4 3, as soon as I add the cursor, though, the first cursor/curve deselects.

    Subsequent iterations, 6 5, 8 7, 10 9 – all seem to work fine..

    Any thoughts on what is happening here?

    in reply to: Max->OSC->IanniX Question #3284
    IanniX
    Keymaster

    Hmmm, I have to test your example.

    BUT, you can simplify these ID thanks to “current” (last ID used or generated) and “lastCurve” (last curve ID used or generated) keyword.
    Example:

    add curve auto
    setPos current x y z
    set………… current …………
    
    add cursor auto
    setCurve current lastCurve
    setSpeed current ………………
    

    🙂

    in reply to: Incoming OSC Messages #3285
    IanniX
    Keymaster

    Hi,

    Before answering, where does your messages come from? Max, Puredata, sensors, OSC-app like OSCulator?

    in reply to: Making things with IanniX #3286
    Anonymous
    Keymaster

    Is there any documentation on how to use LeapMotion with Iannix? I saw the demo on Vimeo and was very impressed, but implementing it is unclear to me..

    in reply to: Leap Motion #3287
    IanniX
    Keymaster

    No 🙂 I used LeapOSC (https://github.com/odbol/LeapOSC) and this score :

    var curvePointIndex = 0, previousFinger = false, previousFingerCounter = 50;;
    function onIncomingMessage(protocol, host, port, destination, values) {
    	if(previousFingerCounter <= 0) {
    		if(previousFinger) {
    			if(curvePointIndex > 140) {
    				run("add cursor auto");
    				run("setCurve current lastCurve");
    				run("setPattern current 0 0 1 -1");
    				run("play");
    			}
    			else
    				run("remove lastcurve");
    			previousFinger = false;
    			previousFingerCounter = 50;
    		}
    	}
    	if(destination.startsWith("/hand/0/direction")) {
    		previousFingerCounter--;
    	}
    	else if(destination.startsWith("/hand/0/finger/0/pos")) {
    		if(!previousFinger) {
    			previousFinger = true;
    			curvePointIndex = 0;
    			run("add curve auto");
    			run("setColorHue current " + random(0, 255) + " 255 200 255");
    		}
    		previousFingerCounter = 50;
    		run("setSmoothPointAt current " + (curvePointIndex++) + " " +
    			map(values[0], -200,  200, -5, 5) + " " +
    			map(values[2],  100, -100, -5, 5) + " " + 
    			map(values[1],    0,  300, -5, 5));
    	}
    	else if(destination.startsWith("/hand/0/finger/4")) {
    		previousFinger = false;
    		previousFingerCounter = 50;
    		run("clear");
    	}
    }
    
    in reply to: Making things with IanniX #3288
    martin_ch_ph@yahoo.fr
    Keymaster

    Bonjour,
    Peut-on changer simplement la couleur de fond ?
    J’ai essayé en modifiant la couleur du “background” dans l’onglet “ressources” mais rien ne se passe.
    Merci d’avance.
    Et vive Iannix !

    in reply to: couleur de fond #3289
    IanniX
    Keymaster

    Bonjour,

    Selon le thème (couleur sombre ou clair), c’est dans “lighttheme_background” ou “darktheme_background” ! Vous étiez pas loin 🙂

    in reply to: couleur de fond #3290
    Homo Faber
    Keymaster

    C’est bon ! Merci !!!

    in reply to: Making things with IanniX #3291
    2pandaemonium2
    Keymaster

    Hey,

    everything was working OK until all of a sudden i somehow cannot add triggers to my project which im working at the moment.

    When i click on the trigger, the mouse cursor shows a closed fist, which makes it impossible for me to add a trigger or curve to the graphic.

    Any help appreciated.

    Best
    James

    in reply to: Cannot add trigger anymore #3293
    IanniX
    Keymaster

    Maybe you are in 3D Mode (where edition is not allowed). Try to double-clic with “Alt” pressed to reset camera view.

    in reply to: Kinect #3294
    Mat
    Keymaster

    Is there any way I can hook up my built-in mac webcam?

    in reply to: Kinect #3295
    IanniX
    Keymaster

    Hmmm, what do you expect to do with the camera? IanniX is based on points/lines whereas camera is bitmap/pixels based. You may need another software to make a “conversion” or “interprétation” of camera flow. Isn’t it?

    in reply to: Midi cc control with cursor_value #3296
    Toby
    Keymaster

    Hi there, I am trying to control an on screen mouse cursor and key presses via either OSC or MIDI with the aim of controlling a computer game with musical instruments and other HID devices. Would I be able to do that with this software or is the topic here about controlling MIDI with a cursor (ie. other way around)? Thanks.

    in reply to: Your projects #3297
    Antonio Ochoa
    Keymaster

    This is my first sounds in Iannix. I use SunVox to render the sound. Thanks a lot for that amazing work!

Viewing 15 posts - 916 through 930 (of 3,720 total)

© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About