How do I play multiple track at once

Get help using Construct 2

Post » Wed Jun 08, 2016 10:05 pm

Guys, im making a music game, there are 5 levels and 13 audio track in ogg for each level.
The idea is that the player catch one item and the audio of that item is corresponding to a track.. so it raises the volume for it and lower the others...
So there is a drum.. base and guitar... The voice is always 0 db.
In the start of the layout i play all of them with -100 db, but when i pick up a item the corresponding audio is set to 0db, since there are 3 variations for each instrumento when i pick up one is set to 0 and other to -100.
The audo seems to start discincronized.
I need help...
B
24
S
7
G
2
Posts: 63
Reputation: 2,597

Post » Fri Jun 10, 2016 11:43 pm

You should use Audacity and just put the tracks together in one track?

Barring that, you will probably have to fiddle, and maybe then the timing may not be precise. C2 wasn't designed to be a music maker.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Sat Jun 11, 2016 12:15 pm

the idea is to have one music and diferent instruments playing the same music.
so the player get the instrumento on the game, that is why the music is playing over the curse of the level
B
24
S
7
G
2
Posts: 63
Reputation: 2,597

Post » Sat Jun 11, 2016 4:50 pm

@igalencar
sounds like an audio scheduling type of problem. Which is something that was added in release r225. I haven't played around with it at all, but you may have to read up on that, and try the example to see if that will solve your problem.
B
94
S
33
G
20
Posts: 438
Reputation: 17,615

Post » Sun Jul 17, 2016 2:28 pm

Ok i have 12 stream of audio, and 5 leves the game each level has 12 streams of audio.
What i need is on start of the level it start all streams to play simultaneous, and only one at volume 0, the resl at volume -100.
When the player get a instrument on the level the audio track regarding to that istrument goes to volume 0, since the music is playing on the background it gives the impression of the change instruments over the course of the music.
B
24
S
7
G
2
Posts: 63
Reputation: 2,597


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests