You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

3.0 KiB

midi_util グループ

概要

メンバー 説明
enum midi_packet_length_t 可能なパケット長の値の列挙型。
public bool midi_is_statusbyte(uint8_t theByte) 指定されたバイトがステータスバイトであるかどうかを検査します。
public bool midi_is_realtime(uint8_t theByte) 指定されたバイトがリアルタイムメッセージであるかどうかを検査します。
public midi_packet_length_t midi_packet_length(uint8_t status) 指定されたステータスバイトに関連付けられたパケットの長さを調べます。

メンバー

enum midi_packet_length_t

説明
UNDEFINED
ONE
TWO
THREE

可能なパケット長の値の列挙型。

public bool midi_is_statusbyte(uint8_t theByte)

指定されたバイトがステータスバイトであるかどうかを検査します。

パラメータ

  • theByte 検査するバイト

返り値

指定されたバイトが MIDI ステータスバイトの場合は true

public bool midi_is_realtime(uint8_t theByte)

指定されたバイトがリアルタイムメッセージであるかどうかを検査します。

パラメータ

  • theByte 検査するバイト

返り値

リアルタイムメッセージの場合は true、それ以外の場合は false

public midi_packet_length_t midi_packet_length(uint8_t status)

指定されたステータスバイトに関連付けられたパケットの長さを調べます。

パラメータ

  • status ステータスバイト

返り値

パケットの長さ。バイトがステータスバイトではない場合、あるいは sysex ステータスバイトの場合は、UNDEFINED を返します。