public class SoundTouchLibrary
extends java.lang.Object
| Constructor and Description |
|---|
SoundTouchLibrary() |
| Modifier and Type | Method and Description |
|---|---|
static void |
soundtouch_clear(
buffers.
Original signature : void soundtouch_clear(HANDLE)native declaration : SoundTouchDLL.h:88 |
static |
soundtouch_createInstance()
Create a new instance of SoundTouch processor.
Original signature : HANDLE soundtouch_createInstance()native declaration : SoundTouchDLL.h:6 |
static void |
soundtouch_destroyInstance(
Destroys a SoundTouch processor instance.
Original signature : void soundtouch_destroyInstance(HANDLE)native declaration : SoundTouchDLL.h:11 |
static void |
soundtouch_flush(
in the middle of a sound stream.
Original signature : void soundtouch_flush(HANDLE)native declaration : SoundTouchDLL.h:76 |
static int |
soundtouch_getSetting(
\return the setting value.
Original signature : int soundtouch_getSetting(HANDLE, int) |
static int |
soundtouch_getVersionId()
Get SoundTouch library version Id
Original signature : int soundtouch_getVersionId()native declaration : SoundTouchDLL.h:26 |
static |
soundtouch_getVersionString()
Get SoundTouch library version string
Original signature : char* soundtouch_getVersionString()native declaration : SoundTouchDLL.h:16 |
static void |
soundtouch_getVersionString2(
environments that can't properly handle character string as return value
Original signature : void soundtouch_getVersionString2(char*, int)native declaration : SoundTouchDLL.h:21 |
static int |
soundtouch_isEmpty(
Returns nonzero if there aren't any samples available for outputting.
Original signature : int soundtouch_isEmpty(HANDLE)native declaration : SoundTouchDLL.h:123 |
static int |
soundtouch_numSamples(
Returns number of samples currently available.
Original signature : int soundtouch_numSamples(HANDLE)native declaration : SoundTouchDLL.h:118 |
static int |
soundtouch_numUnprocessedSamples(
Returns number of samples currently unprocessed.
Original signature : int soundtouch_numUnprocessedSamples(HANDLE)native declaration : SoundTouchDLL.h:106 |
static void |
soundtouch_putSamples(
calling this function, otherwise throws a runtime_error exception.
Original signature : void soundtouch_putSamples(HANDLE, const float*, unsigned int) |
static int |
soundtouch_receiveSamples(
with 'ptrBegin' function.
Original signature : int soundtouch_receiveSamples(HANDLE, float*, unsigned int) |
static void |
soundtouch_setChannels(
Sets the number of channels, 1 = mono, 2 = stereo
Original signature : void soundtouch_setChannels(HANDLE, unsigned int)native declaration : SoundTouchDLL.h:66 |
static void |
soundtouch_setPitch(
represent lower pitches, larger values higher pitch.
Original signature : void soundtouch_setPitch(HANDLE, float)native declaration : SoundTouchDLL.h:51 |
static void |
soundtouch_setPitchOctaves(
(-1.00 ..
|
static void |
soundtouch_setPitchSemiTones(
(-12 ..
|
static void |
soundtouch_setRate(
represent slower rate, larger faster rates.
Original signature : void soundtouch_setRate(HANDLE, float)native declaration : SoundTouchDLL.h:31 |
static void |
soundtouch_setRateChange(
to the original rate (-50 ..
|
static void |
soundtouch_setSampleRate(
Sets sample rate.
Original signature : void soundtouch_setSampleRate(HANDLE, unsigned int)native declaration : SoundTouchDLL.h:71 |
static int |
soundtouch_setSetting(
\return 'TRUE' if the setting was succesfully changed
Original signature : BOOL soundtouch_setSetting(HANDLE, int, int). |
static void |
soundtouch_setTempo(
represent slower tempo, larger faster tempo.
Original signature : void soundtouch_setTempo(HANDLE, float)native declaration : SoundTouchDLL.h:36 |
static void |
soundtouch_setTempoChange(
to the original tempo (-50 ..
|
public staticsoundtouch_createInstance()
HANDLE soundtouch_createInstance()public static void soundtouch_destroyInstance(h)
void soundtouch_destroyInstance(HANDLE)h - the hpublic staticsoundtouch_getVersionString()
char* soundtouch_getVersionString()public static void soundtouch_getVersionString2(versionString, int bufferSize)
void soundtouch_getVersionString2(char*, int)versionString - the version stringbufferSize - the buffer sizepublic static int soundtouch_getVersionId()
int soundtouch_getVersionId()public static void soundtouch_setRate(h, float newRate)
void soundtouch_setRate(HANDLE, float)h - the hnewRate - the new ratepublic static void soundtouch_setTempo(h, float newTempo)
void soundtouch_setTempo(HANDLE, float)h - the hnewTempo - the new tempopublic static void soundtouch_setRateChange(h, float newRate)
void soundtouch_setRateChange(HANDLE, float)h - the hnewRate - the new ratepublic static void soundtouch_setTempoChange(h, float newTempo)
void soundtouch_setTempoChange(HANDLE, float)h - the hnewTempo - the new tempopublic static void soundtouch_setPitch(h, float newPitch)
void soundtouch_setPitch(HANDLE, float)h - the hnewPitch - the new pitchpublic static void soundtouch_setPitchOctaves(h, float newPitch)
void soundtouch_setPitchOctaves(HANDLE, float)h - the hnewPitch - the new pitchpublic static void soundtouch_setPitchSemiTones(h, float newPitch)
void soundtouch_setPitchSemiTones(HANDLE, float)h - the hnewPitch - the new pitchpublic static void soundtouch_setChannels(h, int numChannels)
void soundtouch_setChannels(HANDLE, unsigned int)h - the hnumChannels - the num channelspublic static void soundtouch_setSampleRate(h, int srate)
void soundtouch_setSampleRate(HANDLE, unsigned int)h - the hsrate - the sratepublic static void soundtouch_flush(h)
void soundtouch_flush(HANDLE)h - the hpublic static void soundtouch_putSamples(h, samples, int numSamples)
void soundtouch_putSamples(HANDLE, const float*, unsigned int)h - the hsamples - < Pointer to sample buffer.numSamples - < Number of samples in buffer. Noticepublic static void soundtouch_clear(h)
void soundtouch_clear(HANDLE)h - the hpublic static int soundtouch_setSetting(h, int settingId, int value)
BOOL soundtouch_setSetting(HANDLE, int, int)h - the hsettingId - < Setting ID number. see SETTING_... defines.value - < New setting value.public static int soundtouch_getSetting(h, int settingId)
int soundtouch_getSetting(HANDLE, int)h - the hsettingId - < Setting ID number, see SETTING_... defines.public static int soundtouch_numUnprocessedSamples(h)
int soundtouch_numUnprocessedSamples(HANDLE)h - the hpublic static int soundtouch_receiveSamples(h, outBuffer, int maxSamples)
int soundtouch_receiveSamples(HANDLE, float*, unsigned int)h - the houtBuffer - < Buffer where to copy output samples.maxSamples - < How many samples to receive at max.public static int soundtouch_numSamples(h)
int soundtouch_numSamples(HANDLE)h - the hpublic static int soundtouch_isEmpty(h)
int soundtouch_isEmpty(HANDLE)h - the h