PureData, OSC and Keywords
  • fernan.izquierdo
    junior Member
    Posts: 2
    Joined: Tue Apr 08, 2008 3:05 pm

    PureData, OSC and Keywords

    by fernan.izquierdo » Tue Apr 08, 2008 3:08 pm

    Hi all,


    I am quite a newbie with all this stuff, but I'm trying to send some OSC from Pure Data to Modul8, so the steps I've followed are these:
    1. Add the OSC(global) library to MD8.
    2. Send OSC messages to my own IP with the data.
    3. MD8 receives the message and is able to see it, for instance, I get this message at the script output window:
    RECEIVE : ['/md8key/crtl_layer_alpha/0', ',f', 0.5]


    However, nothing happens!! I've tried with different keywords but nothing....what am I doing wrong?


    Thanks a lot guys.


    Fernán.-
  • julbel
    junior Member
    Posts: 5
    Joined: Thu May 05, 2005 8:49 pm
    Contact:

    by julbel » Sat Apr 19, 2008 12:00 am

    ok i try and it's ok :

    You have to put in PD :

    send /md8key/ctrl_layer_alpha/1 0.2 for example.

    And it's change your alpha channel in Layer 1 : i put a simple documentation soon.

    i can send you the pd patche if you want :

    Code: Select all

    #N canvas 285 312 821 543 10;
    #X obj 56 344 sendOSC;
    #X floatatom 56 371 5 0 0 0 - - -;
    #X msg 41 67 disconnect;
    #X floatatom 110 373 5 0 0 0 - - -;
    #X text 159 376 bundleDepth;
    #X text 5 90 comment;
    #X text 24 11 SEND OSC to MODUL8;
    #X floatatom 266 328 5 0 0 0 - - -;
    #X msg 63 93 connect 82.224.255.125 32000;
    #X msg 52 124 connect 192.168.0.6 32000;
    #X obj 327 169 r rand1;
    #X obj 400 201 r rand2;
    #X floatatom 355 293 5 0 0 0 - - -;
    #X msg 24 40 connect localhost 8002;
    #X msg 357 321 send /md8key/ctrl_layer_alpha/\$1 0.2;
    #X msg 267 357 send /md8key/ctrl_layer_alpha/\$1 0.6;
    #X obj 333 52 cnv 15 160 90 empty empty empty 20 12 0 14 -24198 -66577
    0;
    #X floatatom 363 56 5 0 0 1 amount - -;
    #X msg 407 100 1 1 1;
    #X msg 392 76 3 2 1;
    #X obj 334 122 scale 0.5;
    #X msg 411 269 send /md8key/ctrl_layer_text_field/\$1;
    #X msg 477 217 testet;
    #X obj 593 80 dumpOSC 8000;
    #X obj 601 114 print;
    #X connect 0 0 1 0;
    #X connect 0 1 3 0;
    #X connect 2 0 0 0;
    #X connect 7 0 15 0;
    #X connect 8 0 0 0;
    #X connect 9 0 0 0;
    #X connect 10 0 7 0;
    #X connect 11 0 12 0;
    #X connect 12 0 14 0;
    #X connect 13 0 0 0;
    #X connect 17 0 20 1;
    #X connect 18 0 20 2;
    #X connect 19 0 20 2;
    #X connect 21 0 0 0;
    #X connect 22 0 21 0;
    #X connect 23 0 24 0;
  • fernan.izquierdo
    junior Member
    Posts: 2
    Joined: Tue Apr 08, 2008 3:05 pm

    pd osc

    by fernan.izquierdo » Sat Apr 19, 2008 12:58 pm

    thanks very much, i finally managed to get it working :)


    thanks thanks
  • User avatar
    G4jima
    member
    Posts: 25
    Joined: Tue Feb 19, 2008 3:57 pm
    Location: UK
    Contact:

    by G4jima » Tue Jun 03, 2008 12:16 am

    where do I put this code guys? please help i too am almost there!
  • selrach
    junior Member
    Posts: 8
    Joined: Thu Jun 19, 2008 9:54 am

    by selrach » Fri Jun 20, 2008 11:10 am

    hello, excuse my english :)

    i try to use OSC too, from pd to modul8.

    i can see that md8 receive information(on the screen output) when i type in pd /send /md8key/ctrl_layer_alpha/1 0.2 or when i use the patch up,
    , but there is not effect.
    and if i move something in md8, i can see information on pd window.

    So where is my error ?

    thank you to help me
  • selrach
    junior Member
    Posts: 8
    Joined: Thu Jun 19, 2008 9:54 am

    by selrach » Mon Jun 23, 2008 11:40 am

    up :D
  • vanakaru
    master
    Posts: 669
    Joined: Mon Sep 25, 2006 9:24 pm

    by vanakaru » Sun Aug 24, 2008 12:58 pm

    I got hooked on iPod touch controlling M8 last week. I used ITM apps, but OSCemote seems to be the tool I really need.
    Almost a week I have tried to figure how to get it to work in M8. I am almost ready to give up. I am not a programmer, just the opposite. I like the intuitive control via ipod and hate setting up computers.
    I have read all the articles about OSC to MIDI and direct to Modul8 and tried what i understood, but no results.
    Could somebody explain step by step so my old visual artist brain could get it too. Thanks!

Who is online

Users browsing this forum: No registered users and 26 guests