Apologies for spam; we've changed our policy by requiring approval for accounts, and deleted all existing spam and user - thanks for your help flagging content. We continue to test our forums and Vanilla software, aiming for release early in 2013. If you need to give us feedback outside the forum, contact us via http://createdigitalmusic.com/contact/ or on Facebook
Log()'ing metro weirdness
  • Ok, thanks to luong, in http://createdigitalnoise.com/discussion/1816/using-externals-with-libpd#Item_17 the cyclone counter external is now working for me, triggered by a 1000ms metro, giving: (the bang is direct from metro and the float is from counter)

    01-29 12:00:53.265: D/POST(4049): float: 1.0

    01-29 12:00:53.265: D/POST(4049): bang

    01-29 12:00:54.234: D/POST(4049): float: 2.0

    01-29 12:00:54.234: D/POST(4049): bang

    01-29 12:00:55.269: D/POST(4049): float: 3.0

    All normal. That's after a fresh install from Eclipse. Weird thing is, when I stop the app, and run it again from the apps menu in the device, I get:

    01-29 12:11:25.400: D/POST(29856): float: 4.0

    01-29 12:11:25.400: D/POST(29856): bang

    01-29 12:11:25.660: D/POST(29856): float: 3.0

    01-29 12:11:25.660: D/POST(29856): bang

    01-29 12:11:26.370: D/POST(29856): float: 5.0

    01-29 12:11:26.370: D/POST(29856): bang

    01-29 12:11:26.710: D/POST(29856): float: 4.0

    01-29 12:11:26.710: D/POST(29856): bang

    01-29 12:11:27.410: D/POST(29856): float: 1.0

    01-29 12:11:27.410: D/POST(29856): bang

    01-29 12:11:27.650: D/POST(29856): float: 5.0

    And the Log entries come roughly every half second, as opposed to 1 sec before. It's like there are now two of the same process running. If I run it a third time I get 3 updates a second and so on. Get this on both devices I test on.

    As both bangs and floats are coming almost certain it's not counters fault. Has anyone else had similar problems? Tried PdAudio.release(); PdBase.closeAudio(); PdBase.clearSearchPath(); on exit with no change. Also tried PdBase.unsubscribe() when starting but no change. Problem appears to be with the reciever, because the sound outputs just fine - it is not doubling up.

    Git is here if anyone feels like having a look!

    git@github.com:Kapsy/CounterExternal1.git

    Update: Tested with a patch without counter and still getting the same issue - def not counters fault.

  • Ok sorted it!

    Wasn't calling PdAudio.release(); and PdBase.release(); on exit (when onDestroy() is called). #-o

  • Git updated with fixes.