Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Some properties cannot be set with WAAPI command setProperty?

0 votes

Hi, I'm running into an issue when I don't get a response from Wwise when I issue the WAAPI command "setProperty" on the following properties:

  • BypassEffect (RandomSequenceContainer)
  • GameAuxSendHPF (RandomSequenceContainer)
  • MidiKeyFilterMin (RandomSequenceContainer)
  • MidiKeyFilterMax (RandomSequenceContainer)
  • MidiVelocityFilterMin (RandomSequenceContainer)
  • MidiVelocityFilterMax (RandomSequenceContainer)
  • MidiChannelFilter (RandomSequenceContainer)
  • IsVoice (Sound)
  • HdrEnvelope (AudioSource)
  • UseGameAuxSends (ActorMixer)

All other properties can be successfully set.  Are certain properties not able to be set with setProperty?  If so, how can I tell or check for that?

 

I'm also getting the same behavior with setReference on the "DefaultSwitchOrState" property.  Do these properties require special handling?

 

I am using WAAPI version 2017.2.5

 

Thanks!

asked Nov 20, 2018 in General Discussion by Michelle A. (220 points)
bump - hoping someone who might have more experience working with these properties and reference via WAAPI can help out.  Thanks!

1 Answer

0 votes

Hi Michelle, 

  • For BypassEffect, we were able to reproduce the issue. Thank you for reporting the issue. (WG-40638)

  • For MidiKeyFilterMin, MidiKeyFilterMax, MidiVelocityFilterMin , MidiVelocityFilterMax please try with a number from  0 to 127. It worked correctly here. Example: https://gist.github.com/decasteljau/b277cb9fdb1503f3369a5f66782cf148

  • MidiChannelFilter , the value is a bitmask with value from 0 to 65535. It worked correctly here.

  • IsVoice: This is a current limitation. It is not possible  to IsVoice. IsVoice can only be set at the importation of the WAV file.

  • HdrEnvelope : This property is only there to store the curve, when the HDR envelope is modified. It can't be set to any value.

  • UseGameAuxSends : works here. Can you provide your code?

 

answered Nov 30, 2018 by Bernard R. (Audiokinetic) (35,090 points)
edited Nov 30, 2018 by Bernard R. (Audiokinetic)
Hi,

I am now using Wwise version 2018.1.5, but some extra properties are hanging on the setProperty or setReference WAAPI call.

- Effect0 (VO)
- MarkerInputMode (SFX)
- 3DPosition
- CrossfadeDuration (VO)
- CrossfadeShape (VO)
- FadeOutDuration (VO)
- ChannelConfigOverride (VO)

Are these properties not supported in this version?  Or does it matter which order these are set in?

Thanks!
Effect0 is a property of type "reference", you need to set it with setReference
Ex: https://gist.github.com/decasteljau/6060df1eb419d844ea0fde6d45b0e7f4

3DPosition is working here:
https://gist.github.com/decasteljau/ede0123f1e7aa7746df5d1dc8370a566

These properties are available on the AudioSource object, not on the Sound object directly:
- MarkerInputMode
- CrossfadeDuration (VO)
- CrossfadeShape (VO)
- FadeOutDuration (VO)
- ChannelConfigOverride (VO)
...