Prowler Productions
  Dink Smallwood Forum
  Can I put a wav file on the intro of a DMOD? How?

Post New Topic  
profile | register | faq

Author Topic:   Can I put a wav file on the intro of a DMOD? How?
Soundwalker posted 04-29- 01:39 PM CT (US)   Click Here to See the Profile for Soundwalker   Click Here to Email Soundwalker  
How can I put a wav file on the intro of my DMOD? (I know nothing about c)
Wyndo posted 05-02- 04:20 PM CT (US)     Click Here to See the Profile for Wyndo  Click Here to Email Wyndo     
You should be able to -- but MIDI's are better... Look for the sound faq at dinknet.virtualave.net .
Soundwalker posted 05-03- 09:09 PM CT (US)     Click Here to See the Profile for Soundwalker  Click Here to Email Soundwalker     
What I want to do I can't find on the FAQs. How can I put a wav file to play like redink just did in Lost in Dink? His file sources aren't available in that DMOD...
Dukie posted 05-04- 11:00 AM CT (US)     Click Here to See the Profile for Dukie  Click Here to Email Dukie     
If you know nothing about c (dink c actually) you won't be able to make an intro.. Anyway, use the playsound command
Soundwalker posted 05-05- 12:27 PM CT (US)     Click Here to See the Profile for Soundwalker  Click Here to Email Soundwalker     
I got it! I used Playsound (50,11500,0,0,0);
11500 is the sample rate. With 22500 the wav just got too fast.
But I still have a problem: my wav file is not played until the end, it suddenly stops. what do that three zeros mean? How can I fix this problem? (I want my wav file to be played completely)
NeonWaters posted 05-05- 02:23 PM CT (US)     Click Here to See the Profile for NeonWaters  Click Here to Email NeonWaters     
That is a Dink Engine Bug. Dink looks for the copyright for the wave file and if you are using your own sounds or changing MP3's then it does not have the copyright on it and Dink will only play 1/4 of it. All you have to do is goto and get GoldWave. It is a professional sound editor. Then just use it to open your wave file and save it as something else.
~~NeonWaters~~
Soundwalker posted 05-05- 07:56 PM CT (US)     Click Here to See the Profile for Soundwalker  Click Here to Email Soundwalker     
Just reviewing:
With .wav files we use the line
loadsound ("Silence.wav",34);

this line is used to "say" your sound is there.

after, we use
Playsound(34,22050,0,0,0);

in order to play the file.

Now, I think this post should be added to Dink's FAQs. Thanx for you guys. Your help was very worthy for me.

Post New Topic  Post Reply
Hop to:


Contact Us | Prowler Productions

Powered by: Ultimate Bulletin Board, Freeware Version 5.10a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.