Warning: count(): Parameter must be an array or an object that implements Countable in /web5/aldweb/www/aldweb_com/www/inc/functions.php on line 661
Warning: count(): Parameter must be an array or an object that implements Countable in /web5/aldweb/www/aldweb_com/www/inc/functions.php on line 664 aldweb Site - Forum - iziBasic - Sujet n°1307
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1307
.wav files
le 01/12/2005 @ 03:13 par Frank
Is there any way to put wave files into izibasic programs?
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 1 -------- le 01/12/2005 @ 04:36 par ktimaster
visiteur
Yes... Take a look at the ibChristmas example program
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 2 -------- le 01/12/2005 @ 17:33 par Richard
visiteur
Frank --
The wave file is saved in the resource file and you use the PLAYWAVE command.
Richard
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 3 -------- le 01/12/2005 @ 19:13 par Frank
visiteur
Richard:
But how do you get it into the resource file?
Frank
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 4 -------- le 01/12/2005 @ 21:31 par Richard
visiteur
Frank --
Maybe you already know all this...
I'm not exactly sure how to get the actual wave file into the resource file. Because I have never done it.
But I think I know how to set it up. Using BIRD - * open the resource file (new or existing) * click New * Select Generic Type * specify the size of the wave file * specify the Type as "WAVE" * specify the index number. iBChristmas uses 1.
I suspect that you need to open the wav file, maybe with BIRD??, select it all, copy and paste into your WAVE resource.
I hope this helps
Hopefully, aldweb or someone will fill in or correct,
Richard
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 5 -------- le 04/12/2005 @ 22:15 par aldweb
visiteur
Let me just add that the original WAVE resource I used in iBChristmas was built using Pilrc with this syntax (if I remember well):
DATA "WAVE" ID 1 "MyMusic.WAV"
Cheers,
@+ aldweb
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 6 -------- le 05/12/2005 @ 00:02 par Frank
visiteur
aldweb
Pardon my ignorance, but what is Pilrc
Frank
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 7 -------- le 05/12/2005 @ 03:12 par Richard
visiteur
Frank --
Pilrc can be downloaded from
http://sourceforge.net/projects/pilrc/
PilRC is the PILot Resource Compiler. It takes an input file containing descriptions of Palm Pilot resources and outputs binary resources that can be included into a .prc file.
Richard
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 8 -------- le 05/12/2005 @ 11:33 par aldweb
visiteur
Thank you Richard, your answers are always much more explicit and clearer than mine. I really appreciate a lot that you and a few others come and share so nicely here.