SB AWE32 Developer's Information Pack PART V 3D Positional Audio API •• 102
Copyright Creative Technology Ltd., 1994-1996 Version 3.00
inc
The increment or decrement in number of cents. A positive value increases the current
pitch and a negative value decreases the current pitch. The range of permissible values
depends on the sample sampling rate and current Doppler shift. Typically it has a max
of about 2000 cents for a 44.1kHz sample.
Return
Return c3daSUCCESS upon success and c3daFAILURE otherwise.
c3daSetEmitterDelay
c3daError
PASCAL
c3daSetEmitterDelay(c3daEmitter FAR* lpEm, unsigned delay)
Actions
Set the delay time for the reverberation channel of the emitter.
Parameters
lpEm
Specify a far pointer to an emitter object.
delay
The delay time in the number of sound samples. For example, 132 samples is
approximately 3 milliseconds in 44.1kHz.
Return
Return c3daSUCCESS upon success and c3daFAILURE otherwise.
c3daSetEmitterMIDISource
c3daError
PASCAL
c3daSetEmitterMIDISource(
c3daEmitter FAR* lpEm,
UINT uBank,
UINT uProgram,
UINT uKeynum
)
Actions
Associate a MIDI source with an emitter.
Parameters
lpEm
Specify a far pointer to an emitter object.
uBank, uProgram, uKeynum
Specify the MIDI source.
Return
Return c3daSUCCESS upon success and c3daFAILURE otherwise.