Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SFML 1.6 でサウンドをスムーズにフェードイン/フェードアウトするにはどうすればよいですか?
と がSetVolume()ありSetAttenuation()ます。これら 2 つはこれらの値を直接設定します。しかし、ある音から別の音へのスムーズな移行が必要です。
SetVolume()
SetAttenuation()
最良の方法は、各フレーム/時間ステップで音量を低く設定することだと思います。