Fader not reacting to OSC input

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

Fader not reacting to OSC input

Post  coupe70 on Tue Mar 12, 2013 3:19 pm

It's quite likely that I'm doing something wrong, so I don't post this in the bugs section for now.

I have a very simple layout with only one fader (see below).
When I move it I receive "/prefix1/prefix2" and the float in Reaktor,
in Python I am also able to see the OSC type tag ",f" (Reaktor hides it).

But when I send this OSC message with different values to DAWOSC the fader does
not react, not matter if I send from Reaktor or Python. "Receive OSC" is turned on
And I can see my message under "Last OSC message received".
Am I missing something ?

The only strange thing I can see is that DAWOSC reports the received message to be
"/prefix1/prefix2", "f", 0.53467 instead of ",f" for the type tag and the messages sent by
Reaktor and Python seem to be fine, i checked that...



Layout Name:
Grid Size: 100
Screen width: 800
Screen height: 600
--- controller ---
Controller type: Fader - Vertical
OSC Prefix: /prefix1/prefix2 (Float)
OSC Text Value:
OSC ON Value:
OSC OFF Value:
Screen label: Fader - Vertical
Controller X position: 47
Controller Y position: 92
Controller width: 121
Controller height: 304
MIDI channel: 1
CC #1: 1
CC #2: 11
Note #: 75
Velocity ON: 64
Velocity OFF: 0
Forecolor R: 0
Forecolor G: 0
Forecolor B: 255
Backcolor R: 0
Backcolor G: 0
Backcolor B: 0
Textcolor R: 255
Textcolor G: 255
Textcolor B: 255
Bordercolor R: 255
Bordercolor G: 255
Bordercolor B: 255
Front-Back: 0
Allow Sliding: No
Border Width: 3
Fontsize: 10
Switch to Layout:

coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Tue Mar 12, 2013 4:29 pm

I'll check it out in a few days. I'm slammed with getting our house ready to sell, so my free time is pretty much non-existent lately Sad

Everything does look right though. DAWOSC parses the incoming OSC data and displays each part separately, so that's working properly.

Mark


Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Wed Mar 13, 2013 5:17 am

I just thought of something...

I don't know about Reaktor, but in Reaper you have to enter your android device's IP address where you configure your control surface in Reaper. The android IP address is in the Technical Info screen in DAWOSC.

I'm assuming you've already done that, but it's worth mentioning Smile

Mark

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Wed Mar 13, 2013 6:16 am

Yes, I did that, thanks. Smile

As I said, whatever I send, it is shown in the technical information
as "Last received OSC message", so it arrives in DAWOSC and is
at least recognized by the routine for showing the received message.
Except that the OSC type tag is displayed without the comma (the
one that has to be at the start of the type tag, not the ones between
the different parts of the OSC message).

I did some checks:
Reaktor -> Python WORKS
Python -> Reaktor WORKS
Reaktor -> TouchOSC WORKS
Python -> Ableton Live (LiveOSC script) WORKS

So the messages I send seem to be not corrupted or something...




coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Wed Mar 13, 2013 7:47 am

ok...thanks for the info.

I'll check it out as soon as I get a chance.

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Thu Mar 14, 2013 7:56 am

I just remembered something that would explain your problem, at least for Reaper.
In Reaper, you can use the 'learn' function to set any controller with any prefix to control something. BUT Reaper has that default OSC file that determines what the OSC prefix is when Reaper sends OSC commands. So..

If you set up a fader with the OSC prefix '/prefix1' in DAWOSC and use the Reaper 'Learn' function, that fader will control that parameter. But when that parameter is moved in Reaper via a mouse (for example), Reaper will send the OSC command using it's own pre-defined OSC prefix, not the prefix for the fader in DAWOSC. That will casue the issue you're seeing.

I'm not sure if this is also true with Reaktor. I guess that might depend on the .ens file that you're using.

Let me know if that helps. And if I'm wrong about Reaper, let me know as well Smile

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Thu Mar 14, 2013 8:25 am

