Help needed for audio!

  • #1, by shin-megamiThursday, 21. October 2021, 15:52 2 years ago
    Hi everyone,

    I'm pretty new here, so please excuse my nooby questions!
    I have in Visionaire several scenes set up and everything works. Now I would like to add some sound effects to the different scenes, for example the second scene is a cave and the footsteps need some hall.
    How exactly do I do that?
    Which type of audio container should I use? I just want for example all sounds of a scene to have hall.
    Would a "mix container" work? And how do I set it up?
    I've understood that I can add audio containers to the scenes in the settings of the scene...but it didn't change anything.
    And what is a "generator" audio container?

    Sorry again for all the questions smile

    Newbie

    11 Posts


  • #2, by SimonSFriday, 22. October 2021, 16:05 2 years ago
    Hi,
    the easiest way would be to set the output bus of the characters and the default output bus to a bus with a reverb effect. So no container needed. There are action parts for changing the output bus for characters.
    Containers play sounds so that is not needed here.
    Generator containers can generate audio data via scripting, that's a bit more advanced.

    Thread Captain

    1580 Posts

  • #3, by shin-megamiSaturday, 23. October 2021, 14:33 2 years ago
    Thanks for the reply!
    Okay I'm getting my head around the system with containers and mixers smile

    My next question: I can change the default output bus to a bus with a reverb effect, the problem is I now get the reverb in every scene, but I only want it in a specific scene. How do you do that?
    And where do you change the output bus of the characters?

    I tried the action "change audiobus" on the main character, but it doesn't seem to do anything...

    Newbie

    11 Posts

  • #4, by PanSSunday, 24. October 2021, 17:05 2 years ago
    If you want this audio bus only in one scene, then you could use the "begin scene/leave scene" actions (dont know how they called in the english version) and set the audio bus back to the standard bus when leaving the scene.

    Newbie

    73 Posts

  • #5, by SimonSMonday, 25. October 2021, 11:12 2 years ago
    The default sound bus can only be accessed via lua currently, but that's easy:
    Just do it on scene beginning and reset on end.
    game.DefaultSpeechBus = AudioBusses["mixer"]
    game.DefaultSoundBus = AudioBusses["mixer"]
    game.WalksoundBus = AudioBusses["mixer"]
    game.DefaultMusicBus = AudioBusses["mixer"]

    Thread Captain

    1580 Posts

  • #6, by shin-megamiTuesday, 26. October 2021, 11:54 2 years ago
    Hi,
    the easiest way would be to set the output bus of the characters and the default output bus to a bus with a reverb effect. So no container needed. There are action parts for changing the output bus for characters.
    Containers play sounds so that is not needed here.
    Generator containers can generate audio data via scripting, that's a bit more advanced.

    Where do you set the output bus of the characters?
    I want one of the NPCs to use another mixer/audiobus than the main character, is that possible? I've tried with the action "set audiobus to character", but that doesn't seem to change anything.
    Thanks again to everyone for the help!

    Newbie

    11 Posts

  • #7, by shin-megamiTuesday, 26. October 2021, 12:59 2 years ago
    And here would be a short noob-guide for anyone coming here!

    1. Go to "Audio". Click on mixer and create a new Audiobus (f.e. "Testaudiobus")
    2. Click on the new bus and create the effect "Reverb"
    3. Still in "Audio" create a value (f.e. "Reverbstrength") and set as minimum 0 and as maximum 100. As beginning value set 0
    4. Go back to the new bus and click on "new automation"
    5. As source take the newly created value (f.e. "Reverbstrength"), as field "send 1" and as type 100:1
    6. Click on the button "new send"
    7. Take as source the effect "Reverb", all other settings can be kept as they are.
    8. Go to "General game settings"
    9. Scroll down and set the soundbus to your new Audiobus (in our example Testaudiobus)
    10. Got to "Scenes"
    11. At the beginning of the scene where you want a reverb set an action to change the value "Reverbstrength" to whatever you want
    12. Play and enjoy!

    Hope not to have forgotten anything smile
    Thanks again for all the help!


    Newbie

    11 Posts