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

add option in JUCE to allow forbidden characters in OSC addresses. #528

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

benkuper
Copy link

I've been struggling with a lot of people and software designers who decided to prioritize "user-friendly" osc addresses (e.g. with spaces : /my super/address) against OSC specification compliance. Those are famous software in digital art, like MadMapper or Millumin.
The way OSC is handled in JUCE right now doesn't allow programmers to decide whether they want to allow those addresses, and it can be a blocker if you really need to be able to communicate with those not standard softwares.

The proposal is to add a module option (disabled by default), that bypasses the special chars check when enabled

@FigBug
Copy link
Contributor

FigBug commented May 13, 2019

This would be very useful. TouchOSC illegal characters in it's default maps.

@benkuper
Copy link
Author

Thank you for the very thorough explanation.
How do you suggest I should do that while still using the juce_osc module ? If the proposed solution means "deal with your own OSC implementation", then I don't find it very constructive..
If there is a "JUCE friendly" way to still use the juce_osc module but being able to receive and parse those adresses, then I would love to discuss how and propose a PR going this direction.

@benkuper
Copy link
Author

benkuper commented Apr 19, 2022

I totally agree that stepping out of the standard is NOT a good idea and the real fix should be done on the other side.
But I don't have source code access to the [many] software that don't respect it, and my goal developing the software I build is to be as compliant as possible with all of them, still trying to "educate" people on respecting the standard.
I thought it would be a nice addition to JUCE to allow that in a simple way that proves working for all the cases I've encountered, but I guess this would need way more work to have something that you would be happy with, unfortunately I don't have that time :)
FYI, this one of the main projects I have had the need for that : https://benjamin.kuperberg.fr/chataigne

Cheers and thank you for taking the time to explain

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

Successfully merging this pull request may close these issues.

2 participants