Android ICS doesn't receive all OSC messages

Home Forums Control Android ICS doesn't receive all OSC messages

This topic contains 16 replies, has 4 voices, and was last updated by  Mario Mey 4 years, 5 months ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #93197

    Mario Mey
    Member

    I’ve been using an old cheap Tablet with Android 2.1. It can send and receive OSC messages. I installed Control by GooglePlay and, with the same interface, it doen’t receive OSC messages. I can’t change any value.

    The strange thing is that it receives using a default interface, like “DJ”. I can control the volume, for example.

    From PureData, I tried sending the default “send /volume 0.5” for example and “send /control/runScript volume.setValue(0.5)”, both with MrPeach-OSC. None of them worked.

    #93260

    Neurogami
    Member

    I have the same problem.  I’m trying to get feedback from Renoise but none of the OSC messages I send back from Renoise do anything in Control.

    When I tried out the DJ screen it behaves no  different than my custom screen. It sends OSC fine but does not respond to any OSC messages.

    I know that Control is getting the OSC  messages, because if I shut it down and try sending messages using a small OSC test app I get a connection error.  If Control is running I get no such error.  It seems Control  gets the message but then ignores it.

    This using Android 2.3.4 on a G2 phone.

    #93261

    Neurogami
    Member

    First, this forum software loses posts when submitted.   Apparently you have to double-post to get it accepted once.  I had a follow explaining how it now works for me. short version: I dd a hard restart of the app.

    #93263

    E-Fir
    Member

    I patched Control from master branch: now it’s listen TCP connection instead of UDP

    Because of fixed connection we need send packet size first before packet content. Packets size is int32 number.

    https://github.com/E-Fir/Control/blob/master/Android/Control/Control.apk?raw=true

    It’s solves issues for me.

    #93293

    Mario Mey
    Member

    Neurogami, how did you hard restart the app?

    E-Fir: I downloaded the apk, I’ll try it… what is the difference between TCP and UDP? Does it has any change using Control?

    #93294

    Neurogami
    Member

    Mario: I used my phone’s “Manage apps” thing to find  the running  process and force-stop it to unload it from memory.

    #93295

    Mario Mey
    Member

    E-Fir, I tried your modified version. The messages are sent from Control to PureData. But, Control doesn’t receive the messages. Supposedly, MrPeach OSC abstractions can manage OSC messages through UDP and TCP… but, using packOSC or packOSCstream (for TCP), it doesn’t work. Sometimes, it doesn’t do anything, sometimes, it gets disconnected.

    Do you know another abstractions to send OSC messages through TCP?

    Another thing… and I think this is real problem. The messages, through UDP (master version) arrives to Control and they work…. only on default interfaces (DJ, for example), but not in a personalized one. For this reason, I don’t think that the problem is in connection. Is a pity that Charlie didn’t appear any more. I miss him!

    Maybe use a newer version of PhoneGap (Apache Cordoba)?

    #93296

    Mario Mey
    Member

    Well, I tried a different thing. I didn’t know about tcpsend atom… it’s just to send through TCP. But, it connects and, when I send something, it gets disconnect… or prints this:

    tcpsend blocked 37 msec

    And then… CONTROL STOPS. Yes, it closes itself. In master version or E-Fir modified version is the same, it stops.

    #93297

    Neurogami
    Member

    Another thing… and I think this is real problem. The messages, through UDP (master version) arrives to Control and they work…. only on default interfaces (DJ, for example), but not in a personalized one. For this reason, I don’t think that the problem is in connection. Is a pity that Charlie didn’t appear any more. I miss him!

     

    FWIW I’ve created a custom screen and it receives UPD OSC message from Renoise just fine.  I use Control to manipulate the music, and have Renoise send back the current BPM of the song.

     

    https://github.com/Neurogami/renoise-ng/blob/master/control/rns.js

    #93298

    Mario Mey
    Member

    Neurogami: Control works ok for me in Android 2.x… but not in 4.x. There’s the problem….

    Anyway, I downloaded your interface and I’ll take a look.

    #93310

    Mario Mey
    Member

    E-Fir… for the moment, you are the one who understand the code. We have to fix Control to work in ICS! Because I think that the problem isn’t in the conection type, because default interfaces do work, do receive messages. It’s about… something else.

    #93311

    Mario Mey
    Member

    Please, write me, mariomey gmail. It’s really important for me.

    #93312

    E-Fir
    Member

    I sent the mail. Are you recieved it?

    #93314

    shuangjiji00
    Member

    Article marketing services realize your needs and the needs of your business This avoids having to pay five times the price for a custom frame Whichever you go, you can decide Founders Dean Hart and Venka De Rooij hand select the most exciting and vibrant designs from designers and design houses worldwide, ensuring that they can offer their customers something extra special Do not waste your time, money and effort on tools that employ black hat techniques Fedora hat are purchased to give that added touch of fashion to your fashionable, well matched ensemble In distinct, avoid back links to world-wide-web spammers or ‘bad neighborhoods’ on the internet as your private ranking may perhaps be impacted adversely by those links That right; this one does a few cheap snapbacks things differently As a response to this article, Dr Seuss was invited by a director of Houthton Mifflin’s education division to write a book for six year olds that would stimulate them and keep them reading Now you have a beautiful mosaic to hang on your wall or give as a present This could be upsetting, since we are http://www.latvianhostels.com told practically from birth that poultry must be well-cooked The beekeeper hat can be designed in such a way that it is independent of the entire beekeeping suit and therefore cam be worn separately from the suit These Runescape affair hat sets are now account able-bodied over a billion Runescape gold which and there is a actual active bazaar for these items All hats that have suffered severe impact, even if it is from being dropped on to a hard surface, should be thrown away and a new one should be used We have all times succumbed to some of its more twisted and messy forms at least a dozen times The size of the Sun hat happens to be quite important You can either create your own snapback sale corsage or purchase a pre-made one which can be sewed on About Author: This article is written by Seo Company Sydney, a marketing wizard who can market your website to the potential customers worldwide? We can provide you internet search engine optimization services with your requirements

    #93315

    Neurogami
    Member

    OK, so clearly there’s no spam filtering  on this forum.

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.

This work is licensed under GPL - 2009 | Powered by Wordpress using a heavily modified version of the theme aav1