[directmusic] Re: Set Variable to Object

  • From: "Paul Stroud" <paul@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Mon, 10 Mar 2003 11:05:36 -0000

Thanks Scott and Ciaran.  I get it now. I have since found another solution,
but I have no doubt this info will be very useful soon enough.

Cheers

Paul

> -----Original Message-----
> From: directmusic-bounce@xxxxxxxxxxxxx
> [mailto:directmusic-bounce@xxxxxxxxxxxxx]On Behalf Of Ciaran Walsh
> Sent: 10 March 2003 10:51
> To: directmusic@xxxxxxxxxxxxx
> Subject: [directmusic] Re: Set Variable to Object
>
>
>
> yes, that's true Scott - I remember having to do that before to get my
> switching to work properly. I think that the problem was to do
> with needing
> to use different boundary settings on the same segment at different times,
> in other words you sometimes want to play it aligned and
> sometimes from the
> start at the boundary. If your default is align to segment and you want it
> to play from the start at the next measure, you need to specify
> AtMeasure+AtImmediate in the script on that instance. Leaving off
> AtImmediate would make it play back aligned at the next measure,
> which when
> you think about it gives you more different options.
>
> DM works in mysterious ways sometimes ;)
>
> -----Original Message-----
> From: directmusic-bounce@xxxxxxxxxxxxx
> [mailto:directmusic-bounce@xxxxxxxxxxxxx]On Behalf Of Scott Morgan
> Sent: 10 March 2003 00:32
> To: directmusic@xxxxxxxxxxxxx
> Subject: [directmusic] Re: Set Variable to Object
>
>
>
> I seem to remember a problem with AlignToSegment and Scripting.
> I think it
> always plays on a measure bounday if you do it from a script.  I can't
> remember all the specifics.  What is the default boundary of the
> segment?  I
> think it needs to be AtImmediate?
>
> Oh,  I think the solution was to call sometihng like:
>
> Segment.play AligntoSegment+AtImmediate+(whatever other boundary
> eg. AtBeat)
>
> Sorry I'm all fuzzy, I just walked in the door from GDC.
>
>
> -Scott Morgan
> http://Morganstudios.com
>
>
> ----- Original Message -----
> From: "Paul Stroud" <paul@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> To: <directmusic@xxxxxxxxxxxxx>
> Sent: Thursday, March 06, 2003 5:59 AM
> Subject: [directmusic] Set Variable to Object
>
>
> >
> > Hello everybody,
> >
> > Does anyone know if an object and it contents (i.e. a segment
> with a wave
> > track) are fully loaded into memory if a variable is set to such an
> object?
> >
> > Set MyObject = Segment1
> >
> > Assuming "Load all content...." is on, will I be using up more RAM by
> using
> > this method?
> >
> > If it does, would it be the segment info or it's entire
> content, waves and
> > all that were loaded into memory?
> >
> > You catch my drift?
> >
> > Paul
> >
>
>
>
>


Other related posts: