Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 26th Sep 2002 00:39
when i use :

load music "music.mp3",1
play music 1
loop music 1

the mp3 music don't loop
( under DBv1 it does ! )
The Darthster
21
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 26th Sep 2002 01:56
You don't need the 'play music 1' in there, 'loop music 1' will do that for you. I haven't used mp3's, however.
Guillermo
21
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 26th Sep 2002 07:03
The first time I tried your code, the computer played the mp3 file. But afterwards, it would only play the first milliseconds of the sound. This was easily fixed by including the command "wait" and specifying an amount of time. The problem is that we don't always know the length odf time of the sound. So, I used this procedure instead:

load music "c:\A\Arp.mp3",1
eee:
play music 1
x=music playing(1)
if x=1 then goto eee
end

It worked several times - as many as I tried it.


Guillermo

Login to post a reply

Server time is: 2024-05-04 20:00:49
Your offset time is: 2024-05-04 20:00:49