flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Project SuperMP3

Goto page Previous  1, 2, 3, 4  Next
Author
Thread Post new topic Reply to topic
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 19 Aug 2005, 15:34
You can't put much music into 5956bytes:
When 45 frames was rounded to 1 second, then 14 can't be more than 608ms. I haven't read much about frames yet but roughly 38.5 frames will yield about 1 second, so 14 frames is only 364ms which can securely be rounded to 0 seconds which both Winamp and Supermp3 do fine.
Post 19 Aug 2005, 15:34
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest 19 Aug 2005, 17:04
Post 19 Aug 2005, 17:04
View user's profile Send private message Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest 19 Aug 2005, 17:10
>what has happened with my quantity of posts?

I found that my theme "Bug in kernel.asm" was deleted...
Post 19 Aug 2005, 17:10
View user's profile Send private message Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 312
Ville 20 Aug 2005, 07:36
Server is getting full, so many of the old posts with include files were deleted.

Sources at http://www.co.jyu.fi/~villemt/source
Post 20 Aug 2005, 07:36
View user's profile Send private message Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest 20 Aug 2005, 11:17
@VT
Thanks for the info, but you can post appropriate post before deleting topics...
Post 20 Aug 2005, 11:17
View user's profile Send private message Reply with quote
UCM



Joined: 25 Feb 2005
Posts: 285
Location: Canada
UCM 20 Aug 2005, 15:57
That would make the server even more full. Wink

_________________
This calls for... Ultra CRUNCHY Man!
Ta da!! *crunch*
Post 20 Aug 2005, 15:57
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 20 Aug 2005, 19:12
I don't know anywhere else to post so:
Code:
;line473:
.path:
  db "/RD/1/TEST.MP3",0
  rb 256-($-.path) ; This way it always remains 256 bytes
    


btw,
Code:
;But since it is f*cking "little endian" platform, we got:
;54h 74h F3h FFh.
    

save some sleepless nights and use
Code:
BSWAP:
Reverses the byte order of a 32-bit (destination) register: bits 0 through 7
are swapped with bits 24 through 31, and bits 8 through 15 are swapped
with bits 16 through 23. This instruction is provided for converting little-
endian values to big-endian format and vice versa.

2 bytes, 1 NP clock
-OR-
1µop in port 0 and 1 in either 0 or 1
    
Post 20 Aug 2005, 19:12
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest 21 Aug 2005, 14:10
Madis, I know about bswap trick. I wrote "f*cking "little endian" platform" when after 3 hours of coding I understood what my code don't work, because my brain think in normal way - first byte of file must be first in register too, but not last Smile
I got new version from Alexei - go to try her...
Post 21 Aug 2005, 14:10
View user's profile Send private message Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest 21 Aug 2005, 19:03
I check his version - there is some good thing (Russian tags now readable) and bad thing - search of first header not always work properly. Anyway I don't have time until October - so I think Alexei or Madis can became new project leader until that date...
Post 21 Aug 2005, 19:03
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 21 Aug 2005, 19:43
Are the new sources w/ new executable uploaded
or should I e-mail someone (Alexei) to get the files?
Post 21 Aug 2005, 19:43
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest 21 Aug 2005, 20:07
You can e-mail to Alexei - his e-mail in readme.txt. Well, I recommend to make all versions available - for more deep testing...
Post 21 Aug 2005, 20:07
View user's profile Send private message Reply with quote
ealex



Joined: 21 Aug 2005
Posts: 4
Location: Moldova
ealex 22 Aug 2005, 11:11
Version 0.61 is here:
http://e-al.narod.ru/supermp3.htm
Post 22 Aug 2005, 11:11
View user's profile Send private message Reply with quote
Wildwest



Joined: 13 Sep 2004
Posts: 100
Location: Russia
Wildwest 22 Aug 2005, 14:48
Well, here is my conversation with Madis

Madis Kalme пишет:

> Hi,
> Would you please send me the latest version of the SuperMP3
> source. I will try to look into it and maybe improve it if I can.
> Tell me what are your plans so we won't develop on the same
> things Smile
> Thank you
> Madis
>
> .
>
Hi! It seems like I gave leadership to Alexei. His page about SuperMP3 is here
http://e-al.narod.ru/supermp3.htm
and source
http://e-al.narod.ru/smp061.rar
He is working on skiping id3v2 and riff headers.
I have really heavy time now - so I cannot parcipate until October.
BTW, I think that we need to wait memory manager anyway Smile
And talking about mp3 frames decoder - it would take at least 6000-7000 lines of asm. So I think that I don't miss my part of work much Smile

BTW, Probably non-russians don't know about opening of http://meos.ru
Post 22 Aug 2005, 14:48
View user's profile Send private message Reply with quote
Captnoord



Joined: 23 Aug 2005
Posts: 1
Captnoord 23 Aug 2005, 14:51
Hey I'm new to this place Menuetos was brought to my intentions by a classmate of mine. Ik have medium programming skills but lack the time.
But I've read this topic with a spark.
to port c++ to asm is hard. C is a little easier. But if we do it just 1 step at the time it can be done.
http://www.mp3-tech.org/programmer/decoding.html

If we first try to make a huffman decoder in asm it wil be a start.

http://en.wikipedia.org/wiki/Huffman_coding


It is just a thought

[edit]
huffman asm
http://www.thedirks.org/pub/winnov/1999-07/wnv1decompress/huffman.asm
Post 23 Aug 2005, 14:51
View user's profile Send private message Reply with quote
ealex



Joined: 21 Aug 2005
Posts: 4
Location: Moldova
ealex 23 Aug 2005, 15:52
0.62: http://e-al.narod.ru/smp062.rar
- ID3v2 detecting
- If tag found its version is displayed

Madis731 wrote:
I looked at the MP3 PDFs and DOCs and I still can't understand how that works.

What documentation do you have?
Post 23 Aug 2005, 15:52
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 23 Aug 2005, 20:45
-MPGAUDIO.DOC
Starts with:
CODING OF MOVING PICTURES AND ASSOCIATED AUDIO
FOR DIGITAL STORAGE MEDIA AT UP TO ABOUT 1.5 MBIT/s
-ANNX_AB.DOC
-ANNX_C.DOC
-ANNX_D.DOC
-ANNX_EFG.DOC
about 1.1 MB

huffman decoder we have, but it doesn't magically solve everything Wink well...step-by-step is a good suggestion Very Happy
Post 23 Aug 2005, 20:45
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
ealex



Joined: 21 Aug 2005
Posts: 4
Location: Moldova
ealex 25 Aug 2005, 07:59
You can also read Digital Audio Compression by Davis Yen Pan

BTW, are you working on Copyrighted, Original, Emphasis fields?
Post 25 Aug 2005, 07:59
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 25 Aug 2005, 08:21
I read through the code few days before - I'm digesting it and I will post you some testcode about these fields. Leave
-Copyrighted
-Original
-Emphasis
to me Wink
I don't know if it is only outside Russia, but *.ru sites only give me 512bytes/sec - exactly Neutral
EDIT: The pdf file seems damaged (or maybe it times out before it downloads)
Post 25 Aug 2005, 08:21
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
profkid13



Joined: 21 Aug 2003
Posts: 111
profkid13 26 Aug 2005, 09:39
Post 26 Aug 2005, 09:39
View user's profile Send private message Reply with quote
ealex



Joined: 21 Aug 2005
Posts: 4
Location: Moldova
ealex 29 Aug 2005, 18:29
Madis731 wrote:
The pdf file seems damaged (or maybe it times out before it downloads)
I've sent it to your e-mail.

SuperMP3 0.64
- Xing header reading
- Quantity of frames, time and bitrate for VBR files are calculated
Post 29 Aug 2005, 18:29
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.