Home
last modified time | relevance | path

Searched refs:EAS_I16 (Results 1 – 25 of 35) sorted by relevance

12

/external/sonivox/arm-wt-22k/lib_src/
Deas_reverbdata.h113 #define REVERB_XFADE_PHASE_INCREMENT (EAS_I16)(65536 / ((EAS_I16)REVERB_XFADE_PERIOD_IN_SAMPLES/…
179 EAS_I16 m_nApGain; // gain for ap
191 EAS_I16 m_nLpfFwd; // lpf forward gain
193 EAS_I16 m_nLpfFbk; // lpf feedback gain
197 EAS_I16 m_nGain[REVERB_MAX_NUM_REFLECTIONS]; // gain for ap
204 EAS_I16 m_nLpfFbk;
205 EAS_I16 m_nLpfFwd;
207 EAS_I16 m_nEarly;
208 EAS_I16 m_nWet;
209 EAS_I16 m_nDry;
[all …]
Deas_sndlib.h56 typedef EAS_I16 EAS_SAMPLE;
108 EAS_I16 attackTime;
109 EAS_I16 decayTime;
110 EAS_I16 sustainLevel;
111 EAS_I16 releaseTime;
120 EAS_I16 delayTime;
121 EAS_I16 attackTime;
122 EAS_I16 holdTime;
123 EAS_I16 decayTime;
124 EAS_I16 sustainLevel;
[all …]
Deas_chorusdata.h64 EAS_I16 m_nRate;
65 EAS_I16 m_nDepth;
66 EAS_I16 m_nLevel;
81 EAS_I16 chorusIndexL;
82 EAS_I16 chorusIndexR;
85 EAS_I16 m_nRate;
86 EAS_I16 m_nDepth;
87 EAS_I16 m_nLevel;
96 EAS_I16 m_nCurrentChorus; // preset number for current Chorus
97 EAS_I16 m_nNextChorus; // preset number for next Chorus
[all …]
Deas_chorus.c61 static const EAS_I16 EAS_chorusShape[CHORUS_SHAPE_SIZE] = {
124 pChorusData->m_nRate = (EAS_I16) in ChorusInit()
131 pChorusData->m_nDepth = (EAS_I16) in ChorusInit()
157 pChorusData->chorusTapPosition = (EAS_I16)((CHORUS_DELAY_MS * _OUTPUT_SAMPLE_RATE)/1000); in ChorusInit()
166 pChorusData->m_nRate = (EAS_I16) in ChorusInit()
170 pChorusData->m_nDepth = (EAS_I16) in ChorusInit()
197 static EAS_I16 WeightedTap(const EAS_I16 *array, EAS_I16 indexReference, EAS_I32 indexDesired, EAS_… in WeightedTap()
199 EAS_I16 index; in WeightedTap()
200 EAS_I16 fraction; in WeightedTap()
201 EAS_I16 val1; in WeightedTap()
[all …]
Deas_wtengine.h78 EAS_I16 z1; /* 1 sample delay state variable */
79 EAS_I16 z2; /* 2 sample delay state variable */
89 EAS_I16 lfoValue; /* LFO current output value */
90 EAS_I16 lfoPhase; /* LFO current phase */
133 EAS_I16 gainLeft; /* current gain, left ch */
134 EAS_I16 gainRight; /* current gain, right ch */
148 EAS_I16 eg1Value;
149 EAS_I16 eg2Value;
150 EAS_I16 eg1Increment;
151 EAS_I16 eg2Increment;
Deas_pcmdata.h105 EAS_I16 volume; /* volume for stream */
106 EAS_I16 pitch; /* relative pitch in cents - zero is unity playback */
107 EAS_I16 gainLeft; /* requested gain */
108 EAS_I16 gainRight; /* requested gain */
109 EAS_I16 currentGainLeft; /* current gain for anti-zipper filter */
110 EAS_I16 currentGainRight; /* current gain for anti-zipper filter */
Deas_pcm.h52 EAS_I16 volume;
181 …arams (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_I16 gainLeft, EAS_I16 g…
221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume);
236 EAS_RESULT EAS_PEUpdatePitch (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch);
Deas_pan.c61 void EAS_CalcPanControl (EAS_INT pan, EAS_I16 *pGainLeft, EAS_I16 *pGainRight) in EAS_CalcPanControl()
86 *pGainRight = (EAS_I16) temp; in EAS_CalcPanControl()
96 *pGainLeft = (EAS_I16) temp; in EAS_CalcPanControl()
Deas_wt_IPC_frame.h74 EAS_I16 gainLeft; /* left channel gain */
75 EAS_I16 gainRight; /* right channel gain */
78 EAS_I16 gain; /* current voice gain */
Deas_synth.h199 EAS_I16 staticGain; /* (CC7 * CC11 * master vol)^2 */
204 EAS_I16 pitchBend; /* pitch wheel value */
205 EAS_I16 pitchBendSensitivity;
206 EAS_I16 registeredParam; /* currently selected registered param */
210 EAS_I16 lfoAmt; /* amount of LFO to apply to voice */
278 EAS_I16 gain; /* current gain */
Deas_wtsynth.c65 extern EAS_BOOL WTE_EndFrame (EAS_FRAME_BUFFER_HANDLE pFrameBuffer, EAS_I32 *pMixBuffer, EAS_I16 ma…
601 pVoice->gain = (EAS_I16) intFrame.frame.gainTarget; in WT_UpdateVoice()
692 pChannel->staticGain = (EAS_I16) MULT_EG1_EG1(staticGain, pSynth->masterVolume); in WT_UpdateChannel()
767 temp = (EAS_I16)MULT_EG1_EG1(temp, pWTVoice->eg1Value); in WT_UpdateGain()
864 pWTVoice->eg1Value = (EAS_I16) temp; in WT_UpdateEG1()
951 pWTVoice->eg2Value = (EAS_I16) temp; in WT_UpdateEG2()
970 void WT_UpdateLFO (S_LFO_CONTROL *pLFO, EAS_I16 phaseInc) in WT_UpdateLFO()
985 pLFO->lfoValue = (EAS_I16) (pLFO->lfoPhase << 2); in WT_UpdateLFO()
1078 static const EAS_I16 nk1g0 = -32768;
1079 static const EAS_I16 nk1g2 = 1580;
[all …]
Deas_dlssynth.c45 …, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue, EAS_I16 *pIncreme…
93 pWTVoice->eg1Value = (EAS_I16) ((EAS_flog2(pWTVoice->eg1Value) << 1) + 2048); in DLS_ReleaseVoice()
337 …pVoice->gain = (EAS_I16) DLS_UpdateGain(pWTVoice, pDLSArt, pChannel, pDLSRegion->wtRegion.gain, pV… in DLS_StartVoice()
439 pVoice->gain = (EAS_I16) intFrame.frame.gainTarget; in DLS_UpdateVoice()
467 …, S_SYNTH_CHANNEL *pChannel, const S_DLS_ENVELOPE *pEnvParams, EAS_I16 *pValue, EAS_I16 *pIncreme… in DLS_UpdateEnvelope()
506 … *pValue = (EAS_I16) (temp < SYNTH_FULL_SCALE_EG1_GAIN ? temp : SYNTH_FULL_SCALE_EG1_GAIN); in DLS_UpdateEnvelope()
547 … *pValue = (EAS_I16) (temp > pEnvParams->sustainLevel ? temp : pEnvParams->sustainLevel); in DLS_UpdateEnvelope()
566 *pValue = (EAS_I16) temp; in DLS_UpdateEnvelope()
Deas_reverb.c136 pReverbData->m_nNoise = (EAS_I16)0xABCD; in ReverbInit()
307 pReverbData->m_nUpdateCounter += (EAS_I16)numSamples; in ReverbProcess()
331 EAS_I16 tempCos; in ReverbUpdateXfade()
332 EAS_I16 tempSin; in ReverbUpdateXfade()
432 static EAS_U16 ReverbCalculateNoise(EAS_U16 nMaxExcursion, EAS_I16 *pnNoise) in ReverbCalculateNoise()
435 *pnNoise = (EAS_I16) (*pnNoise * 5 + 1); in ReverbCalculateNoise()
464 static EAS_RESULT ReverbCalculateSinCos(EAS_I16 nPhase, EAS_I16 *pnSin, EAS_I16 *pnCos) in ReverbCalculateSinCos()
497 *pnSin = (EAS_I16) SATURATE_EG1(nTemp); in ReverbCalculateSinCos()
502 *pnCos = (EAS_I16) SATURATE_EG1(nTemp); in ReverbCalculateSinCos()
879 p->m_nNextRoom = (EAS_I16)value; in ReverbSetParam()
[all …]
Deas_ima_tables.c36 const EAS_I16 imaIndexTable[16] =
42 const EAS_I16 imaStepSizeTable[89] =
Deas_pan.h63 void EAS_CalcPanControl (EAS_INT pan, EAS_I16 *pGainLeft, EAS_I16 *pGainRight);
Deas_mdls.h43 #define SHORT EAS_I16
286 EAS_I16 ConvertDelay (EAS_I32 timeCents);
287 EAS_I16 ConvertRate (EAS_I32 timeCents);
Deas_math.c157 EAS_I16 EAS_VolumeToGain (EAS_INT volume) in EAS_VolumeToGain()
166 return (EAS_I16) EAS_Calculate2toX((((volume - EAS_MAX_VOLUME) * 204099) >> 10) - 1); in EAS_VolumeToGain()
Deas_wtengine.c227 *pOutputBuffer++ = (EAS_I16)(acc0 >> 2); in WT_Interpolate()
324 *pOutputBuffer++ = (EAS_I16)(acc0 >> 2); in WT_InterpolateNoLoop()
413 *pAudioBuffer++ = (EAS_I16) z1; in WT_VoiceFilter()
417 pFilter->z1 = (EAS_I16) z1; in WT_VoiceFilter()
418 pFilter->z2 = (EAS_I16) z2; in WT_VoiceFilter()
654 pWTVoice->gain = (EAS_I16)(gain >> SYNTH_UPDATE_PERIOD_IN_BITS); in WT_InterpolateMono()
Deas_pcm.c470 …ateParams (S_EAS_DATA* pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch, EAS_I16 gainLeft, EAS_I16 g… in EAS_PEUpdateParams()
527 EAS_RESULT EAS_PEUpdateVolume (S_EAS_DATA* pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume) in EAS_PEUpdateVolume()
546 EAS_RESULT EAS_PEUpdatePitch (S_EAS_DATA* pEASData, EAS_PCM_HANDLE pState, EAS_I16 pitch) in EAS_PEUpdatePitch()
1009 pState->currentGainLeft = (EAS_I16) FMUL_15x15(pState->gainLeft, pState->volume); in RenderPCMStream()
1010 pState->currentGainRight = (EAS_I16) FMUL_15x15(pState->gainRight, pState->volume); in RenderPCMStream()
1208 pState->currentGainLeft = (EAS_I16) (gainLeft >> SYNTH_UPDATE_PERIOD_IN_BITS); in RenderPCMStream()
1212 pState->currentGainRight = (EAS_I16) (gainRight >> SYNTH_UPDATE_PERIOD_IN_BITS); in RenderPCMStream()
Deas_imaadpcm.c42 extern const EAS_I16 imaIndexTable[];
43 extern const EAS_I16 imaStepSizeTable[];
108 EAS_I16 sTemp; in IMADecoderSample()
Deas_mdls.c221 EAS_I16 values[PARAM_TABLE_SIZE];
232 EAS_I16 fineTune;
432 static EAS_I16 ConvertSampleRate (EAS_U32 sampleRate);
433 static EAS_I16 ConvertSustain (EAS_I32 sustain);
434 static EAS_I16 ConvertLFOPhaseIncrement (EAS_I32 pitchCents);
2006 pArt->values[connTable[i].connection] = (EAS_I16) (scale >> 16); in Parse_art()
2350 pRgn->wtRegion.gain = (EAS_I16) (pWsmp->gain >> 16); in Convert_rgn()
2463 static EAS_I16 ConvertSampleRate (EAS_U32 sampleRate) in ConvertSampleRate()
2465 return (EAS_I16) (1200.0 * log10((double) sampleRate / (double) outputSampleRate) / log10(2.0)); in ConvertSampleRate()
2474 static EAS_I16 ConvertSustain (EAS_I32 sustain) in ConvertSustain()
[all …]
Deas_wavefile.h54 EAS_I16 fileType;
Deas_wtsynth.h58 void WT_UpdateLFO (S_LFO_CONTROL *pLFO, EAS_I16 phaseInc);
Deas_imelodydata.h61 EAS_I16 repeatCount; /* repeat counter */
Deas_data.h126 EAS_I16 masterGain;

12