| Author |
Sounds - .Wav files in Particular
|
|
| jim.herring@verizon.net 2006-02-08, 8:53 am |
| How can I reference certain .wav files to create instructions on a
topic?
Thanks; Jim
| |
| edwfitzpatrick@verizon.net 2006-02-08, 8:53 am |
|
jim.herring@verizon.net wrote:
> How can I reference certain .wav files to create instructions on a
> topic?
>
> Thanks; Jim
Sterling data (www.sterlingdata.com) has a freeware template under
Clarion Freeware called Playwav. It plays a wav file without bringing
up the wav player. The wav filename can be either a literal name or a
variable by preceeding the variable name with the ! character.
>From the Readme file:
"The template will play a WAV file at the Accepted Embed point of any
window control. Some sample WAVs are included".
Ed
| |
| jim.herring@verizon.net 2006-02-08, 8:53 am |
| edwfitzpatrick@verizon.net wrote:
> jim.herring@verizon.net wrote:
>
> Sterling data (www.sterlingdata.com) has a freeware template under
> Clarion Freeware called Playwav. It plays a wav file without bringing
> up the wav player. The wav filename can be either a literal name or a
> variable by preceeding the variable name with the ! character.
>
> "The template will play a WAV file at the Accepted Embed point of any
> window control. Some sample WAVs are included".
>
> Ed
****************************************
*************
Ed; I tried this and I get "Unknown Procedure label -
SndPlaySound(SoundFile,1)
Where is this procedure????
Jim
| |
|
| Send Me Your mail and i will send you demo app my email :
ikrami2000@hotmail.com with subject --> Wav Application fron Clarion
| |
| sandinzz@yahoo.com 2006-02-08, 8:53 am |
| Hi. Just follow instructions in sterlingdata readme.txt file. Template
works fine. Zoran
| |
| edwfitzpatrick@verizon.net 2006-02-08, 8:53 am |
|
jim.herring@verizon.net wrote:
> edwfitzpatrick@verizon.net wrote:
>
> ****************************************
*************
>
> Ed; I tried this and I get "Unknown Procedure label -
> SndPlaySound(SoundFile,1)
>
> Where is this procedure????
>
> Jim
Jim,
You first have to install the Global extention called PlayWAV. Here is
the text from the Readme.txt file that pertains to this template:
PlayWAV - a freeware template to play WAV files
========================================
=======
The template will play a WAV file at the Accepted Embed point of any
window control. Some sample WAVs are included:
HUH.WAV
RINGIN.WAV
BLIP.WAV
DRUMS.WAV
HALLO.WAV
To install:
1) Copy SNDLEG.TPL to the templates directory (usually
something like C:\CLARION5\TEMPLATE)
2) In the App Gen go to Setup/Template Registry and register the TPL
3) In your app at Global/Extensions add the Global Extension Template -
SoundFlGlobal
4) Add SoundFlExt to your procedures as an Extension template
5) If no WAV file is allocated to a control then no code will be
generated
by the template for that control.
6) To use a variable for the WAV make sure the first character is !
(Clarion 2.x users should remove the FAMILY() attributes from line 1 of
the TPL)
For more freeware, Clarion resources and programming help visit:
www.sterlingdata.com
Ed
|
|
|
|