-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Wiki #43
Comments
What I think we need is a detailed list of all the features of SwiftOSC with code. Probably start with basic setup and examples of using each data type. |
Agreed. I think it would be helpful to have several examples, as well as all the different queries you can make to check the status of either the client or server |
One thing I found a bit jarring in getting started, was how simple this library is. Most I have used say it's so easy do x, y, and z. But in reality you have to do so many other things. I was expecting the same and got tripped up when it was just that simple. But a detailed Wiki with a list of all properties and methods would be great. Also adding detailed comments that show Quick Help would be super helpful. eg:
|
Forgot about Quick Help. Maybe we should start with that.
… On Jan 17, 2020, at 1:08 PM, GW ***@***.***> wrote:
One thing I found a bit jarring in getting started, was how simple this library is. Most I have used say it's so easy do x, y, and z. But in reality you have to do so many other things. I was expecting the same and got tripped up when it was just that simple.
But a detailed Wiki with a list of all properties and methods would be great. Also adding detailed comments that show Quick Help <https://developer.apple.com/library/archive/documentation/Xcode/Reference/xcode_markup_formatting_ref/SymbolDocumentation.html> would be super helpful. eg:
/// Here's some details
func foo() {)
/**
*A description field*
- important: This is
a way to get the
readers attention for
something.
- returns: Nothing
*Another description field*
- version: 1.0
*/
func bar() {}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#43?email_source=notifications&email_token=ADDIQEL7EAACNYX4JL4BWWDQ6IM3LA5CNFSM4KIN4IB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJI7C2I#issuecomment-575795561>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADDIQEPR7JIFQETTVIKOUADQ6IM3LANCNFSM4KIN4IBQ>.
|
Sounds good. What do you think is the best way to move forward? One idea, we could each take one of the main classes (OSCServer and OSCClient) and add the quick help comments as a branch. Then we can review it and see the best of each pattern to come up with a design pattern. After that we could each attack a set of files while doing pull requests with code reviews into a branch (lets call it 1.4). Thoughts? |
After giving it some thought, I think it will be better if I tackle the quick help and why don't you focus on the wiki. They can help inform the other. I'll come up with a battle plan and what order to tackle things. and let you know. |
Works for me. One question, do you want the text in the quick help and the wiki to be the same? At least for the basic descriptions? |
I have no qualms with that. What are your thoughts?
… On Jan 18, 2020, at 6:00 PM, GW ***@***.***> wrote:
Works for me.
One question, do you want the text in the quick help and the wiki to be the same? At least for the basic descriptions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#43?email_source=notifications&email_token=ADDIQEKINBZNP2FL5GXTSW3Q6OX4TA5CNFSM4KIN4IB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJKGVIY#issuecomment-575957667>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADDIQEKYSIFU4O7ZPSHJJM3Q6OX4TANCNFSM4KIN4IBQ>.
|
Let's look at
That language says to me not only what it does, but tells the user basically how to use it. Chances are, they'd used this method with an Also, note the "if connected". Telling the user there's a prerequisite for this to work. It could be more explicit like "if connected to a valid port and address". But I'm not sure that's necessary. So in the Wiki, under this method it would have the exact same language as a description, and it would include an example and parameter description (with a link that that part of the wiki). I use Appcode with the plugin Swiftlint. They recently did a Wiki for their rules, and I love the format. Check it out and let me know what you think. |
It sounds like you know what you're doing and I'm pretty busy with other stuff between this repo and BlackHole. So why don't you just go ahead and work on stuff and I'll just edit as I see fit. Your format looks good to me. |
Sounds good to me. Would you mind creating a 1.4 branch? I'll use my fork to do changes, then do pull requests into that branch so you can code review it. I'll start with the quick help, then move onto the wiki. |
Done. |
Hey Devin, Sorry I've been MIA. Had to travel for work and haven't been able to keep updating the quick help. I'm back now and should be able to keep working on it tonight. |
No worries. I just merged it so i can make some changes myself when i can. |
Until wiki is ready, can you support within this thread? I has iPad project to communicate Behringer X32 digital mixer via OSC. First of all, thank you for your job with this library! My questions related to send blob values. Unofficial document of x32 osc protocol says: "blobs (arbitrary binary data) follow specific rules depending on the section they apply to (see later in this document)" For example: how to send "/‐prefs/haflags" command with SwitchOSC libary? Is it blob format? How to use use Blob? Document can be founded here: https://sites.google.com/site/patrickmaillot/x32 |
The docs say it’s an int. So you’d send it exactly like an int.
/‐prefs/haflags
Global parameters: <int> is a bitmask
bit 0: Lock Stagebox
bit 1: X32 HA Gain split mode
bit 2: AES50/A HA Gain split mode
bit 3: AES50/B HA Gain split mode
… On Jun 9, 2020, at 12:01 PM, Lassi Tanskanen ***@***.***> wrote:
Until wiki is ready, can you support within this thread?
I has iPad project to communicate Behringer X32 digital mixer via OSC. First of all, thank you for your job with this library!
My questions related to send blob values. Unofficial document of x32 osc protocol says: "blobs (arbitrary binary data) follow specific rules depending on the section they apply to (see later in this document)"
For example: how to send "/‐prefs/haflags" command with SwitchOSC libary? Is it blob format?
How to use use Blob?
Document can be founded here: https://sites.google.com/site/patrickmaillot/x32 <https://sites.google.com/site/patrickmaillot/x32>
Topics to search: "/‐prefs/haflags" or "Protocol Parameters"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#43 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADDIQEOP5XGMOBCUBQNG5M3RV2BJTANCNFSM4KIN4IBQ>.
|
Hmm, can you form example command for me? I have research this a lot. |
I have a question.
|
The purpose of the Timetag is for the server to hold the message in memory and deliver it at some times in the future. Generally speaking you should just leave it out or set to 1. Not recommended to use small values like this.
Devin
…On Dec 19, 2020, 7:08 PM -0800, pekochun ***@***.***>, wrote:
I have a question.
What is following code?
Is this a concept close to the timeout value in UDP?
var bundle = OSCBundle(Timetag(secondsSinceNow: 0.016), message)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Discussion about setting up a wiki.
The text was updated successfully, but these errors were encountered: