[directmusic] Align to Segment with wav tracks..

  • From: "Jason Booth" <jason@xxxxxxxxxxxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Wed, 9 Oct 2002 12:57:44 -0400


        So as of last Friday, I'm finally finished with AC2's music
system. And of course, finishing any project usually leaves you with a
bunch of ideas for different ways to do things, so I'm experimenting
with a few of them now.
        What I'm trying to do involves using a multi-track, streaming
wav type approach, where each instrument can change from one musical
style to another at any time. Basically, the five instruments play as
secondary segments with embeded wav file, and the primary segment is
only used for time. When I need to change one of the instruments to
another style, the control script stops the instrument (at measure) and
triggers a fill (at measure), then the fill calls a script routine to
play the new instrument at the next measure.=20
        This works great, except for one problem: When I pass it the
"Align to Segment" parameter in the .play call, it doesn't align. The
segment always starts at the next measure, regardless of alignment
flags. This is also the case when I use producers Secondary Segment
window to trigger the wavs with the Align to Segment flag. Also, at some
point, I'm going to need to figure out a way to efficiently cross fade
them to cover up any slight differences in reverbs or fading notes. I
suppose I'll have to create an audio path for every possible instrument
and do the fades on them, which gives me 25 individual audio paths -
that seems like a lot.. Hmm..

        Anyway, if anyone knows why the Align to Segment doesn't seem to
work on encoded wavs, or some way to work around it, I'd appreciate the
pointers - thanks!

Other related posts:

  • » [directmusic] Align to Segment with wav tracks..