diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..3bd06aa --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +# MIT License + +Copyright (c) 2023 Christopher Arndt + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f6bba04 --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +# Godot 4 OSC Demo + +An example project for the [Godot 4 engine](https://godotengine.org), +demonstrating support for [Open Sound Control](https://opensoundcontrol.org) +(OSC) protocol, implemented in *GDScript*. + +The project contains the class `OSCReceiver`, implementing an OSC UDP server +and OSC message parser and dispatcher, as well as the class `OSCSender`, +implementing an OSC client for sending OSC messages over UDP. + +A simple UI with four sliders and four buttons, which each send OSC messages on +changes and can be set via received OSC messages, demonstrates the use of these +classes. + + +## Limitations + +This project is a prototype and the OSC implementaion does not have support +for all the features laid out in the OSC 1.0 and 1.1 specifications. + +- No support for sending or receiving OSC bundles yet. +- OSC timetags are not parsed or used. + + Client code will receive them as 8-byte arrays and, for sending, must pass + them in this form as well. + +These are planned to be supported eventually. + +- No support for the array typetags `[` and `]`. + +This might be supported at some later date. + +- No support for OSC message dispatching based on adress patterns. + +There are no plans to support the latter. + +Furthermore the API ist still considered unstable and may still change. + + +## License + +[MIT](https://choosealicense.com/licenses/mit/) License + +See the file [LICENSE.md](./LICENSE.md) for details. + + +## Authors + +- [Christopher Arndt](https://www.github.com/SpotlightKid) + + +## Acknowledgements + +* Inspired by [example_godot_gdscript_osc](https://github.com/shimpe/example_godot_gdscript_osc)