menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

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

General Discussion John J. (340 포인트) 로 부터
수정 John J. 로 부터

Please sign-in or register to answer this question.

...