| /NW4C-1.2.23/sources/libraries/snd/ |
| D | snd_Util.cpp | 744 register int pitch = pitch_; in CalcPitchRatio() local 747 while ( pitch < 0 ) in CalcPitchRatio() 750 pitch += RANGE; in CalcPitchRatio() 752 while ( pitch >= RANGE ) in CalcPitchRatio() 755 pitch -= RANGE; in CalcPitchRatio() 758 register int note = pitch / PITCH_DIVISION_RANGE; in CalcPitchRatio() 759 pitch -= note * PITCH_DIVISION_RANGE; in CalcPitchRatio() 777 if ( pitch != 0 ) in CalcPitchRatio() 779 ratio *= PitchTable[pitch]; in CalcPitchRatio()
|
| D | snd_BasicSound.cpp | 107 m_AmbientParam.pitch = 1.0f; in Initialize() 436 ambientParam.pitch = m_AmbientParam.pitch; in Update() 457 m_AmbientParam.pitch = ambientParam.pitch; in Update() 560 float pitch = 1.0f; in UpdateParam() local 561 pitch *= m_ExtPitch; in UpdateParam() 562 pitch *= m_AmbientParam.pitch; in UpdateParam() 563 pitch *= m_ActorParam.pitch; in UpdateParam() 603 command->pitch = pitch; in UpdateParam() 849 void BasicSound::SetPitch( float pitch ) in SetPitch() argument 851 NW_ASSERT( pitch >= 0.0f ); in SetPitch() [all …]
|
| D | snd_Sound3DEngine.cpp | 119 float pitch; in UpdateAmbientParam() local 125 &pitch in UpdateAmbientParam() 128 ambientParam->pitch = pitch; in UpdateAmbientParam()
|
| D | snd_BankFileReader.cpp | 131 info->pitch = velocityRegion->GetPitch(); in ReadVelocityRegionInfo() 145 info->pitch = regionParameter->pitch; in ReadVelocityRegionInfo()
|
| D | snd_Channel.cpp | 235 register f32 pitch; in Update() local 238 pitch = m_CentPitch; in Update() 242 … pitch = Util::CalcPitchRatio( static_cast<s32>( cent * ( 1 << Util::PITCH_DIVISION_BIT ) ) ); in Update() 244 m_CentPitch = pitch; in Update() 247 pitch = pitch * m_Tune * m_UserPitchRatio; in Update() 292 m_pVoice->SetPitch( pitch ); in Update()
|
| D | snd_Sound3DCalculator.cpp | 179 f32 pitch; in CalcPitch() local 181 pitch = 0.0f; in CalcPitch() 184 pitch = 65535.0f; in CalcPitch() 187 pitch = ( sonicVelocity - listenerVelocity ) / ( sonicVelocity - actorVelocity ); in CalcPitch() 190 *pitchPtr = pitch; in CalcPitch()
|
| D | snd_WaveSoundFileReader.cpp | 127 dst->pitch = src.GetPitch(); in ReadWaveSoundInfo() 152 dst->pitch = src.GetPitch(); in ReadNoteInfo()
|
| D | snd_BasicSoundPlayer.cpp | 29 pitch = 1.0f; in Initialize()
|
| D | snd_Bank.cpp | 123 pChannel->SetTune( regionInfo.pitch ); in NoteOn()
|
| D | snd_SequenceSoundPlayer.cpp | 510 void SequenceSoundPlayer::SetTrackPitch( u32 trackBitFlag, float pitch ) in SetTrackPitch() argument 512 NW_ASSERT( pitch >= 0.0f ); in SetTrackPitch() 513 SetTrackParam( trackBitFlag, &SequenceTrack::SetPitch, pitch ); in SetTrackPitch()
|
| D | snd_WaveSoundPlayer.cpp | 58 m_WaveSoundInfo.pitch = 1.0f; in Initialize() 478 pitchRatio *= m_WaveSoundInfo.pitch; in UpdateChannel()
|
| /NW4C-1.2.23/include/nw/snd/ |
| D | snd_BasicSoundPlayer.h | 36 float pitch; member 76 void SetPitch( float pitch ) { m_PlayerParamSet.pitch = pitch; } in SetPitch() argument 86 float GetPitch() const { return m_PlayerParamSet.pitch; } in GetPitch()
|
| D | snd_BasicSound.h | 44 f32 pitch; member 56 pitch(1.0f), in SoundParam() 92 f32 pitch; member 132 pitch(1.0f), in SoundAmbientParam() 194 f32 pitch; member 197 SoundActorParam(): volume(1.0f),pitch(1.0f),pan(0.0f) {} in SoundActorParam() 200 volume = pitch = 1.0f; in Reset() 284 void SetPitch( f32 pitch );
|
| D | snd_SoundActor.h | 307 void SetPitch( f32 pitch ) { m_ActorParam.pitch = pitch; } in SetPitch() argument 318 f32 GetPitch() const { return m_ActorParam.pitch; } in GetPitch()
|
| D | snd_SequenceSoundHandle.h | 284 void SetPitch( f32 pitch ) in SetPitch() argument 286 if ( IsAttachedSound() ) m_pSound->SetPitch( pitch ); in SetPitch() 799 void SetTrackPitch( u32 trackBitFlag, f32 pitch ) in SetTrackPitch() argument 801 if ( IsAttachedSound() ) m_pSound->SetTrackPitch( trackBitFlag, pitch ); in SetTrackPitch()
|
| D | snd_WaveSoundFileReader.h | 51 f32 pitch; member 68 f32 pitch; member
|
| D | snd_WaveSoundHandle.h | 291 void SetPitch( f32 pitch ) in SetPitch() argument 293 if ( IsAttachedSound() ) m_pSound->SetPitch( pitch ); in SetPitch()
|
| D | snd_SoundHandle.h | 324 void SetPitch( float pitch ) in SetPitch() argument 326 if ( IsAttachedSound() ) m_pSound->SetPitch( pitch ); in SetPitch()
|
| D | snd_StreamSoundHandle.h | 302 void SetPitch( f32 pitch ) in SetPitch() argument 304 if ( IsAttachedSound() ) m_pSound->SetPitch( pitch ); in SetPitch()
|
| D | snd_BankFileReader.h | 31 f32 pitch; // NW4R では tune という名前だった member
|
| D | snd_SequenceTrack.h | 179 void SetPitch( float pitch ) { m_ExtPitch = pitch; } in SetPitch() argument
|
| D | snd_BankFile.h | 199 f32 pitch; member
|
| D | snd_Channel.h | 161 void SetUserPitch( f32 pitch ) { m_UserPitch = pitch; } in SetUserPitch() argument
|
| D | snd_HardwareChannel.h | 119 void SetSrcType( SrcType type, f32 pitch );
|
| D | snd_SequenceSound.h | 131 void SetTrackPitch( u32 trackBitFlag, f32 pitch );
|