Osc commands from third party
  • Declanone
    junior Member
    Posts: 1
    Joined: Thu Sep 19, 2024 10:41 am

    Osc commands from third party

    by Declanone » Thu Sep 19, 2024 10:49 am

    Hi everyone,
    I'm having trouble trying to send OSC commands via a third party osc sender (another computer) to madmapper.

    I know the computer madmapper is on is recieveing OSC because we have another software than can read incoming messages.

    The port is 8005
    And the IP is 293.268.1.100

    We can get other devices to talk to it by having a float osc message, however I am strictly limited to String or Integer from the program outputting.

    The program requires the following to send out:

    Mode:String/Integer
    Address: (the command)
    Type: String/Integer
    Argument: outcome

    So for example we tried:

    String
    Address: "surfaces/main/output"
    Type: ",i"
    Argument: "0" (or 1)

    This was asking the madmapper software to simply turn on and off a surface (so we can control the output).

    All we want to do is be able to send a command to turn on and off the surface or main layer even.

    Any tips, tricks, or insights into this?

    Thankyou in advance!
  • mad-matt
    garageCube team
    Posts: 1578
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: Osc commands from third party

    by mad-matt » Mon Sep 23, 2024 9:24 am

    I know the computer madmapper is on is recieveing OSC because we have another software than can read incoming messages.
    Does it work if you close the other application receiving OSC before starting MadMapper ?
    If the other application opens the OSC port without "sharing options", MadMapper will fail to open the OSC port. It would be reported in the log file

    MadMapper supports integer or string OSC messages, but sending a string value on a parameter like surface opacity would have no effect.

    What happens if you use menu Edit / Edit OSC Controls, click a surface opacity slider, and send the osc integer event from your sending app ? Does it create a control ?
  • franz
    madMapper master
    Posts: 1082
    Joined: Fri Feb 18, 2005 7:05 pm
    Location: Paris, France
    Contact:

    Re: Osc commands from third party

    by franz » Tue Nov 12, 2024 12:50 pm

    adresses start with a slash
    "/surfaces/Quad-1/...."

Who is online

Users browsing this forum: No registered users and 30 guests