VRC SDK
This project aims to completely document the VRChat Unity SDK
Loading...
Searching...
No Matches
VRC.SDK3.Midi.VRCMidiHandler Class Reference
Inheritance diagram for VRC.SDK3.Midi.VRCMidiHandler:
Collaboration diagram for VRC.SDK3.Midi.VRCMidiHandler:

Static Public Member Functions

static IVRCMidiInput OpenMidiInput< T > (string deviceName=null)
 

Static Public Attributes

const int STATUS_NOTE_OFF = 128
 
const int STATUS_NOTE_ON = 144
 
const int STATUS_CONTROL_CHANGE = 176
 

Properties

IVRCMidiInput MidiIn [get]
 
static Func< IVRCMidiInputInitialize [get, set]
 
static Action< string > OnLog [get, set]
 
static VRCMidiHandler Instance [get, set]
 
MidiVoiceMessageDelegate OnNoteOn
 
MidiVoiceMessageDelegate OnNoteOff
 
MidiVoiceMessageDelegate OnControlChange
 

Private Member Functions

void SendMidiMessage (object sender, MidiVoiceEventArgs args)
 
void Update ()
 
void OnDestroy ()
 

Static Private Member Functions

static void Log (string message)
 

Private Attributes

MidiVoiceMessageDelegate m_OnNoteOn
 
MidiVoiceMessageDelegate m_OnNoteOff
 
MidiVoiceMessageDelegate m_OnControlChange
 

Detailed Description

Definition at line 1968 of file VRCSDK3.cs.

Member Function Documentation

◆ Log()

static void VRC.SDK3.Midi.VRCMidiHandler.Log ( string  message)
staticprivate

Definition at line 2220 of file VRCSDK3.cs.

Here is the caller graph for this function:

◆ OnDestroy()

void VRC.SDK3.Midi.VRCMidiHandler.OnDestroy ( )
private

Definition at line 2207 of file VRCSDK3.cs.

Here is the call graph for this function:

◆ OpenMidiInput< T >()

static IVRCMidiInput VRC.SDK3.Midi.VRCMidiHandler.OpenMidiInput< T > ( string  deviceName = null)
static
Type Constraints
T :IVRCMidiInput 
T :new() 

Definition at line 2150 of file VRCSDK3.cs.

Here is the call graph for this function:

◆ SendMidiMessage()

void VRC.SDK3.Midi.VRCMidiHandler.SendMidiMessage ( object  sender,
MidiVoiceEventArgs  args 
)
private

Definition at line 2164 of file VRCSDK3.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Update()

void VRC.SDK3.Midi.VRCMidiHandler.Update ( )
private

Definition at line 2198 of file VRCSDK3.cs.

Here is the call graph for this function:

Member Data Documentation

◆ m_OnControlChange

MidiVoiceMessageDelegate VRC.SDK3.Midi.VRCMidiHandler.m_OnControlChange
private

Definition at line 1985 of file VRCSDK3.cs.

◆ m_OnNoteOff

MidiVoiceMessageDelegate VRC.SDK3.Midi.VRCMidiHandler.m_OnNoteOff
private

Definition at line 1982 of file VRCSDK3.cs.

◆ m_OnNoteOn

MidiVoiceMessageDelegate VRC.SDK3.Midi.VRCMidiHandler.m_OnNoteOn
private

Definition at line 1979 of file VRCSDK3.cs.

◆ STATUS_CONTROL_CHANGE

const int VRC.SDK3.Midi.VRCMidiHandler.STATUS_CONTROL_CHANGE = 176
static

Definition at line 1974 of file VRCSDK3.cs.

◆ STATUS_NOTE_OFF

const int VRC.SDK3.Midi.VRCMidiHandler.STATUS_NOTE_OFF = 128
static

Definition at line 1970 of file VRCSDK3.cs.

◆ STATUS_NOTE_ON

const int VRC.SDK3.Midi.VRCMidiHandler.STATUS_NOTE_ON = 144
static

Definition at line 1972 of file VRCSDK3.cs.

Property Documentation

◆ Initialize

Func<IVRCMidiInput> VRC.SDK3.Midi.VRCMidiHandler.Initialize
staticgetset

Definition at line 2009 of file VRCSDK3.cs.

◆ Instance

VRCMidiHandler VRC.SDK3.Midi.VRCMidiHandler.Instance
staticgetset

Definition at line 2027 of file VRCSDK3.cs.

◆ MidiIn

IVRCMidiInput VRC.SDK3.Midi.VRCMidiHandler.MidiIn
getprivate

Definition at line 1989 of file VRCSDK3.cs.

◆ OnControlChange

MidiVoiceMessageDelegate VRC.SDK3.Midi.VRCMidiHandler.OnControlChange
addremove

Definition at line 2116 of file VRCSDK3.cs.

◆ OnLog

Action<string> VRC.SDK3.Midi.VRCMidiHandler.OnLog
staticgetset

Definition at line 2019 of file VRCSDK3.cs.

◆ OnNoteOff

MidiVoiceMessageDelegate VRC.SDK3.Midi.VRCMidiHandler.OnNoteOff
addremove

Definition at line 2082 of file VRCSDK3.cs.

◆ OnNoteOn

MidiVoiceMessageDelegate VRC.SDK3.Midi.VRCMidiHandler.OnNoteOn
addremove

Definition at line 2048 of file VRCSDK3.cs.


The documentation for this class was generated from the following file: