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.

DarkBASIC Professional Discussion / has anyone here successfully used music playing() command?

Author
Message
HAL
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location:
Posted: 5th Nov 2002 01:08
subject.
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 5th Nov 2002 01:56
yup I did a test with most of the music commands except a CDrom music file so far, from memory it was in patch 2.4

indi is part of Team Lunarpixel
multimedia logisitics and interactive media
HAL
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location:
Posted: 5th Nov 2002 02:22
yay.. indi! good to see you.
can i get patch 2.4, does it work with demo?
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 5th Nov 2002 03:40
hi HAL, you can get patch2 full to try i guess if u have the demo.


Here is the source I used to test most of the commands by making mini function wrappers around them.

I based my game using functions so its easier to manage the scope of things.

heres the source at one stage when I hadnt fully completed the 3d sound tests

u may need to make some sounds 60% to be audible
Try this in your current version
u will need media of your own and a mono wav for the 3d sound and a small mp3 file






indi is part of Team Lunarpixel
multimedia logisitics and interactive media
HAL
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location:
Posted: 6th Nov 2002 00:00
thanks indi, that looks like exactly what i need to test it, but demo just ran out.. its ok tho, i plan on a reboot.
i need that command to work but i might have been doing something wrong.
ps starting to like functions, keep reading your tut on them.
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 6th Nov 2002 00:26
hehe i forgot about that tute. lol

indi is part of Team Lunarpixel
multimedia logisitics and interactive media
HAL
21
Years of Service
User Offline
Joined: 28th Aug 2002
Location:
Posted: 10th Nov 2002 23:28
thanks for the code indi, its helped but i'm still not sure the 'music playing' command works properly, i've changed your code a bit to show what i mean. when the mp3 finshes playing the playing../paused.. texts sould not be able to change. i'm starting to think that the command works off weather or not the music is loaded in memory and can be only unloaded using the 'stop music' or other commands, if so how can i play one mp3 after another with out over lapping, any ideas?

Login to post a reply

Server time is: 2024-03-28 12:56:50
Your offset time is: 2024-03-28 12:56:50