Giter Club home page Giter Club logo

Comments (3)

200Tigersbloxed avatar 200Tigersbloxed commented on July 18, 2024

So something like a /parameter/change endpoint for when a parameter is changed?

EDIT: And send the data like

object[] data = {"parameterName", parameterValue}

from cvrparamlib.

kafeijao avatar kafeijao commented on July 18, 2024

I didn't realize vrc supported output parameters when they change. Apparently they use the same address for input and output, so I guess to make it compatible with existing OSC apps doing the same would probably be the best idea.
So /avatar/parameters/name and I haven't tested since I didn't know about this before, but I assume.

As for the data format I would need to check how vrc currently does it. But I also feel like doing the same output would be great. I guess its time for me to fire up VRC ;_; it's for a good cause. I just did it ;_;

Ok so, it seems when I load a new avatar it will iterate throught my parameters, sending them to /avatar/parameters/name with a single arg containing the parameter value. And from then forward only send if they change.

And the data format is just simply the value in it's corresponding type, so something like:

Floats: object[] data = 1.0;
Bools: object[] data = false;
Ints: object[] data = 25;
Triggers: They are ignored

Thanks for looking into this! If there are any more questions or something I can help with do tell!

from cvrparamlib.

200Tigersbloxed avatar 200Tigersbloxed commented on July 18, 2024

This change has been implemented in the latest commit and is awaiting release.

from cvrparamlib.

Related Issues (8)

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.