Music sync - Separated instruments

sebmacflysebmacfly Member Posts: 1,018
edited May 2012 in Working with GS (Mac)
Hi there :)

I ask you if we can do this...
I have a music in multiple files (all same duration), each music file is an instrument.

What i need?
I need to play all the music files synchronized.
For exemple, imagine 5 music files (drum, synth, bass, strings, voice)
and five actors.
At the start of the scene, no music is playing.
If i touch the actor 1, the drum is starting.
If i touch the actor2, the synth is starting, BUT, synchronized with the drum music... Etc......

Any way to make that work?

Thanks for your help

Best Answer

  • kinzuakinzua Posts: 554
    Accepted Answer
    hmm.. when u start the drum loop.. start a looping counter which is synced with ur duration..

    when the x instrument is touched.. play it when the sync counter is 0..

    hope i cud answer ur query..

Answers

  • sebmacflysebmacfly Member Posts: 1,018
    hmm.. when u start the drum loop.. start a looping counter which is synced with ur duration..

    when the x instrument is touched.. play it when the sync counter is 0..

    hope i cud answer ur query..

    Thanks,

    I'll try and let you know ;)
  • EbreezeEbreeze Member, PRO Posts: 481
    Wow that's a good idea....they would all have to all be sounds files or music files?
  • sebmacflysebmacfly Member Posts: 1,018
    Wow that's a good idea....they would all have to all be sounds files or music files?
    I would say sound files, because you can't play multiple music files at the same time
  • sebmacflysebmacfly Member Posts: 1,018
    hmm.. when u start the drum loop.. start a looping counter which is synced with ur duration..

    when the x instrument is touched.. play it when the sync counter is 0..

    hope i cud answer ur query..
    Worked like a charm!

    Thank you very much ;)
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited June 2012
    You could take that one step futher and do the timer based on the BPM of your files and then set it to jump in on the beat.
  • imGuaimGua Member Posts: 1,089
    Practice shows that GS sometimes doesn't sync music properly. I mean I can have a scene with music and animate behavior, and some times music doesn't sync with picture as it should.
  • sebmacflysebmacfly Member Posts: 1,018
    edited June 2012
    Here is a demo i made...

    http://c.sdbx.co/M9Xm4z

    Take it and let me know if this way is good or can be optimized?
Sign In or Register to comment.