Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Music segments queueing  (Read 4063 times)

0 Members and 1 Guest are viewing this topic.

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Music segments queueing
« on: August 02, 2006, 12:38:49 PM »

I want to do a iMuse-like  ogg music transition, and for that i need a Game.PlayMusicChannelQueue(Channel, Filename, Looping, LoopStart) that queues the next music segment seamlessly right after the current music segemnt (looped or not) has reached it's end.

I tried implementing this in the script level, but due to sound buffers i couldn't accomplish it.

Thanks,
SoundGuy
Logged

gloom

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Music segments queueing
« Reply #1 on: October 16, 2006, 01:10:35 PM »

I would also appreciate this a whole lot.
Logged

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Music segments queueing
« Reply #2 on: October 16, 2006, 02:41:49 PM »

How else could you make a synced song/music dialog (I.E. "A Pirate i was meant to be") without it ?
Logged

gloom

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Music segments queueing
« Reply #3 on: October 17, 2006, 01:30:47 PM »

Well, that shouldn't be so hard. You can always use parsable markers in the Ogg/MP3-file and trigger the text based on that. Of course, that would have to be supported by the engine.. :) There is always the good old-fashioned MS-counting method also. :)
Logged

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Music segments queueing
« Reply #4 on: October 17, 2006, 06:50:40 PM »

I tired the "good old" ms counting and it doesn't work. the enige has a 500-1000ms lag that is upredictable, even if your ques are right on the milisecond.
Logged
 

Page created in 0.039 seconds with 21 queries.