Please add support for negative values in SetVoiceGain.
さたにあ(사타니아)
Hello! First, thank you for all your hard work developing so many fun and useful features.
My feedback today is a feature request regarding the SetVoiceGain() function for controlling player voice in Udon.
As it stands, the function only accepts values in the 0 to 24 range, meaning it can only be used to boost a player's voice, making it louder.
I'm trying to create a specific area in a world where players inside the area would hear the voices of players outside more quietly, as if they were in a soundproof room. However, with the current implementation, my only option is to mute them completely by setting their Voice Far property to 0; I can't simply reduce their volume.
It seems that if it's possible to boost the gain, it should also be technically possible to do the reverse (attenuation). I would be very grateful if you could consider adding support for negative values to this function.
Thank you for your continued hard work on the platform.
Best regards.
==== Original Text ====
こんにちは。毎度楽しい機能の開発ありがとうございます。
本題ですが、Udonではプレイヤーの音声を操作するための関数がいくつか用意されているかと思いますが、その中のSetVoiceGain()についての要望です。
現在は0~24の範囲の値のみ受け付けるようになっていて、プレイヤーの声が大きく聞こえるようにのみ出来る仕様になっているかと思われます。
私はワールド内に特定のエリアを作成し、そのエリア内にいるとエリア外のプレイヤーの声が小さく聞こえる部屋を作ろうと考えていますが、今のSetVoiceGain()だとプレイヤーボイスのFarを0に変更してミュートすることしか出来ません。
音量のブーストが可能であれば、その逆も可能だと思われるので、もしよろしければ機能を追加して頂けますと幸いです。
いつも運営ありがとうございます。よろしくお願い致します。
Log In