Vrcwatch - Supply the local time to VRChat as Avatar Parameters through OSC

Overview

English: README-EN.md

VRCWatch

VRCWatch は、VRChat 内のアバター向けに現在時刻を送信するためのプログラムです。

使い方

VRChat 起動前、もしくは起動中に run.bat を実行してください。 または VRCWatch ディレクトリをカレントディレクトリにした状態で python3 -m vrcwatch を実行してください。

// TODO: 加筆する

Avatar Parameter

このプログラムでは VRChat の OSC (OpenSound Control) 機能を利用して、 以下のパラメータを Avatar Parameter として送信します。 全てのパラメータは必ず DateTime から始まります。

  • DateTimeYear
    • 型: 整数 (int)
    • グレゴリオ暦での年数です。
    • 2022 年であれば、2022 となります。
  • DateTimeMonth
    • 型: 整数 (int)
    • グレゴリオ暦での月です。1 以上 12 以下の整数を取ります。
    • 1 月あれば、1 を、2 月であれば 2 を、12 月であれば 12 を取ります。
  • DateTimeDay
    • 型: 整数 (int)
    • 当月内での日数です。1 以上 31 以下の整数を取ります。
    • 1 月 23 日であれば 23 を、2 月 29 日であれば、29 を、11 月 30 日であれば 30 を取ります。
  • DateTimeWeekDay
    • 型: 整数 (int)
    • 1 週間内での曜日です。0 以上 6 以下の整数を取ります。
    • 月曜日は 0 を、火曜日は 1 を、水曜日は 2 を、土曜日は 5 を、日曜日は 6 を取ります。
  • DateTimeHour
    • 型: 整数 (int)
    • 1 日を 24 分割している、時 (じ) です。0 以上 23 以下の整数を取ります。
    • 午前 0 時 12 分 (0:12) であれば 0 を、午後 3 時 45 分 (15:45) であれば 15 を、午後 11 時 59 分 (23:59) であれば 23 を取ります。
  • DateTimeMinute
    • 型: 整数 (int)
    • 1 時間を 60 分割している、分です。0 以上 59 以下の整数を取ります。
    • 午前 1 時 00 分 (1:00) であれば 0 を、午後 2 時 34 分 (14:34) であれば 34 を、午後 11 時 59 分 (23:59) であれば 59 を取ります。
  • DateTimeSecond
    • 型: 整数 (int)
    • 1 分間を 60 分割している、秒です。0 以上 59 以下の整数を取ります。
    • 午前 3 時 21 分 0 秒 (3:21:00) であれば 0 を、午後 1 時 23 分 45 秒 (13:23:45) であれば 45 を、午後 11 時 59 分 59 秒 (23:59:59) であれば 59 を取ります。
  • DateTimeHourF
    • 型: 実数 (float)
    • DateTimeHour を 24 で割った、1/24 刻みの実数です。0 以上 1 未満を取ります。
    • 午前 1 時 23 分 (1:23) であれば約 0.04167 (= 1.0 / 24) を、午後 11 時 59 分 (23:59) であれば約 0.95833 (= 23.0 / 24) を取ります。
  • DateTimeMinuteF
    • 型: 実数 (float)
    • DateTimeMinute を 60 で割った、1/60 刻みの実数です。0 以上 1 未満を取ります。
    • 午前 1 時 23 分 (1:23) であれば約 0.38333 (= 23.0 / 60) を、午後 11 時 59 分 (23:59) であれば約 0.98333 (= 59.0 / 60) を取ります。
  • DateTimeSecondF
    • 型: 実数 (float)
    • DateTimeSecond を 60 で割った、1/60 刻みの実数です。0 以上 1 未満を取ります。
    • 午前 4 時 32 分 1 秒 (3:21:01) であれば約 0.01667 (= 1.0 / 60) を、午後 2 時 34 分 59 秒 (14:24:59) であれば約 0.98333 (= 59.0 / 60) を取ります。
  • DateTimeDayTime
    • 型: 実数 (float)
    • 1 日の何割だけ時間が進んだかを表す実数です。0 以上 1 未満を取ります。
    • 午前 0 時 0 分 0 秒 (0:00:00) であれば 0.0 を、午後 12 時 59 分 59 秒 (23:59:59) を約 0.99999 を取ります。

Copyright / License

Copyright (c) 2022 Kosaki Mezumona

MIT License, see LICENSE.

Owner
Kosaki Mezumona
I'm Japanese programmer. I've studied about information technology and researched the aspect-oriented programming at a university.
Kosaki Mezumona
Accelerate Neural Net Training by Progressively Freezing Layers

FreezeOut A simple technique to accelerate neural net training by progressively freezing layers. This repository contains code for the extended abstra

Andy Brock 203 Jun 19, 2022
Self-supervised learning on Graph Representation Learning (node-level task)

graph_SSL Self-supervised learning on Graph Representation Learning (node-level task) How to run the code To run GRACE, sh run_GRACE.sh To run GCA, sh