No, that's not the problem.
I checked it with my own .ens containing just one knob and you can (must) set
the prefix manually when building the .ens. And, as I said, the - in my eyes
correct OSC message is received by DAWOSC and displayed in the technical
information. Wait, I'll take a picture...

coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Thu Mar 14, 2013 9:22 am

Ok, here is what I do.

1) DAWOSC is set up to send and receive OSC:


2) Only one fader, no messages sent yet:


3) I touch the fader, OSC gets sent:


4) OSC arrives in Reaktor and updates the knob configured to listen to '/prefix1/prefix2':


5) Now I turn the knob that is configured to send to '/prefix1/prefix2', IP and port are configured in the setup.
I turn the knob up to 1.0 to have clear value:


6) DAWOSC shows me that the message has arrived, but the fader does not update:



coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Thu Mar 14, 2013 9:46 am

cool..those photos help Smile thanks for doing that!

I should have some time this weekend to check this out, possibly even tomorrow.

Is it possible to email me that ensemble? If so, I'll download the reaktor player and use that to test. For some reason, Reaper and I don't get along at all! lol!

My email address is mark at markderrico.com

thanks!

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Thu Mar 14, 2013 10:20 am

I'm not in a hurry, so take your time - I know you are very busy at the moment...
Reaktor Player won't work, because it only 'plays' commercial ensembles, no user ensembles.
But if you need something to receive and send OSC from your desktop you could use
Surface Editor - surface-editor.net
...or Usine, but Surface Editor is the one I could help you with, I'm using it on stage.

Or if you put any debugging routines into DAWOSC I'd be happy to test it with my setup.





coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Thu Mar 14, 2013 11:30 am

I'm not in a hurry, so take your time - I know you are very busy at the moment...
Thanks Smile

But if you need something to receive and send OSC from your desktop you could use
Surface Editor - surface-editor.net
...or Usine, but Surface Editor is the one I could help you with, I'm using it on stage.
Well, that sucks. Ok, I'll check out the Surface Editor and Usine.

Or if you put any debugging routines into DAWOSC I'd be happy to test it with my setup.
Unfortunately, I can't put in some debugging code and push it out because I've added a bunch of new features that aren't 100% tested yet. And it does sound like a bug, so there's probably not much point in you spending more of your time on this Smile

thanks for all your help!

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Thu Mar 14, 2013 11:52 am

Admin wrote:
Well, that sucks. Ok, I'll check out the Surface Editor and Usine.

I really recommend Surface Editor, it's much more straight forward and the manual (if you need it)
is easy to read. OSC setup is in the menu, then just add a fader or whatever and add an 'action'
to the fader ('action' tab, right click 'add action') - floats are called 'double' in Surface Editor.
And Surface Editor (which unfortunately is dead, too) might have the one or the other nice
inspiration for your app... Wink



Unfortunately, I can't put in some debugging code and push it out because I've added a bunch of new features that aren't 100% tested yet. And it does sound like a bug, so there's probably not much point in you spending more of your time on this Smile

Yes, I know. What I meant was if you have trouble catching the bug you can send me
a .apk directely if I can help by testing anything...

coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  torrescampalans on Thu Mar 14, 2013 3:14 pm

i'm having the same problem using max 6.1 i get that "f" too

torrescampalans

Posts : 12
Join date : 2013-01-15
Age : 46
Location : Tordesillas

View user profile http://losliriosdelbosque.besalelosdientes.com/

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Thu Mar 14, 2013 3:26 pm

torrescampalans wrote:i'm having the same problem using max 6.1 i get that "f" too

So you mean you can't get the controllers in DAWOSC to react to incoming OSC ?

The "f" is not a problem, it is part of an official OSC message, some apps just don't
show it when displaying messages. Officially it has to be ",f", but
that is maybe just a display flaw in DAWOSC. What counts is what the app does with
the message under the hood and there seems to be a problem...

coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  torrescampalans on Thu Mar 14, 2013 4:04 pm

coupe70 wrote:
torrescampalans wrote:i'm having the same problem using max 6.1 i get that "f" too

So you mean you can't get the controllers in DAWOSC to react to incoming OSC ?

