- 機能/意味
-
label
- タイプ
-
WaveSoundBufferクラスのプロパティ (読み出し専用)
- 説明
-
You can get an object representing the label.
This object is a dictionary array, each containing an element whose name is the name of the label in the loop information. Each element is also a dictionary array, the name member represents the label name, the position member represents the label position in milliseconds, and samplePosition represents the label position in samples.
Think of this dictionary array as read-only. Assigning a value or creating a new member has no effect.
例:
var buf = new WaveSoundBuffer(window);
(Omitted)
debug.message(buf.labels['start'].position); // The position of the label name 'start' in milliseconds
debug.message(buf.labels['start'].samplePosition); // The position of the label name 'start' in units of samples