Giter Site home page Giter Site logo

oscklak's Introduction

OscKlak

OscKlak is an extension for Klak, that provides functionality for receiving OSC (Open Sound Control) messages sent over UDP.

GIF

System Requirements

  • Unity 5.0 or later versions

The OscKlak package doesn't include the base Klak modules. They should be installed before importing OscKlak.

How To Use It

OscKlak provides only a single component named OscInput, which receives OSC messages and invokes Unity events with input values. For further details of use, please refer to the sample scenes in the "Samples" directory.

Additional Notes

  • Currently, the UDP port number for incoming OSC messages is fixed at 9000. This number is hardcoded in OscMaster.cs. In case it has to be changed, please modify this line.
  • Incoming OSC messages are viewable on the OSC monitor window (main menu “Window” - “OSC Monitor”).

License

Copyright (C) 2016 Keijiro Takahashi

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.

oscklak's People

Contributors

keijiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oscklak's Issues

Receiving value just once

Hi!
Great work with Unity, big fan of yours here. :)
There's a tiny problem I'm having at least on Mac.
If the OSCMonitor is opened, everything works fine. The moment I close it, then I just get once more the value sent and stop receiving after that.
The issue is also shared with OSCjack.
Am I missing adding a 'master' script somewhere? In the example scenes is the same.
Thanks

Usage of OscKlak conflicts with OscJack

I need to use both OscKlak and OscJack. When importing both and setting different ports (if you don't do that, you get an error message), it sometimes works fine. Sometimes after restarting Unity both preview windows stay blank and no OSC messages are received however

Translate on more axis

Hi Kwijiri and, first of all, thank you for your wonderful work.
I have a little issue using your teapot example: I cannot underdstand how to act on both 3 axis to translate the teapot.
I tried to send x, y and z coordinates on three different OSC indexes and to use three different OSC inputs and to merge them on a single transform, or in three diffrent transform… or even to use a single OSC index with three values…
I tried, just for testing, to use three noise, instead the OSC inputs, but still I cannot translate the object on more than one axis.
Can you please help me understand which is the correct way to reach my goal?
Thank you and, please, forgive my bad english.

Smartphone interaction with osc

hi. i seen that you iteract OSC server with smartphone. can u show us project for mobile, as exemple of osc communication?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.