コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持

First off this question is a dupe of https://www.audiokinetic.com/qa/1241/recommended-incoming-events-when-designing-source-plugin?show=1241#q1241

However I think I accidentally "answered" that question by responding to it... Anyway, how do WWise source plugins deal with MIDI input? 

I've compiled the sine source plugin myself and debugged it in the authoring tool. If I send a C major chord with three notes, by making the MIDI file's target my synth in the authoring tool, I get three calls to the Init function, and calling in_pSourceFXContext->GetMidiEvent() returns each note-on event in the chord. That's a bit scary - the docs say that the Init function should be where memory allocation occurs, but if I'm trying to play any sort of interesting MIDI pattern, I don't see how this could be feasible for real time playback in a game.

There must be some mistake I'm making, perhaps in the configuration of my plugin... and I can see that Synth One accepts MIDI input as a Frequency Mode parameter, so there must be some way that it's handling this stuff. 

Does anyone have any experience working with MIDI and Wwise, that could perhaps shed light on how plugins are meant to handle more than a single note on event?

Thanks for any help you can provide,

John

John J. (340 ポイント) General Discussion
John J. 編集

Please sign-in or register to answer this question.

...