# CSoundPatch

- **İngilizce aslı:** https://wiki.facepunch.com/gmod/CSoundPatch
- **Çeviri tarihi:** 2025-09-08

CSoundPatch sınıfı.

[CreateSound](https://gmod.tr/wiki/Global.CreateSound) ile oluşturulur.

## Metotlar

CSoundPatch:[ChangePitch](https://gmod.tr/wiki/CSoundPatch.ChangePitch)( [number](https://gmod.tr/wiki/number) pitch, [number](https://gmod.tr/wiki/number) deltaTime = 0 )

Perdeyi, yani sesin çalınma hızını ayarlar. Bu, GM:EntityEmitSound fonksiyonunu çağırır.

CSoundPatch:[ChangeVolume](https://gmod.tr/wiki/CSoundPatch.ChangeVolume)( [number](https://gmod.tr/wiki/number) volume, [number](https://gmod.tr/wiki/number) deltaTime = 0 )

Çalınan sesin seviyesini ayarlar. Yalnızca ses çalınırken çalışıyor gibi görünüyor.

CSoundPatch:[FadeOut](https://gmod.tr/wiki/CSoundPatch:FadeOut)( [number](https://gmod.tr/wiki/number) seconds )

Sesin seviyesini mevcut seviyeden 0'a, belirtilen saniye içinde yavaşça düşürür.

[number](https://gmod.tr/wiki/number) CSoundPatch:[GetDSP](https://gmod.tr/wiki/CSoundPatch:GetDSP)()

Ses için DSP (Dijital Sinyal İşlemcisi) efekt ID'sini döndürür.

[number](https://gmod.tr/wiki/number) CSoundPatch:[GetPitch](https://gmod.tr/wiki/CSoundPatch:GetPitch)()

Mevcut perdeyi döndürür.

[number](https://gmod.tr/wiki/number) CSoundPatch:[GetSoundLevel](https://gmod.tr/wiki/CSoundPatch:GetSoundLevel)()

Mevcut ses seviyesini döndürür.

[number](https://gmod.tr/wiki/number) CSoundPatch:[GetVolume](https://gmod.tr/wiki/CSoundPatch:GetVolume)()

Mevcut ses yüksekliğini döndürür.

[boolean](https://gmod.tr/wiki/boolean) CSoundPatch:[IsPlaying](https://gmod.tr/wiki/CSoundPatch:IsPlaying)()

Sesin çalınıp çalınmadığını döndürür.

CSoundPatch:[Play](https://gmod.tr/wiki/CSoundPatch:Play)()

Sesi çalmaya başlar. Bu, sesin seviyesini ve perdesini varsayılan değerlerine sıfırlayacaktır. Bakınız: CSoundPatch:PlayEx

CSoundPatch:[PlayEx](https://gmod.tr/wiki/CSoundPatch:PlayEx)( [number](https://gmod.tr/wiki/number) volume, [number](https://gmod.tr/wiki/number) pitch )

CSoundPatch:Play ile aynıdır ancak ses seviyesini ve perdeyi doğrudan ayarlamaya olanak tanıyan 2 ek argüman içerir.

CSoundPatch:[SetDSP](https://gmod.tr/wiki/CSoundPatch:SetDSP)( [number](https://gmod.tr/wiki/number) dspEffectId )

Ses için DSP (Dijital Sinyal İşlemcisi) efektini ayarlar. Player:SetDSP'ye benzer, ancak bireysel sesler içindir.

CSoundPatch:[SetSoundLevel](https://gmod.tr/wiki/CSoundPatch:SetSoundLevel)( [number](https://gmod.tr/wiki/number) level )

Ses seviyesini desibel cinsinden ayarlar.

CSoundPatch:[Stop](https://gmod.tr/wiki/CSoundPatch:Stop)()

Sesin çalınmasını durdurur. Bu ses yamasının bağlı olduğu (CreateSound ile belirtilen) varlık geçersizse bu çalışmaz. Sorun Takipçisi: 3260

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/CSoundPatch
