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
Code for the paper "Functional Regularization for Reinforcement Learning via Learned Fourier Features"

Reinforcement Learning with Learned Fourier Features State-space Soft Actor-Critic Experiments Move to the state-SAC-LFF repository. cd state-SAC-LFF

Alex Li 10 Nov 11, 2022
This is the official pytorch implementation of Student Helping Teacher: Teacher Evolution via Self-Knowledge Distillation(TESKD)

Student Helping Teacher: Teacher Evolution via Self-Knowledge Distillation (TESKD) By Zheng Li[1,4], Xiang Li[2], Lingfeng Yang[2,4], Jian Yang[2], Zh

Zheng Li 9 Sep 26, 2022
MWPToolkit is a PyTorch-based toolkit for Math Word Problem (MWP) solving.

MWPToolkit is a PyTorch-based toolkit for Math Word Problem (MWP) solving. It is a comprehensive framework for research purpose that integrates popular MWP benchmark datasets and typical deep learnin

119 Jan 04, 2023
Point Cloud Registration using Representative Overlapping Points.

Point Cloud Registration using Representative Overlapping Points (ROPNet) Abstract 3D point cloud registration is a fundamental task in robotics and c

ZhuLifa 36 Dec 16, 2022
LF-YOLO (Lighter and Faster YOLO) is used to detect defect of X-ray weld image.

This project is based on ultralytics/yolov3. LF-YOLO (Lighter and Faster YOLO) is used to detect defect of X-ray weld image. The related paper is avai

26 Dec 13, 2022
A PyTorch implementation for V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentation

A PyTorch implementation of V-Net Vnet is a PyTorch implementation of the paper V-Net: Fully Convolutional Neural Networks for Volumetric Medical Imag

Matthew Macy 606 Dec 21, 2022
Implementation of Memformer, a Memory-augmented Transformer, in Pytorch

Memformer - Pytorch Implementation of Memformer, a Memory-augmented Transformer, in Pytorch. It includes memory slots, which are updated with attentio

Phil Wang 60 Nov 06, 2022
Official implement of Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer

Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer This repository contains the PyTorch code for Evo-ViT. This work proposes a slow-fas

YifanXu 53 Dec 05, 2022
Session-aware Item-combination Recommendation with Transformer Network

Session-aware Item-combination Recommendation with Transformer Network 2nd place (0.39224) code and report for IEEE BigData Cup 2021 Track1 Report EDA

Tzu-Heng Lin 6 Mar 10, 2022
Using deep learning model to detect breast cancer.

Breast-Cancer-Detection Breast cancer is the most frequent cancer among women, with around one in every 19 women at risk. The number of cases of breas

1 Feb 13, 2022
RAANet: Range-Aware Attention Network for LiDAR-based 3D Object Detection with Auxiliary Density Level Estimation

RAANet: Range-Aware Attention Network for LiDAR-based 3D Object Detection with Auxiliary Density Level Estimation Anonymous submission Abstract 3D obj

30 Sep 16, 2022
[ICCV'2021] "SSH: A Self-Supervised Framework for Image Harmonization", Yifan Jiang, He Zhang, Jianming Zhang, Yilin Wang, Zhe Lin, Kalyan Sunkavalli, Simon Chen, Sohrab Amirghodsi, Sarah Kong, Zhangyang Wang

SSH: A Self-Supervised Framework for Image Harmonization (ICCV 2021) code for SSH Representative Examples Main Pipeline RealHM DataSet Google Drive Pr

VITA 86 Dec 02, 2022
A repository for the updated version of CoinRun used to collect MUGEN, a multimodal video-audio-text dataset.

A repository for the updated version of CoinRun used to collect MUGEN, a multimodal video-audio-text dataset. This repo contains scripts to train RL agents to navigate the closed world and collect vi

MUGEN 11 Oct 22, 2022
Data Augmentation Using Keras and Python

Data-Augmentation-Using-Keras-and-Python Data augmentation is the process of increasing the number of training dataset. Keras library offers a simple

Happy N. Monday 3 Feb 15, 2022
Official implementation of the paper Vision Transformer with Progressive Sampling, ICCV 2021.

Vision Transformer with Progressive Sampling This is the official implementation of the paper Vision Transformer with Progressive Sampling, ICCV 2021.

yuexy 123 Jan 01, 2023
Code for A Volumetric Transformer for Accurate 3D Tumor Segmentation

VT-UNet This repo contains the supported pytorch code and configuration files to reproduce 3D medical image segmentaion results of VT-UNet. Environmen

Himashi Amanda Peiris 114 Dec 20, 2022
Mitsuba 2: A Retargetable Forward and Inverse Renderer

Mitsuba Renderer 2 Documentation Mitsuba 2 is a research-oriented rendering system written in portable C++17. It consists of a small set of core libra

Mitsuba Physically Based Renderer 2k Jan 07, 2023
Streamlit App For Product Analysis - Streamlit App For Product Analysis

Streamlit_App_For_Product_Analysis Здравствуйте! Перед вами дашборд, позволяющий

Grigory Sirotkin 1 Jan 10, 2022
The repository contains reproducible PyTorch source code of our paper Generative Modeling with Optimal Transport Maps, ICLR 2022.

Generative Modeling with Optimal Transport Maps The repository contains reproducible PyTorch source code of our paper Generative Modeling with Optimal

Litu Rout 30 Dec 22, 2022
Datasets, tools, and benchmarks for representation learning of code.

The CodeSearchNet challenge has been concluded We would like to thank all participants for their submissions and we hope that this challenge provided

GitHub 1.8k Dec 25, 2022