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
cl;asification problem using classification models in supervised learning

wine-quality-predition---classification cl;asification problem using classification models in supervised learning Wine Quality Prediction Analysis - C

Vineeth Reddy Gangula 1 Jan 18, 2022
R interface to fast.ai

R interface to fastai The fastai package provides R wrappers to fastai. The fastai library simplifies training fast and accurate neural nets using mod

113 Dec 20, 2022
TSP: Temporally-Sensitive Pretraining of Video Encoders for Localization Tasks

TSP: Temporally-Sensitive Pretraining of Video Encoders for Localization Tasks [Paper] [Project Website] This repository holds the source code, pretra

Humam Alwassel 83 Dec 21, 2022
Near-Optimal Sparse Allreduce for Distributed Deep Learning (published in PPoPP'22)

Near-Optimal Sparse Allreduce for Distributed Deep Learning (published in PPoPP'22) Ok-Topk is a scheme for distributed training with sparse gradients

Shigang Li 9 Oct 29, 2022
Pretrained language model and its related optimization techniques developed by Huawei Noah's Ark Lab.

Pretrained Language Model This repository provides the latest pretrained language models and its related optimization techniques developed by Huawei N

HUAWEI Noah's Ark Lab 2.6k Jan 01, 2023
SAMO: Streaming Architecture Mapping Optimisation

SAMO: Streaming Architecture Mapping Optimiser The SAMO framework provides a method of optimising the mapping of a Convolutional Neural Network model

Alexander Montgomerie-Corcoran 20 Dec 10, 2022
HINet: Half Instance Normalization Network for Image Restoration

HINet: Half Instance Normalization Network for Image Restoration Liangyu Chen, Xin Lu, Jie Zhang, Xiaojie Chu, Chengpeng Chen Paper: https://arxiv.org

303 Dec 31, 2022
[CVPR 2021] Scan2Cap: Context-aware Dense Captioning in RGB-D Scans

Scan2Cap: Context-aware Dense Captioning in RGB-D Scans Introduction We introduce the task of dense captioning in 3D scans from commodity RGB-D sensor

Dave Z. Chen 79 Nov 07, 2022
PyTorchMemTracer - Depict GPU memory footprint during DNN training of PyTorch

A Memory Tracer For PyTorch OOM is a nightmare for PyTorch users. However, most

Jiarui Fang 9 Nov 14, 2022
Joint project of the duo Hacker Ninjas

Project Smoothie Společný projekt dua Hacker Ninjas. První pokus o hříčku po třech týdnech učení se programování. Jakub Kolář e:\

Jakub Kolář 2 Jan 07, 2022
Minimal PyTorch implementation of YOLOv3

A minimal PyTorch implementation of YOLOv3, with support for training, inference and evaluation.

Erik Linder-Norén 6.9k Dec 29, 2022
This is a Image aid classification software based on python TK library development

This is a Image aid classification software based on python TK library development.

EasonChan 1 Jan 17, 2022
Video Representation Learning by Recognizing Temporal Transformations. In ECCV, 2020.

Video Representation Learning by Recognizing Temporal Transformations [Project Page] Simon Jenni, Givi Meishvili, and Paolo Favaro. In ECCV, 2020. Thi

Simon Jenni 46 Nov 14, 2022
A python library to build Model Trees with Linear Models at the leaves.

A python library to build Model Trees with Linear Models at the leaves.

Marco Cerliani 212 Dec 30, 2022
An unofficial PyTorch implementation of a federated learning algorithm, FedAvg.

Federated Averaging (FedAvg) in PyTorch An unofficial implementation of FederatedAveraging (or FedAvg) algorithm proposed in the paper Communication-E

Seok-Ju Hahn 123 Jan 06, 2023
Code for "Modeling Indirect Illumination for Inverse Rendering", CVPR 2022

Modeling Indirect Illumination for Inverse Rendering Project Page | Paper | Data Preparation Set up the python environment conda create -n invrender p

ZJU3DV 116 Jan 03, 2023
Code for the paper: Adversarial Training Against Location-Optimized Adversarial Patches. ECCV-W 2020.

Adversarial Training Against Location-Optimized Adversarial Patches arXiv | Paper | Code | Video | Slides Code for the paper: Sukrut Rao, David Stutz,

Sukrut Rao 32 Dec 13, 2022
Event-forecasting - Event Forecasting Algorithms With Python

event-forecasting Event Forecasting Algorithms Theory Correlating events in comp

Intellia ICT 4 Feb 15, 2022
Deep learning image registration library for PyTorch

TorchIR: Pytorch Image Registration TorchIR is a image registration library for deep learning image registration (DLIR). I have integrated several ide

Bob de Vos 40 Dec 16, 2022
Official code repository for the EMNLP 2021 paper

Integrating Visuospatial, Linguistic and Commonsense Structure into Story Visualization PyTorch code for the EMNLP 2021 paper "Integrating Visuospatia

Adyasha Maharana 23 Dec 19, 2022