|
-
Sep 2nd, 2001, 09:07 AM
#1
Thread Starter
Good Ol' Platypus
Sound data in MP3
What do you do with the sound data you gather from an MP3? I've got the sound data, but the file format refrence doesnt tell you what do do with it afterwards. Any pointers?
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 2nd, 2001, 05:00 PM
#2
Monday Morning Lunatic
Look up wave buffers in MSDN 
Alternatively. DirectSound could be used to play a buffer of sound data.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 3rd, 2001, 09:23 AM
#3
Thread Starter
Good Ol' Platypus
Both of those are true but I didnt find Wave Buffers, only the overview of it, and I'm confused now >=(.
I tried playing it with DSound (8) and I have a problem - byte frames in my MP3 are 388 bytes/frame, and I have no idea how many frames are in a second. (my song is exactly 1:20 and I have upwards of 10 000 frames or so)
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 3rd, 2001, 01:19 PM
#4
Frenzied Member
May i ask where you found the info about decoding mp3's? since i'm pretty interested in how it works
-
Sep 3rd, 2001, 07:32 PM
#5
Thread Starter
Good Ol' Platypus
Sure I'd be happy to show you - http://www.wotsit.org. Go to the music section and download the mpeg header zip file. Its the good one. Though I think the bitrate chart's a bit screwed up, as with a 128 bit-rate MP3 I got 64 bits. I'm still trying to find out how to play them...
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 4th, 2001, 02:16 AM
#6
Frenzied Member
-
Sep 4th, 2001, 05:29 AM
#7
Frenzied Member
Very very thnx,
Got also any address for decoding info on the frames itself?
-
Sep 4th, 2001, 03:39 PM
#8
Thread Starter
Good Ol' Platypus
Hmm lets say if I did this thread wouldnt be here
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 5th, 2001, 02:09 AM
#9
-
Sep 5th, 2001, 03:50 PM
#10
Thread Starter
Good Ol' Platypus
I'm trying at the moment to put it in a DSound8 buffer (secondary) and playing it from there. I've come to the conclusion that I need to know how many frames are in a second, then I can see if my method works.
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 5th, 2001, 03:51 PM
#11
Thread Starter
Good Ol' Platypus
Oh and I was thinking about your 64 bits/channel... I would never have thought about it that way, yes that's the way it works. if you want I can give you some bitshift functions that are very useful in a situation like this
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 5th, 2001, 04:03 PM
#12
Frenzied Member
Mmh.. the frames are still encoded. If you 'decompress' 'm you presumably get a number of frames more and uhh.. well.. *scratches head* AMP(tm) MP3 Plug works great ya know
-
Sep 5th, 2001, 04:05 PM
#13
Frenzied Member
Using the AMP Lite-OCX at the moment but its a 60day trial. so I'm pretty interested in creating a very simple mp3 playing module.
So yeah, Bitshift procedures would be very nice.. 
(anything else that's useful is greatly appreciated too)
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
|