The "f" is not a problem, it is part of an official OSC message, some apps just don't
show it when displaying messages. Officially it has to be ",f", but
that is maybe just a display flaw in DAWOSC. What counts is what the app does with
the message under the hood and there seems to be a problem...

exactly. they don't react.

torrescampalans

Posts : 12
Join date : 2013-01-15
Age : 46
Location : Tordesillas

View user profile http://losliriosdelbosque.besalelosdientes.com/

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Fri Mar 15, 2013 7:38 am

Well, I had a chance to test this before work today using Surface-Edit and it worked fine. DAWOSC received the Surface-Edit OSC commands and updated the fader in DAWOSC perfectly.

I'm thinking that maybe the problem may be unique to you because I haven't had any users email me telling me that OSC isn't working properly. When there is a bug in DAWOSC or the editor, I always get users emailing me directly letting me know of a problem.

I'm not sure what it is, but it's working in the new unreleased version. So maybe I unknowingly fixed a bug with all the new changes.

At any rate, here's my layout with just a fader. Don't load this into your version DAWOSC because it won't work! I'm also posting my Surface-Edit file. Maybe that will shed some light on this Smile

layout file:

Version: 3.2
Layout Name:
Grid Size: 70
Screen width: 1280
Screen height: 780
Backcolor R: 0
Backcolor G: 0
Backcolor B: 0
--- controller ---
Controller type: Fader - Vertical
Controller X position: 85
Controller Y position: 91
Controller width: 270
Controller height: 564
OSC Prefix: /prefix1/prefix2
OSC Data Type: Float
OSC Velocity Sensitive: No
OSC CC #1 OFF/Min Value: 0
OSC CC #1 ON/Max Value: 1
OSC CC #2 Min Value: 0
OSC CC #2 Max Value: 127
OSC Send OFF Command: Yes
MIDI channel: 0
Note/CC #: 0
MIDI Data Type: CC
MIDI Velocity Sensitive: No
CC #1 OFF/Min: 0
CC #1 ON/Max: 0
CC #2: 0
CC #2 Min: 0
CC #2 Max: 0
MIDI Send OFF Command: Yes
Forecolor R: 200
Forecolor G: 0
Forecolor B: 0
Forecolor T: 255
Backcolor R: 80
Backcolor G: 80
Backcolor B: 80
Backcolor T: 255
Textcolor R: 255
Textcolor G: 255
Textcolor B: 255
Textcolor T: 255
Bordercolor R: 255
Bordercolor G: 255
Bordercolor B: 255
Bordercolor T: 255
Screen label: cc1
Front-Back: 0
Allow Sliding: No
Border Width: 6
Fontsize: 20
Switch to Layout:
Direction: Normal


Surface-Edit file:

{"MDL format version":1,"interfaces":[{"aspect ratio":1.77777777777777767909128669998608529567718505859375,"x number of cells":1,"y number of cells":1,"cell subdivisions":60,"snap to grid":true,"background color":{"red":143,"green":129,"blue":72},"zoom factor":7.40273700597297423797726878547109663486480712890625,"origin on screen":[24,89],"pages":[{"zones":[{"name":"Dial","is a card":false,"always active":false,"shape class":"ch.cmusge.ipercussion.dial.Dial","line color":{"red":22,"green":30,"blue":32},"line thickness":"light","line style":"style 1","activate drag handle":false,"show name as label":false,"anchor point":[0.19672,0.16393],"size":[0.2459,0.42623],"highlight when actived":false,"activation tree":[{"event processor type":"simple event processor","event processor configuration":{"filters":[{"filter type":"event type filter","filter configuration":{"event class":"ch.cmusge.ipercussion.dial.DialValueChangeEvent","event modality":"controller"}}],"actions":[{"action class":"ch.cmusge.ipercussion.osc.D","action configuration":{"name":"OSC Action","logical OSC":[{"logical OSC device":"A"}],"OSC target":"/prefix1/prefix2","OSC target arguments":[{"OSC argument value":"Dial value","OSC argument type":"variableDouble"}]}}]},"tree node class":"ch.cmusge.ipercussion.osc.C","tree node configuration":{}}],"component specific configuration":{"inertia":"true"}}]}],"linked page":[{"zones":[]}]}]}

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Fri Mar 15, 2013 11:18 am

