ISMUSICPLAYING problems again. IPHONE

Previous topic - Next topic

spudgunjake

Its a simple one, Is there any issues with ISMUSICPLAYING on the iphone, Its works perfect when compiled to use on my pc, but when compiled for the iphone is seems to cut the ends of my wav files. some of my wav files have silence at the end which I need.

does the ISMUSICPLAYING.... command look for file length, or does it look for a long length of zeros or something.

or is there a recommended setting for wav files. Bite rate, file type PCM WAVE, I noticed when using goldwave, I can save files under PCM, signed, unsigned, mono and stereo types, whats best, At first I thought its was my MP3 files, so I converted them to Wav as recommended, but with the same results as my last post. 

for some reason if clips the wav files.

the idea looks like this, sorry I cant give you correct code, it would give to much away.

play first wav, wait for it to finish and the play the  second wav, wait for second wav to finshed, loop back to first.

loop:
if   (ISMUSICPLAYING=FALSE)
   PLAYMUSIC "MEDIA\play_FILE.wav"
   goto new_routine
endif
goto loop

new_routine:

if   (ISMUSICPLAYING=FALSE)
   PLAYMUSIC "MEDIA\play_SOMETHING_ELSE.wav"
   goto loop
endif

goro new_routine

You get the basic idea.




Marmor

yap not all wav files will play fine on iphone, converted to a other format

spudgunjake


Kitty Hello

I have 22050Hz, 16 bit int, mono here. They work perfectly.