Jump to content
Sign in to follow this  
Arterie

Playing Soundfile

Recommended Posts

Arterie

How can i play a Soundfile included into my script with fileinstall, without installing it. i mean directly from the script.

Edited by Arterie

Share this post


Link to post
Share on other sites
DW1

Don't know if there is a way without EVER installing it, but you could put it in a temp dir and then delete.

Might be a way to read it out of the compiled exe, but I don't know if on compile if the included files get re encoded or not.

Share this post


Link to post
Share on other sites
Arterie

Thy you for your answer. I'll do it like this.

But it takes a bit of time to install a 15 mb file (for me up to 10 secs),I dont want to know the time on slower pcs.

But I look forward to somebody knowing a way,who will tell me.

Share this post


Link to post
Share on other sites
DW1

Does anybody know how the fileinstall files sit in the final exe? are they re-encoded with the final exe?

Edited by danwilli

Share this post


Link to post
Share on other sites
Blue_Drache

As far as playing directly? No. Installing to a temp folder and then erasing after is the best bet.

Size reduction options: Re-encode the .wav file, or use an MP3.

See SoundPlay() or the _Sound* in the #include <Sound.au3>


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×