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

Osc remote options #1311

Merged
merged 2 commits into from Jan 26, 2021
Merged

Osc remote options #1311

merged 2 commits into from Jan 26, 2021

Conversation

@catfact
Copy link
Collaborator

@catfact catfact commented Jan 25, 2021

add option for the single-argument OSC patterns /remote/[enc|key]/n d in addition to the 2-argument patterns /remote/[enc|key] n d.

this allows the remote function to be used with limited/inflexible clients like TouchOSC.

supercollider client code looks like this:

~norns_addr = NetAddr("norns.local", 10111);

~enc = { arg n, d;
	~norns_addr.sendMsg('/remote/enc', n, d);
};

// other option:
~enc = { arg n, d;
	~norns_addr.sendMsg(("/remote/enc/"++n).asSymbol, d);
};

~enc.value(1, 8);
~enc.value(1, -8);

@catfact
Copy link
Collaborator Author

@catfact catfact commented Jan 25, 2021

(oh to be clear, this is just a proposal, to take or leave.)

@catfact catfact force-pushed the catfact:osc-remote-options branch 2 times, most recently from 247427a to cd0a3d7 Jan 25, 2021
@catfact catfact force-pushed the catfact:osc-remote-options branch from cd0a3d7 to 5372682 Jan 25, 2021
@tehn
tehn approved these changes Jan 26, 2021
@tehn tehn merged commit ba0552b into monome:main Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants