Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons and Toggles Problem #8

Open
eloimaduell opened this issue Jan 15, 2015 · 18 comments
Open

Buttons and Toggles Problem #8

eloimaduell opened this issue Jan 15, 2015 · 18 comments

Comments

@eloimaduell
Copy link

Hi AndrOSC !

Amazing project ... love it from the first sight !

I'm having troubles to configure the OSC address of buttons and toggles.
Even i edit the widget address i keep receiveing always a "button" or "toggle" as address ...
I just edit the field, save and close the widget and play ... and doesn't work ?

Am i doing something wrong ?

Thanks !

@ahmetkizilay
Copy link
Owner

hi,
Thanks for the feedback. I hope we find a solution for you quickly.
What is the value you are trying to set? and what is your OSC host program?

@eloimaduell
Copy link
Author

Well my problem is just with the adress of the widgets ... seems like the app is throwing all the "buttons" and "toggles" with the same address even i configure it inside each widget with different addresses ...

My host is an app made with Openframeworks ... where i have not find any problem with any other OSC communication ...

Are you able to send different "adresses" for different "buttons" or "toggles" ?
I don't know why but i can't ... all my buttos send the address as "button" ... even if i change it ?¿

Is that normal ? It also happens with the provided layouts ...

e*

@ahmetkizilay
Copy link
Owner

hi,

Can you try something like this please? Open template1.json from the default layouts. Switch to edit mode (with the lock key button on bottom right). Select a button and edit its OSC: Button Pressed value. Change it from button 1 to buttonOther 1. and press save.

you should be able to receive buttonOther 1 message on your OpenFrameworks app.

Please let me know if this solves your problem.

@eloimaduell
Copy link
Author

Hi Artsince...

What your propose is exactly what i'm trying to achieve and i'm not getting the "buttonOher" message.
I'm always getting button ... no matter what i put on address field ... ?¿

It's strange because if i do similar thing with a Pad or Slider ... it works ! I DO can change addresses on Pads and Sliders ... but in Buttons and Toggles it doesn't work.

My device it's a LG G2 with Android 4.4.2.

@ahmetkizilay
Copy link
Owner

Strange...

Can you send me a screenshot of AndrOSC with edit panel visible?

@eloimaduell
Copy link
Author

Here it is ...

2015-01-15 17:47 GMT+01:00 Ahmet Kizilay notifications@github.com:

Strange...

Can you send me a screenshot of AndrOSC with edit panel visible?


Reply to this email directly or view it on GitHub
#8 (comment).

Eloi Maduell
eloi@playmodes.com
www.playmodes.com
Telef. [+34] 677.32.98.48

@eloimaduell
Copy link
Author

Did the picture arribed ?
screenshot_2015-01-15-17-49-42

@eloimaduell
Copy link
Author

Any idea what is going on ?

@ahmetkizilay
Copy link
Owner

Did you try sending the OSC message with / at the beginning? Example: /button1 1

@eloimaduell
Copy link
Author

I also tried that from the beggining ... same result : button ...
As i tried to explain on my first post seems like the address parameter is not updated when i change it ?¿
But just on toggle's and button's ...

It's working correclty on all other platforms and versions ?
Which might be the difference that makes my setup faulty ?

@takuyozora
Copy link

Hi,

It's a very promising project ! So cool to have something like this in android, as a feeedom software extra !

But I've the same problem here, I can't customize address of OSC messages from button and toggle.
Working great with VSlider.

Plateform : CyanogenMod 11 (Android 4.4.4)

@eloimaduell
Copy link
Author

Any news about this button/toggle issue ?

@takuyozora
Copy link

Yes !

I've found a way to get your very cool app running with button/toggle. If i edit a button/toggle and save and then reload the project, the button/toggle works correctly. It's a bit anoising but not too much. Any idea for fixing it ?

T.

@ahmetkizilay
Copy link
Owner

thanks @takuyozora if restarting the app seems to solve the problem, fixing it should be easy. I will take a look in the evening today.

@zo0om
Copy link

zo0om commented Jun 22, 2015

Hello. I just came across this amazing app when I was doing some simple lighting using QLC+ for a performance I was also taking part in, and I needed to be able to select two scenes with buttons. It would have been ideal to use my mobile phone for this, connected to the laptop running QLC+ and a wireless access point, until I discovered that it was unable to distinguish between the two buttons. I so hope you can have a look at this or maybe point me in the direction of where to look... I haven't done any programming for Android.

xou added a commit to xou/AndrOSC that referenced this issue Jul 21, 2015
The save() method of the Button and Toggle Settings updated the
internal string value, but didn't call the OSC parser. A method
doing this was already present in the button/toggle views, but
wasn't used.

This should fix ahmetkizilay#8.
@xou
Copy link

xou commented Jul 21, 2015

Hi, i think i identified the issue, see patch mentioned above.

@skyl
Copy link

skyl commented May 22, 2016

I'm experiencing this as well. Reloading the app worked as well.

@daeavelwyn
Copy link

First of all, @ahmetkizilay guy, you save me so many time !! thanks !! Your app is really good !

However, I'd like to mention I got the same issue that people mentioned here (I have to restart the app for changes to take effect). I'm using the 0.9.4 version from google play store.

Any plan to release a bugfix on the play store ?

regards :)

premek pushed a commit to premek/kyosc that referenced this issue Feb 11, 2018
The save() method of the Button and Toggle Settings updated the
internal string value, but didn't call the OSC parser. A method
doing this was already present in the button/toggle views, but
wasn't used.

This should fix ahmetkizilay/AndrOSC#8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants