Thanks Leo. My main concern is with the compression, but this is just part of my overall concern with distribution for potential clients i.e. DMDemo "songs" on my showreel I want to reassure them that DMDemo will not tamper with any system files or folders. Can I do this and use mp3 compression without fear of the client not being able to play it due to a lack of the decoding codec? Paul > -----Original Message----- > From: directmusic-bounce@xxxxxxxxxxxxx > [mailto:directmusic-bounce@xxxxxxxxxxxxx]On Behalf Of Leo Newman > Sent: 28 January 2003 16:45 > To: directmusic@xxxxxxxxxxxxx > Subject: [directmusic] Re: Q's > > > > I only know about the second item. > > The advantage of setting a variable to an audiopath is gained when you = > use > the audiopath multiple times. If you do not use it multiple times, you = > are > better off just creating it in the function call. Otherwise you would = > have > the overhead of making the function call multiple times instead of just > passing a variable that is already set. > > This is just a programming perspective. I haven't done much with = > audiopaths > in VB. > > Leo > > > -----Original Message----- > From: directmusic-bounce@xxxxxxxxxxxxx > [mailto:directmusic-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Stroud > Sent: Tuesday, January 28, 2003 3:37 AM > To: DirectMusic List > Subject: [directmusic] Q's > > > Hello people, > > I have a couple of questions if any of you have the time > > 1). How can I implement compression? Particularly mp3 and ogg vorbis > > I have Wavelab, but still can't encode to MP3 in DMP. I thought that WL > would have installed the codecs. No? I think I found one line in the = > help > file of DMP, but that wasn't particularly helpful, although I now think = > I > know why I can't encode - I just don't know how I can. > > I also need to be sure that the user will be able to play it - error > messages would look very bad to say the least. > > > 2). Is there any advantage in setting a variable to an audiopath, and = > then > using that variable to declare the path used in a .play method? > > i.e. > > Set oAudioPathVari =3D Audiopath1.create > segment1.play IsPrimary, oAudiopathVari > > as opposed to... > > segment1.play IsPrimary, Audiopath1.create > > 3). What scenarios would you embed components in a script and when would = > you > reference? Does embedded components get loaded into RAM when the script = > is > loaded? How does this affect wave streaming? > > Thank you to anyone that can help > > Paul > > > > >