adding instruments to the music Wwise
the game uses a basic guitar, the idea is that when the player touches a flute the flute sound is added to the music and so on with various instruments but i have no idea how to do that, any help?
Answer by sorenlaulainen · Jan 22, 2017 at 08:19 AM
This is an incredibly broad question. It sounds like you're trying to design a music or rhythm game. Your title mentions Wwise, are you using that for audio implementation? How familiar are you with Wwise?
In essence, you're going to need a fully composed piece of music, with each instrument track saved out as a separate file. Then you would use Wwise to layer these tracks together and build the logic for how/when the different instruments play or stop playing, how they loop, etc. You would create switches or states in Wwise for when the player touches different instruments in your game, then call those states from Unity.
Depending on how the player interacts with your game, you might be able to use some of the Unity components provided in the Wwise-Unity integration. Otherwise, you will have to make those calls in a C# script.
Here are a couple of links to check out: https://www.youtube.com/watch?v=Zvnt3tbL3OU https://www.audiokinetic.com/qa/335/synchronized-spatialized-music-tracks-within-music-segments
Your answer
Follow this Question
Related Questions
One Song plays but the other does not? 0 Answers
Universal sound control across each scene 0 Answers
c# sound in unity 5 1 Answer
How to Setactive(true) the other class ? 0 Answers