default
tksdl
tksdltksdl.AudioSampleallocBuffer(int l, float f, int ch, sw) : boolean - Allocate new audio buffer
convertChannels(int ch) - Convert sample to given number of channels
copyBufferFrom(AudioSample o) - Copy audio sample data from other sample
freeBuffer() - Free memory occupied by sample data
getBaseFrequency() : float - Query sample base frequency
getChannels() : int - Query number of channels
getFrequency() : float - Query sample frequency
getLength() : int - Query sample length
getOffset() : int - Query sample offset
getRepeatLength() : int - Query sample repeat length
getRepeatOffset() : int - Get sample repeat offset
loadAIFF(String name) : boolean - Load AIFF sample from pak file
loadLocalAIFF(String name) : boolean - Load AIFF sample from local file
normalize() - Normalize sample data
setBaseFrequency(float f) - Set sample base frequency
setFrequency(float f) - Set sample frequency
setLength(int len) - Set sample length
setOffset(int off) - Set sample offset
setRepeatLength(int len) - Set sample repeat length
setRepeatOffset(int off) - Query sample repeat offset
visitBuffer(AudioSample o) - Share sample data with other sampleMethod allocBuffer | ||||||||||||||||||||||||||||||
Allocate new audio buffer | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Returns | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Method convertChannels | |||||
Convert sample to given number of channels | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method copyBufferFrom | |||||
Copy audio sample data from other sample | |||||
Signature | |||||
| |||||
Arguments | |||||
Method freeBuffer | |||
Free memory occupied by sample data | |||
Signature | |||
|
Method getBaseFrequency | |||||
Query sample base frequency | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getChannels | |||||
Query number of channels | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getFrequency | |||||
Query sample frequency | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getLength | |||||
Query sample length | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getOffset | |||||
Query sample offset | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getRepeatLength | |||||
Query sample repeat length | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getRepeatOffset | |||||
Get sample repeat offset | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method loadAIFF | ||||||||||
Load AIFF sample from pak file | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method loadLocalAIFF | ||||||||||
Load AIFF sample from local file | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
| ||||||||||
Method normalize | |||
Normalize sample data | |||
Signature | |||
|
Method setBaseFrequency | |||||
Set sample base frequency | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setFrequency | |||||
Set sample frequency | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setLength | |||||
Set sample length | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setOffset | |||||
Set sample offset | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setRepeatLength | |||||
Set sample repeat length | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setRepeatOffset | |||||
Query sample repeat offset | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method visitBuffer | |||||
Share sample data with other sample | |||||
Signature | |||||
| |||||
Arguments | |||||
| Project Modules: | tksdl |
| Project Classes: | AudioDevice , AudioSample , Cursor , FPS , Joystick , Key , Mouse , SamplePlayer , SDL , Viewport |
| Project Functions: | MIDINoteToFrequency |
| All Namespaces: | default , ui |
| All Projects: | core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54