프로퍼티 | 타입 | 설명 | |
---|---|---|---|
extraCapacity | int |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_allKeys | string[] | ||
_allSamples | List |
||
_samplesByName | GATData>.Dictionary | ||
_soundBank | GATSoundBank | ||
_totalCapacity | int |
메소드 | 설명 | |
---|---|---|
AddLoadedFile ( |
Compatibility with GATAudioLoader.
|
|
AddSample ( |
Adds a sample to the bank, which will retain it, and manage cache for it if GATActiveSamplebank.
|
|
ContainsSampleNamed ( string sampleName ) : bool |
Is the specified sample loaded?
|
|
EditorUpdateSoundBank ( |
||
FillWithResampledData ( |
||
FillWithResampledData ( |
Convenience method for copying a resampled chunk of a sample to a GATData container. Target length is the requested ouptut length.
|
|
FillWithSampleData ( |
||
FillWithSampleData ( |
Convenience method for copying a chunk of a sample to a GATData container.
|
|
GetAudioData ( int indexInBank ) : |
||
GetAudioData ( string sampleName ) : |
Grabs a reference to the samples data. Note that changes to the data will be persistent until the bank is reloaded.
|
|
GetClosestSampleForMidiCode ( float midiCode, float &pitchShift ) : |
Returns the sample closest to the provided midicode and a pitch shift value to be applied to the sample
|
|
LoadAll ( ) : void |
Loads all samples from the referenced SoundBank. Sync operation
|
|
LoadSamplesNamed ( List |
Loads specific samples from the referenced Sound Bank. Sync operation.
|
|
LoadStreamingAssetsAsync ( List |
Loads specific StreamingAssets samples from the referenced Sound Bank. Async operation.
|
|
OnEnable ( ) : void | ||
RemoveSample ( string sampleName ) : void |
Releases a specific sample and it's associated cache.
|
|
RemoveSamples ( List |
Releases specific samples and their associated cache.
|
|
UnloadAll ( ) : void |
Releases all loaded samples.
|
|
UpdateSoundBank ( ) : void |
메소드 | 설명 | |
---|---|---|
Awake ( ) : void | ||
FillWithResampledData ( |
||
FillWithSampleData ( |
||
InitCollections ( ) : void | ||
OnDestroy ( ) : void |
public AddLoadedFile ( |
||
channelsData | ||
fileName | string | |
리턴 | void |
public AddSample ( |
||
data | ||
sampleName | string | |
리턴 | void |
public ContainsSampleNamed ( string sampleName ) : bool | ||
sampleName | string | |
리턴 | bool |
public EditorUpdateSoundBank ( |
||
bank | ||
리턴 | void |
protected FillWithResampledData ( |
||
sourceData | ||
targetData | ||
fromIndex | int | |
targetLength | int | |
pitch | double | |
리턴 | void |
public FillWithResampledData ( |
||
data | ||
indexInBank | int | |
fromIndex | int | |
targetLength | int | |
pitch | double | |
리턴 | void |
public FillWithResampledData ( |
||
data | ||
sampleName | string | |
fromIndex | int | |
targetLength | int | |
pitch | double | |
리턴 | void |
protected FillWithSampleData ( |
||
sourceData | ||
targetData | ||
fromIndex | int | |
length | int | |
리턴 | void |
public FillWithSampleData ( |
||
data | ||
indexInBank | int | |
fromIndex | int | |
length | int | |
리턴 | void |
public FillWithSampleData ( |
||
data | ||
sampleName | string | |
fromIndex | int | |
length | int | |
리턴 | void |
public GetAudioData ( string sampleName ) : |
||
sampleName | string | |
리턴 |
public GetClosestSampleForMidiCode ( float midiCode, float &pitchShift ) : |
||
midiCode | float | Midi code. |
pitchShift | float | Pitch shift. |
리턴 |
public LoadSamplesNamed ( List |
||
sampleNames | List |
|
리턴 | void |
public LoadStreamingAssetsAsync ( List |
||
sampleNames | List |
|
onCompleted | OperationCompletedHandler | |
리턴 | void |