Search the web
Sign In
New User? Sign Up
delphigames · Discussion of game programming in the Delphi development environment.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Including music (mp3, ogg) in games   Message List  
Reply | Forward Message #7493 of 7611 |
RE: [DelphiGames] Including music (mp3, ogg) in games

I have just uploaded a simple test program that plays mp3 tunes and wav
effects using Bass (http://www.un4seen.com/). You will find it in the
groups files section, it is a zip file called "Bass Sound Test.zip".

Ian

________________________________

From: delphigames@yahoogroups.com [mailto:delphigames@yahoogroups.com]
On Behalf Of ai_no_kareshi
Sent: Wednesday, July 18, 2007 8:55 AM
To: delphigames@yahoogroups.com
Subject: [DelphiGames] Including music (mp3, ogg) in games



Hi. I am new to the world of DirectX, and have only been experimenting
with a nifty component set I downloaded somewhere which vastly
simplifies tasks with DirectDraw, sprites and such. However, I intend
to venture deeper into this field soon.

One vital thing that has occurred to me is that the components I use
do not allow mp3 or ogg playback. Every game needs background music,
and as such, I was hoping to learn how to play mp3 and/or ogg files
through DirectX. Most of the guides online are demonstrated in C,
which I know nothing about. Could someone please help me?





This email is intended solely for the person to whom it is addressed and may
contain confidential or legally privileged information. If you are not the
intended recipient, be advised that you have received this email in error and
that any use, dissemination, forwarding, printing or copying of this email is
strictly prohibited. Please notify the author by replying to this email and
destroying all copies of the email and attachments. Access to this email by
anyone else is unauthorised.

Email may be susceptible to data corruption, interception, unauthorised
amendment, viruses and delays or the consequences thereof. Any views or opinions
presented are solely those of the author and do not necessarily represent those
of Grosvenor Technology Ltd.

Grosvenor Technology Ltd. (incorp. Newmark Technology Ltd.) is a company
registered in England with company number 2412554.
The Grosvenor Technology Ltd. Registered Office address is Millars Three,
Southmill Road, Bishop's Stortford, Herts, CM23


[Non-text portions of this message have been removed]




Thu Jul 19, 2007 10:18 am

ianathome12345
Offline Offline
Send Email Send Email

Forward
Message #7493 of 7611 |
Expand Messages Author Sort by Date

Hi. I am new to the world of DirectX, and have only been experimenting with a nifty component set I downloaded somewhere which vastly simplifies tasks with...
ai_no_kareshi
Offline Send Email
Jul 18, 2007
7:54 am

Take a look at FMOD (http://www.fmod.org/). It is free to use for freeware and is very easy to get things working. There are even Delphi interfaces with it. ...
Steve Williams
slygamer
Offline Send Email
Jul 18, 2007
7:59 am

I agree with Steve, FMOD is very good. I've used it many times to play mp3 tunes in my games. If you need some sample code to get you going I can post some. ...
Ian Munro
ianathome12345
Offline Send Email
Jul 18, 2007
8:13 am

Thank you. And please. Some sample code would be *much* appreciated. I have very limited experience in using things like these in Delphi. ... and may contain...
ai_no_kareshi
Offline Send Email
Jul 20, 2007
6:17 am

There should be some sample Delphi code in the FMOD distribution. ... This message and its attachments may contain legally privileged or confidential...
Steve Williams
slygamer
Offline Send Email
Jul 20, 2007
6:33 am

Could I ask that you please offer me some guidance as to what/which file(s) to download from the FMOD site? I've been staring at the downloads section and I'm...
ai_no_kareshi
Offline Send Email
Jul 20, 2007
6:41 am

Hello, Assuming you are running Windows (32bit) I would recommend you download version 4.06.22 (stable release) 22nd June 2007 ...
Ian Munro
ianathome12345
Offline Send Email
Jul 20, 2007
8:04 am

No, you are right. I think I'll go for the BASS solution. Thank you for providing me with this option as well, though. ... and may contain confidential or...
ai_no_kareshi
Offline Send Email
Jul 20, 2007
8:12 am

Hello, Due to an unnaturally low level of coffee in my blood stream I thought that my games used FMOD when I actually meant BASS. I have used FMOD but couldn't...
Ian Munro
ianathome12345
Offline Send Email
Jul 20, 2007
8:09 am

Indeed, we programmers need our coffee. I am sorry to hear about the recent lack of activity in this group. I'll try to come by as often as possible; after...
ai_no_kareshi
Offline Send Email
Jul 20, 2007
8:29 am

If you want to know how play MP3 wih DirectX with Delphi, you can visit my website http://juhara.com/article-4-multimedia-player-with-directshow-part-1.html ...
Zamrony P Juhara
zzz_is_cool
Offline Send Email
Jul 19, 2007
6:43 am

I have just uploaded a simple test program that plays mp3 tunes and wav effects using Bass (http://www.un4seen.com/). You will find it in the groups files...
Ian Munro
ianathome12345
Offline Send Email
Jul 19, 2007
10:18 am

Thank you for the response. I have downloaded and looked at your example. At the risk of revealing my ignorance on the subject, how do I obtain the Bass.dcu or...
ai_no_kareshi
Offline Send Email
Jul 20, 2007
6:13 am

Hello, If you download the latest Bass package from here http://uk.un4seen.com/files/bass23.zip you will find the bass.dll and bass.pas file in the Delphi...
Ian Munro
ianathome12345
Offline Send Email
Jul 20, 2007
7:51 am

Thank you so much for your help. This looks like it's exactly what I've been looking for! I am especially delighted to learn that it supports OGG files, as...
ai_no_kareshi
Offline Send Email
Jul 20, 2007
8:05 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help