Namkyeong Lee 3 Dec 31, 2021
FedJAX is a library for developing custom Federated Learning (FL) algorithms in JAX.

FedJAX: Federated learning with JAX What is FedJAX? FedJAX is a library for developing custom Federated Learning (FL) algorithms in JAX. FedJAX priori

Google 208 Dec 14, 2022
A large-scale video dataset for the training and evaluation of 3D human pose estimation models

ASPset-510 (Australian Sports Pose Dataset) is a large-scale video dataset for the training and evaluation of 3D human pose estimation models. It contains 17 different amateur subjects performing 30

Aiden Nibali 25 Jun 20, 2021
Official repository of OFA. Paper: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework

Paper | Blog OFA is a unified multimodal pretrained model that unifies modalities (i.e., cross-modality, vision, language) and tasks (e.g., image gene

OFA Sys 1.4k Jan 08, 2023
UPSNet: A Unified Panoptic Segmentation Network

UPSNet: A Unified Panoptic Segmentation Network Introduction UPSNet is initially described in a CVPR 2019 oral paper. Disclaimer This repository is te

Uber Research 622 Dec 26, 2022
Pervasive Attention: 2D Convolutional Networks for Sequence-to-Sequence Prediction

This is a fork of Fairseq(-py) with implementations of the following models: Pervasive Attention - 2D Convolutional Neural Networks for Sequence-to-Se

Maha 490 Dec 15, 2022
PyTorch code for Composing Partial Differential Equations with Physics-Aware Neural Networks

FInite volume Neural Network (FINN) This repository contains the PyTorch code for models, training, and testing, and Python code for data generation t

Cognitive Modeling 20 Dec 18, 2022
PyAF is an Open Source Python library for Automatic Time Series Forecasting built on top of popular pydata modules.

PyAF (Python Automatic Forecasting) PyAF is an Open Source Python library for Automatic Forecasting built on top of popular data science python module

CARME Antoine 405 Jan 02, 2023
Official Pytorch implementation for Deep Contextual Video Compression, NeurIPS 2021

Introduction Official Pytorch implementation for Deep Contextual Video Compression, NeurIPS 2021 Prerequisites Python 3.8 and conda, get Conda CUDA 11

51 Dec 03, 2022
A simple command line tool for text to image generation, using OpenAI's CLIP and a BigGAN.

Ryan Murdock has done it again, combining OpenAI's CLIP and the generator from a BigGAN! This repository wraps up his work so it is easily accessible to anyone who owns a GPU.

Phil Wang 2.3k Jan 09, 2023
Data loaders and abstractions for text and NLP

torchtext This repository consists of: torchtext.datasets: The raw text iterators for common NLP datasets torchtext.data: Some basic NLP building bloc

3.2k Jan 08, 2023
ViSER: Video-Specific Surface Embeddings for Articulated 3D Shape Reconstruction

ViSER: Video-Specific Surface Embeddings for Articulated 3D Shape Reconstruction. NeurIPS 2021.

Gengshan Yang 59 Nov 25, 2022
This code uses generative adversarial networks to generate diverse task allocation plans for Multi-agent teams.

Mutli-agent task allocation This code uses generative adversarial networks to generate diverse task allocation plans for Multi-agent teams. To change

Biorobotics Lab 5 Oct 12, 2022
Keqing Chatbot With Python

KeqingChatbot A public running instance can be found on telegram as @keqingchat_bot. Requirements Python 3.8 or higher. A bot token. Local Deploy git

Rikka-Chan 2 Jan 16, 2022
Understanding and Improving Encoder Layer Fusion in Sequence-to-Sequence Learning (ICLR 2021)

Understanding and Improving Encoder Layer Fusion in Sequence-to-Sequence Learning (ICLR 2021) Citation Please cite as: @inproceedings{liu2020understan

Sunbow Liu 22 Nov 25, 2022
Build tensorflow keras model pipelines in a single line of code. Created by Ram Seshadri. Collaborators welcome. Permission granted upon request.

deep_autoviml Build keras pipelines and models in a single line of code! Table of Contents Motivation How it works Technology Install Usage API Image

AutoViz and Auto_ViML 102 Dec 17, 2022
Exploration-Exploitation Dilemma Solving Methods

Exploration-Exploitation Dilemma Solving Methods Medium article for this repo - HERE In ths repo I implemented two techniques for tackling mentioned t

Aman Mishra 6 Jan 25, 2022
Implementation of Bagging and AdaBoost Algorithm

Bagging-and-AdaBoost Implementation of Bagging and AdaBoost Algorithm Dataset Red Wine Quality Data Sets For simplicity, we will have 2 classes of win

Zechen Ma 1 Nov 01, 2021
An Unpaired Sketch-to-Photo Translation Model

Unpaired-Sketch-to-Photo-Translation We have released our code at https://github.com/rt219/Unsupervised-Sketch-to-Photo-Synthesis This project is the

38 Oct 28, 2022