Свойство | Type | Description | |
---|---|---|---|
A | UnityEngine.AudioClip[] | ||
AB | UnityEngine.AudioClip[] | ||
B | UnityEngine.AudioClip[] | ||
BB | UnityEngine.AudioClip[] | ||
C | UnityEngine.AudioClip[] | ||
D | UnityEngine.AudioClip[] | ||
DB | UnityEngine.AudioClip[] | ||
E | UnityEngine.AudioClip[] | ||
EB | UnityEngine.AudioClip[] | ||
F | UnityEngine.AudioClip[] | ||
G | UnityEngine.AudioClip[] | ||
GB | UnityEngine.AudioClip[] |
Méthode | Description | |
---|---|---|
GetSampleData ( int note, int octave, int channel, float velocity ) : ClipInfo, |
Called by the application when a sound sample for a specific note & octave is requested.
|
|
Start ( ) : void |
Called by Unity on Start of the Component. Load and cache the processed sample data.
|
public GetSampleData ( int note, int octave, int channel, float velocity ) : ClipInfo, | ||
note | int | The note to request the data for |
octave | int | The octave to request the data for |
channel | int | The channel on which this sample will be active |
velocity | float | The velocity of the key press for this sample |
Résultat | ClipInfo, |