|
-
Aug 27th, 2001, 08:19 AM
#1
Thread Starter
Addicted Member
Dx8 Music
I would like to know how can we "download" segment of mp3 or others files type in DirectMusic.
For the wav, mid and rmi (the supported ones) it's fearly easy to use cause all the functions are included in Dx8.
But has you know wav files are very big and mp3 files... tend to be smaller It's the reason why I want to use them.
Any idea?
Thks
-
Aug 27th, 2001, 08:43 AM
#2
PowerPoster
Some guys used to decompress their MP3s into WAV when loading the game... But there should also be better ways to do that - I wouldn't know any ATM though..
-
Aug 27th, 2001, 08:56 AM
#3
Good Ol' Platypus
Search for a "LAME ActiveX control", it's an MP3 encoder that can be used with VB. Not sure if it has a decoder as well, if it does you can decompress mp3s into wavs with that. Though if you do that I suggest streaming.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Aug 27th, 2001, 12:15 PM
#4
Frenzied Member
You could also have the MP3 in the package that people download, and have the Setup program decode them into WAV when the game is installed
-
Aug 30th, 2001, 07:47 PM
#5
Thread Starter
Addicted Member
Mp3
In the worst case I would have done what you told me, I didn't want to do that because wav is too big :/ (50 megs or more per sound I wish to use)
I wasn't able to load mp3 in DirectX 8 
but I was able to achive a decent result using the Active Movie Control, with it you can load any type of mpeg files.
-
Aug 30th, 2001, 09:16 PM
#6
Frenzied Member
There was a thread on that a while ago, and we came to the conclusion that that was the best way
-
Sep 1st, 2001, 01:16 AM
#7
Junior Member
Frodo, the C64 emulator does the same thing as Zsnes. It uses DirectX to emulate the sound by filling a buffer and it's open source, written in Visual C++, so maybe you could have a look at it instead.
-
Sep 1st, 2001, 10:09 AM
#8
Good Ol' Platypus
Just create a function to extract the data into from an MP3 into a sound buffer! It'd be easy, I've played an MP3 with sndPlaySound (not very well mind you, but it worked) with a home-made function. You can get specs for the MP3 file format (as well as ID3v1 and v2) at http://www.wotsit.org/
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Sep 1st, 2001, 11:21 AM
#9
Thread Starter
Addicted Member
-
Sep 1st, 2001, 06:05 PM
#10
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|