[directmusic] Re: Q's

  • From: "Ciaran Walsh" <ciaran@xxxxxxxxxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Wed, 29 Jan 2003 10:50:35 -0000

oops, looks like we both replied at the same time saying the same thing
Scott ;)
by your point about mp3 encoding, I'm referring to the previous mail of
course...

-----Original Message-----
From: directmusic-bounce@xxxxxxxxxxxxx
[mailto:directmusic-bounce@xxxxxxxxxxxxx]On Behalf Of Ciaran Walsh
Sent: 29 January 2003 10:48
To: directmusic@xxxxxxxxxxxxx
Subject: [directmusic] Re: Q's



Scott's point about mp3 encoding stereo wavs is definitely a problem for me.
The way to get round it is to encode your wavs as mp3 in Sound Forge or
whatever you use, saving not as an mp3 file but as an mp3 encoded wav file.
Then you can import your stereo mp3 compressed file into DMP and it should
work.

You can use Microsoft ADPCM of course, which should work for everyone, but
it can be a bit crunchy sounding - depends a lot on the timbre of the source
sound I find.

One thing I'd be interested to know in relation to Paul's questions is
whether an mp3 codec is now installed as standard on current windows
versions? I assume it must be in XP?

-----Original Message-----
From: directmusic-bounce@xxxxxxxxxxxxx
[mailto:directmusic-bounce@xxxxxxxxxxxxx]On Behalf Of Paul Stroud
Sent: 29 January 2003 10:19
To: directmusic@xxxxxxxxxxxxx
Subject: [directmusic] Re: Q's



Thanks Scott.

So do you think it'll be best if I use Wavs only, or is there another way? A
compression that I can be sure all will have.

Is it very unlikely someone will not have the mp3 codec on their machine?

Can anyone think where my problem lays with encoding mp3?

Cheers

Paul

> -----Original Message-----
> From: directmusic-bounce@xxxxxxxxxxxxx
> [mailto:directmusic-bounce@xxxxxxxxxxxxx]On Behalf Of Scott Morgan
> Sent: 29 January 2003 01:41
> To: directmusic@xxxxxxxxxxxxx
> Subject: [directmusic] Re: Q's
>
>
>
> Hi Paul,
>
> DMDemo is completely safe.  It does not write or change anything on your
> hard drive.  It just loads the content and does what the
> interface tells it
> to.
>
> If the mp3 codec is not on someone's system the mp3 will fail to play,
> sorry.  I think there is a problem encoding stereo files to mp3
> in DMP (like
> you can't do it).  That may be your problem.
>
> Oh, if you only use an audiopath for one segment, its actually easiest to
> embed the audiopath in the segment.  If you only use one audiopath like I
> usually do its better to not reference it in the script at all.
> If you are
> using DMDemo you can make your audiopath the default audiopath using the
> DMDemo.ini.  The reason this is better is because if you create it in the
> script the new audiopath is an additional audiopath besides the already
> existing default audiopath created by DMDemo or whatever app you
> are using.
> If you are using multiple audiopaths then you should either embed them in
> your segments or create them in the script depending on how they are used.
>
> I like to embed all of my content in the script to make things
> cleaner.  You
> would use references if you had multiple scripts and you wanted
> the scripts
> to be able to use the same files.  For instance in the project I
> am working
> on I have one DLS set and one audiopath that all the scripts use.  I just
> load different instruments in each script and I adjust the FX paraemeters
> using Param Ctrl tracks.
>
> The memory part depends on whether or not you tell the script to download
> all content when the scirpt loads (not whether its embedded or not). There
> is a check box on the property page for that.  If you uncheck it then you
> have the repsonsibilty of using the DownloadSoundData command to
> load things
> and using UnloadSoundData to unload things before the script gets closed.
> Unless you are ready for some serious technical problems, I recommend you
> leave the auto-loading on.  My current project uses dynamic loading and it
> had been a nightmare...its sure lets me use a lot more samples though.
>
> Streaming waves are also not affected by embed or not.
>
> -Scott Morgan
> http://Morganstudios.com
>
>
> ----- Original Message -----
> From: "Paul Stroud" <paul@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> To: <directmusic@xxxxxxxxxxxxx>
> Sent: Tuesday, January 28, 2003 9:25 AM
> Subject: [directmusic] Re: Q's
>
>
> >
> > 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
> > >
> > >
> > >
> > >
> > >
> >
>
>
>




Other related posts: