jp.digitalmuseum.mr.entity
クラス Roomba.RoombaDriver.Note

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.entity.Roomba.RoombaDriver.Note
含まれているクラス:
Roomba.RoombaDriver

public static class Roomba.RoombaDriver.Note
extends java.lang.Object
Note consisting Song
Note Number (31 – 127)
The pitch of the musical note Roomba will play, according to the MIDI note numbering scheme. The lowest musical note that Roomba will play is Note #31. Roomba considers all musical notes outside the range of 31 – 127 as rest notes, and will make no sound during the duration of those notes.
Note Duration (0 – 255)
The duration of a musical note, in increments of 1/64th of a second. Example: a half-second long musical note has a duration value of 32.
作成者:
Jun KATO
関連項目:
Roomba.RoombaDriver.Song

フィールドの概要
static int A
           
static int A_SHARP
           
static int B
           
static int C
           
static int C_SHARP
           
static int D
           
static int D_SHARP
           
static int E
           
static int F
           
static int F_SHARP
           
static int G
           
static int G_SHARP
           
static int HALF_SECOND
           
static int QUARTER_SECOND
           
static int SECOND
           
 
コンストラクタの概要
Roomba.RoombaDriver.Note(int number, int duration)
           
 
メソッドの概要
 int getDuration()
           
 int getNumber()
           
 void setDuration(int duration)
           
 void setNumber(int number)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
フィールドの詳細

A

public static final int A
関連項目:
定数フィールド値

A_SHARP

public static final int A_SHARP
関連項目:
定数フィールド値

B

public static final int B
関連項目:
定数フィールド値

C

public static final int C
関連項目:
定数フィールド値

C_SHARP

public static final int C_SHARP
関連項目:
定数フィールド値

D

public static final int D
関連項目:
定数フィールド値

D_SHARP

public static final int D_SHARP
関連項目:
定数フィールド値

E

public static final int E
関連項目:
定数フィールド値

F

public static final int F
関連項目:
定数フィールド値

F_SHARP

public static final int F_SHARP
関連項目:
定数フィールド値

G

public static final int G
関連項目:
定数フィールド値

G_SHARP

public static final int G_SHARP
関連項目:
定数フィールド値

QUARTER_SECOND

public static final int QUARTER_SECOND
関連項目:
定数フィールド値

HALF_SECOND

public static final int HALF_SECOND
関連項目:
定数フィールド値

SECOND

public static final int SECOND
関連項目:
定数フィールド値
コンストラクタの詳細

Roomba.RoombaDriver.Note

public Roomba.RoombaDriver.Note(int number,
                                int duration)
メソッドの詳細

setNumber

public void setNumber(int number)

getNumber

public int getNumber()

setDuration

public void setDuration(int duration)

getDuration

public int getDuration()


Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/