Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
スマートフォンのマイクから取得したデータからリアルタイムでピッチを判定する機能はありますか?
in General Discussion by 太郎 (100 points)

1 Answer

0 votes
現時点では、すぐに利用できるAPIまたはピッチ分析プラグインはご用意しておりません。
メーターエフェクト(Meter effect)プラグインによるRTPCの出力をお使いいただく方法(このRTPCは、getRTPCVale()を用いてゲーム内のメーター値を取得することにお使いいただけます)をご提供しておりますが、残念ながらピッチに対応するものはございません。
 
解決方法の1つとして、独自のエフェクトプラグインを作成されることが挙げられます。
Audio Input Sourceプラグインを使用しマイクからの入力を取得して、Wwiseパイプラインの任意の箇所(オーディオバスやSFXなど)にセットした独自のエフェクトプラグインで必要な分析を行い、その結果をゲームに送信する、という方法になります。
 
また、分析そのものにつきましては、アプリケーションと必要な精度によって、ピッチトラッキング用の各種アルゴリズムの選択が異なってくることと思います。
例えば、シンプルなZero-Crossingsはホイッスルのような音には十分ではないでしょうか。またYINメソッドなどのアルゴリズムは通常、自己相関を使用しておりますのでCPUの負担となります。スマートフォンでお使いの場合にはご注意ください。
by Masahiro Y. (140 points)
...