| /NW4C-2.0.3/include/nw/snd/ |
| D | snd_BasicSoundPlayer.h | 39 float pitch; member 79 void SetPitch( float pitch ) { m_PlayerParamSet.pitch = pitch; } in SetPitch() argument 89 float GetPitch() const { return m_PlayerParamSet.pitch; } in GetPitch()
|
| D | snd_BasicSound.h | 46 f32 pitch; member 58 pitch(1.0f), in SoundParam() 111 f32 pitch; member 179 pitch(1.0f), in SoundAmbientParam() 196 f32 pitch; member 199 SoundActorParam(): volume(1.0f),pitch(1.0f),pan(0.0f) {} in SoundActorParam() 202 volume = pitch = 1.0f; in Reset() 292 void SetPitch( f32 pitch );
|
| D | snd_SoundActor.h | 315 void SetPitch( f32 pitch ) { m_ActorParam.pitch = pitch; } in SetPitch() argument 326 f32 GetPitch() const { return m_ActorParam.pitch; } in GetPitch()
|
| D | snd_SequenceSoundHandle.h | 298 void SetPitch( f32 pitch ) in SetPitch() argument 300 if ( IsAttachedSound() ) m_pSound->SetPitch( pitch ); in SetPitch() 813 void SetTrackPitch( u32 trackBitFlag, f32 pitch ) in SetTrackPitch() argument 815 if ( IsAttachedSound() ) m_pSound->SetTrackPitch( trackBitFlag, pitch ); in SetTrackPitch()
|
| D | snd_WaveSoundFileReader.h | 53 f32 pitch; member 70 f32 pitch; member
|
| D | snd_WaveSoundHandle.h | 304 void SetPitch( f32 pitch ) in SetPitch() argument 306 if ( IsAttachedSound() ) m_pSound->SetPitch( pitch ); in SetPitch()
|
| D | snd_SoundHandle.h | 344 void SetPitch( float pitch ) in SetPitch() argument 346 if ( IsAttachedSound() ) m_pSound->SetPitch( pitch ); in SetPitch()
|
| D | snd_StreamSoundHandle.h | 317 void SetPitch( f32 pitch ) in SetPitch() argument 319 if ( IsAttachedSound() ) m_pSound->SetPitch( pitch ); in SetPitch()
|
| D | snd_BankFileReader.h | 33 f32 pitch; // NW4R では tune という名前だった member
|
| D | snd_SequenceTrack.h | 181 void SetPitch( float pitch ) { m_ExtPitch = pitch; } in SetPitch() argument
|
| D | snd_BankFile.h | 201 f32 pitch; member
|
| D | snd_Channel.h | 163 void SetUserPitch( f32 pitch ) { m_UserPitch = pitch; } in SetUserPitch() argument
|
| D | snd_AnimSoundFile.h | 154 nw::ut::ResF32 pitch; member
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_BasicSound.cpp | 108 m_AmbientParam.pitch = 1.0f; in Initialize() 454 ambientParam.pitch = m_AmbientParam.pitch; in Update() 475 m_AmbientParam.pitch = ambientParam.pitch; in Update() 578 f32 pitch = 1.0f; in UpdateParam() local 579 pitch *= m_ExtPitch; in UpdateParam() 580 pitch *= m_AmbientParam.pitch; in UpdateParam() 581 pitch *= m_ActorParam.pitch; in UpdateParam() 621 command->pitch = pitch; in UpdateParam() 875 void BasicSound::SetPitch( f32 pitch ) in SetPitch() argument 877 NW_ASSERT( pitch >= 0.0f ); in SetPitch() [all …]
|
| D | snd_Util.cpp | 748 register int pitch = pitch_; in CalcPitchRatio() local 751 while ( pitch < 0 ) in CalcPitchRatio() 754 pitch += RANGE; in CalcPitchRatio() 756 while ( pitch >= RANGE ) in CalcPitchRatio() 759 pitch -= RANGE; in CalcPitchRatio() 762 register int note = pitch / PITCH_DIVISION_RANGE; in CalcPitchRatio() 763 pitch -= note * PITCH_DIVISION_RANGE; in CalcPitchRatio() 781 if ( pitch != 0 ) in CalcPitchRatio() 783 ratio *= PitchTable[pitch]; in CalcPitchRatio()
|
| D | snd_Sound3DEngine.cpp | 137 float pitch; in UpdateAmbientParam() local 143 &pitch in UpdateAmbientParam() 146 ambientParam->pitch = pitch; in UpdateAmbientParam()
|
| D | snd_BankFileReader.cpp | 146 info->pitch = velocityRegion->GetPitch(); in ReadVelocityRegionInfo() 160 info->pitch = regionParameter->pitch; in ReadVelocityRegionInfo()
|
| D | snd_Channel.cpp | 237 register f32 pitch; in Update() local 240 pitch = m_CentPitch; in Update() 244 … pitch = Util::CalcPitchRatio( static_cast<s32>( cent * ( 1 << Util::PITCH_DIVISION_BIT ) ) ); in Update() 246 m_CentPitch = pitch; in Update() 249 pitch = pitch * m_Tune * m_UserPitchRatio; in Update() 294 m_pVoice->SetPitch( pitch ); in Update()
|
| D | snd_AnimEventPlayer.cpp | 61 if ( eventInfo.pitch != 1.0f ) in InitParam() 63 m_Handle.SetPitch( eventInfo.pitch ); in InitParam()
|
| D | snd_Sound3DCalculator.cpp | 181 f32 pitch; in CalcPitch() local 183 pitch = 0.0f; in CalcPitch() 186 pitch = 65535.0f; in CalcPitch() 189 pitch = ( sonicVelocity - listenerVelocity ) / ( sonicVelocity - actorVelocity ); in CalcPitch() 192 *pitchPtr = pitch; in CalcPitch()
|
| D | snd_WaveSoundFileReader.cpp | 129 dst->pitch = src.GetPitch(); in ReadWaveSoundInfo() 159 dst->pitch = src.GetPitch(); in ReadNoteInfo()
|
| D | snd_BasicSoundPlayer.cpp | 31 pitch = 1.0f; in Initialize()
|
| D | snd_SequenceSoundPlayer.cpp | 516 void SequenceSoundPlayer::SetTrackPitch( u32 trackBitFlag, float pitch ) in SetTrackPitch() argument 518 NW_ASSERT( pitch >= 0.0f ); in SetTrackPitch() 519 SetTrackParam( trackBitFlag, &SequenceTrack::SetPitch, pitch ); in SetTrackPitch()
|
| D | snd_Bank.cpp | 138 pChannel->SetTune( regionInfo.pitch ); in NoteOn()
|
| D | snd_WaveSoundPlayer.cpp | 60 m_WaveSoundInfo.pitch = 1.0f; in Initialize() 488 pitchRatio *= m_WaveSoundInfo.pitch; in UpdateChannel()
|