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

Using General Midi in WWISE?

+1 투표

Hi. This is my first time posting on this forum. I'm hoping I could get some help on two small questions.

I’m trying to use the MIDI function on WWISE.
I’ve tested out how to use the Synth One function, and I can hear the sound clearly without any problems.
The current game I’m working on is a mobile game which was created through Unity. I’m using WWISE for the game’s sound.

I have a few questions regarding what I stated above:
 

  • Is there any way to use General Midi in WWISE?
    I’m trying to use the General Midi function in WWISE. But I’m not even sure that WWISE has this function included. Can anyone help me to locate where this function is, if it is indeed there?
     
  • I also have a question about using an Event (Instrument made from WAV) as a MIDI.
    To maintain the high quality of sound, I made an instrument via WAV and am using it instead of a Synth One sound.
    I want to know whether there is a way to turn off the Event sound when it plays during Note Off.

    Ex) I make a WAV instrument into a WWISE sound FX (3 seconds long) and set it to play as an Event.
    I play this Event I created through MIDI. The problem is, whatever Midi note duration I input, everything plays for 3 seconds, ignoring the manually input midi note duration.

    I understand that Note Off is for Midi usage only so maybe that’s why it cannot control an Event (which is based off a WAV file), but I will still wondering whether there was a way to stop an Event with Note Off.
     
If anyone could be kind enough to point me in the right direction, I'd really appreciate it. 
문의 2019 9월 30 General Discussion May C. (130 포인트) 로 부터

2 답변

+1 투표

Here is the answer for for question 1. (Note it is preferable to create distinct posts for each of your questions, as different people could answer, at different times)

Wwise does not provide an implementation of General MIDI. 

You could however implement your own instruments from samples, and recreate part of the General MIDI standard:
https://www.audiokinetic.com/library/2017.1.9_6501/?source=Help&id=designing_simple_sampled_midi_instrument

Use this tool to automatically map sample files from their file names:
https://github.com/decasteljau/waapi-python-tools/tree/master/auto-midi-map
 

답변 2019 9월 30 Bernard R. (Audiokinetic) (35,110 포인트) 로 부터
+1 투표

Answer to question 2:

Yes, but you need to use the MIDI API:
https://www.audiokinetic.com/fr/library/edge/?source=SDK&id=soundengine__midi.html

The MIDI API allow to use MIDI Note ON and Note OFF, which are recognized by the audio objects in Wwise. Refer to this page of the documentation:
https://www.audiokinetic.com/fr/library/edge/?source=Help&id=understanding_midi_events

답변 2019 9월 30 Bernard R. (Audiokinetic) (35,110 포인트) 로 부터
Thank you Bernard, for your kind and quick answers to both my questions. (I apologize for getting back to you late.)
I am currently testing out what you informed me of along with a coworker to see whether we can find any wanted results. If there are any more questions which arise during the process, I will be sure to post them here on this QNA forum once more (and each question as a separate post, as you mentioned.)
Thank you so much again!
...