Ok, so you only tried it with the upcoming version ?
Note that at least one other user is reporting the same problem in this thread,
he's using Max 6.1.

Btw, I already see some nice new things in the new layout file... Wink

I'll check what Surface Editor outputs with your file, thanks for posting !

coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Fri Mar 15, 2013 11:50 am

coupe70 wrote:Ok, so you only tried it with the upcoming version ?
Yeah, I only tested it using the new version. I just don't have the time right now to archive the new version, restore the old version, test it, fix it, release it, possibly have to add the fix in the new version, blah, blah blah... you get the drift Smile

coupe70 wrote:Note that at least one other user is reporting the same problem in this thread,
he's using Max 6.1.
Yeah, I mis-read his post. I thought he was referring to how DAWOSC shows the last received OSC message.


coupe70 wrote:Btw, I already see some nice new things in the new layout file... Wink
Yeah, there's some cool new features in the new version:

controllers have min/max values
controllers can be transparent (or just parts of them)
controllers in all layouts can be updated, not the the current layout
controllers can be reversed
20 layouts can be loaded
ability to not send button OFF commands
layouts can have background colors
x,y screen offset to make the touch more accurate
ability to bulk update layouts in the editor
ability to create "layout lists" so you can load 20 layouts at once

I was hoping to release this weeks ago, but other things got in the way! lol!

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Fri Mar 15, 2013 11:57 am

20 layouts and layout lists, YAY !!!! cheers

coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Fri Mar 15, 2013 2:17 pm

Ok, I tested it.
With Surface Editor it....works !
And now it comes: It works with Reaktor, too !
But not reliable Neutral

When I boot my tablet and open DAWOSC it works with both apps.
When I switch between layouts it keeps working.
When I exit the app and re-open it - it stops working with both apps !
(OSC is still received and displayed in the tech info as usual)
When I restart the tablet and open DAWOSC for the first time it's working again...

When I boot my tablet, open DAWOSC, close DAWOSC without having done anything
and then re-open DAWOSC it is already broken.



coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Tue Mar 19, 2013 6:56 am

Mark, including the latest posts in the bugs section (I didn't see the one originally from february)
we seem to have 4 people reporting the same bug. So half of the OSC functionality seems to
be broken... Crying or Very sad

coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  Bungle on Tue Mar 19, 2013 7:36 am

Confirmed here
App does not work, sorry i started a thread in the Reaper sub forum before finding out about this thread
I can confirm this on 3 different devices (HP Touchpad, Samsung Galaxy Note, Samsung Galaxy Ace)

Bungle

Posts : 9
Join date : 2013-03-19

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Tue Mar 19, 2013 8:04 am

I'm going to have to keep this really short becuase I'm at work and I'm totally slammed due to a corporate takeover right now.

I only found out about these OSC issues a few days ago (maybe a week ago). Before that, I assumed OSC was working properly because no one mentioned any issues (and I don't use OSC personally). The main problem is that the app is in the middle of a major update, so even if I fix the OSC issue right now, I still couldn't release the app because some of the new features aren't tested yet and other new features aren't 100% done yet.

The other problem is that I just don't have time to work on this for about a week. Things are just as crazy and busy for me outside of work as well. So this probably won't get resolved for about a week or so.

Sorry for the problems and thanks for your patience Smile

Mark

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  coupe70 on Mon Mar 25, 2013 7:08 am

Addition:
OSC input also seems to break when I enter preferences.
When I go back to the layout it does not work anymore.
I don't have to do anything in preferences, just entering
and leaving it is enough.

coupe70

Posts : 92
Join date : 2013-01-15

View user profile

Back to top Go down

Re: Fader not reacting to OSC input

Post  Admin on Mon Mar 25, 2013 8:31 am

This is fixed in the upcoming version Smile

Admin
Admin

Posts : 384
Join date : 2012-11-17

View user profile http://dawosc.forumotion.com

Back to top Go down

Re: Fader not reacting to OSC input

Post  Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum