社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,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. 
分类: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
 

用户: Bernard R. (Audiokinetic) (35.8k 分)
+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

用户: Bernard R. (Audiokinetic) (35.8k 分)
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!
...