Thanks Terry I'll use your advice.

Best Regards

George


----- Aρχικό μήνυμα -----
Από: Terry R. Schussler <[EMAIL PROTECTED]>
Προς: <[EMAIL PROTECTED]>
Αποστολή: Κυριακή, 3 Σεπτεμβρίου 2000 8:05 μμ
Θέμα: Re: <lingo-l> Sound files


> At 3:49 PM +0300 9/3/00, George Panagiotakopoulos wrote:
> >Hi All,
> >
> >Iam doing a project on Heat engines. I have made 10 .dir files with
200-400
> >frames per file.
> >At every file there are about 5-7 sound members (wav format, 22050,16bit,
> >mono) with narration approx 1MB every file. I made these files internal
and
> >every file begin with a puppetsound lingo code. At some wav files I use 1
or
> >2 cue points.
> >So every .dir file is about 10 MB large
> >
> >I plan to make a projector with a start.dir file and I keep the 10 .dir
> >files external from the projector
> >
> >Because I don't have experience for the distribution of this project, I
have
> >two questions:
> >
> >a) Should I keep the sound files internal or should I keep them external
and
> >call them with a sound playfile command, in order to make the .dir files
> >smaller?
>
> If you are using Director 7, I would recommend that you link the sound
> files into sound castmembers.  This will enable Director to "stream" the
> sound from disk during playback.  Alternatively, you will be forcing
> Director to load the entire sound member's data into RAM before beginning
> playback.  This will take a lot of RAM and put a delay into the start of
> the sound playback.
>
> If you are using Director 8, then you can either leave the sound files
> external or import them completely.  It will make little difference so
long
> as you use the new sound object features to play your sound.  Instead of
> calling puppetSound to get the sounds to play, you should use code like
> this:
>
> voSoundObject = (sound 3)
> voSoundObject.setPlayList([ [ #member : (member "firstVO") ] ] )
> voSoundObject.play()
>
> >
> >b) When a sound file ends releases the memory that had been used by it?
>
> If you are using Director 7, the sound file's data is streamed in about
40K
> chunks as I recall.  That may have changed with D8.
>
> In either case, the sound data should be released from RAM when you close
> the movie containing the sound member _as long as_ you are not actively
> playing the sound.  I.e. as long as you are not playing the sound as you
> call "go to movie" to jump to the next movie.
>
> Regards,
>
> Terry
>
> --
>
> ...---===|    Terry R. Schussler    |===---...
> ...---===|  DIA Chief Investigator  |===---...
>
> on visitWebsite yourSelection
>  coolSites = [ \
>    #greatSeminars : "http://www.macromediaseminars.com/", \
>    #directorIntelligenceAgency: "http://www.director8.com", \
>    #freeBehaviors : "http://www.behaviors.com/"]
>  gotoNetPage coolSites.yourSelection
> end visitWebsite
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to