# AudioCompressor(ロブロックス クラス) > Adjusts the dynamic range of input streams. - URL:https://roblox.minecraft-okinawa.com/reference/classes/AudioCompressor/ - 公式:https://create.roblox.com/docs/reference/engine/classes/AudioCompressor - 受け継いでいるクラス:Instance ## プロパティ - `AudioCompressor.Attack: float`:Controls how quickly the compressor will clamp down on volume after it surpasses Class.AudioCompressor.Threshold|Threshold. - `AudioCompressor.Bypass: boolean`:Whether audio streams are passed-through unaffected by this effect. - `AudioCompressor.MakeupGain: float`:A gain value to be applied after compression. - `AudioCompressor.Ratio: float`:Ratio of input volume to output volume, to be applied when surpassing Class.AudioCompressor.Threshold|Threshold. - `AudioCompressor.Release: float`:Controls how quickly the compressor will unclamp after the stream volume dips back below Class.AudioCompressor.Threshold|Threshold. - `AudioCompressor.Threshold: float`:Gain value at which the compressor will start to modify the input stream. ## メソッド - `AudioCompressor:GetConnectedWires(pin: string): List`:Returns an array of Class.Wire|Wires that are connected to the specified pin. - `AudioCompressor:GetInputPins(): Array`:Gets the list of pins that Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property. - `AudioCompressor:GetOutputPins(): Array`:Gets the list of pins that Wire can use in Wire.SourceName to connect to this instance via its Wire.SourceInstance property. ## イベント - `AudioCompressor.WiringChanged(connected: boolean, pin: string, wire: Wire, instance: Instance)`:Fires when another instance is connected to or disconnected from the AudioCompressor via a Wire. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)