Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;******************************************************************************
  2. ; project name:    SuperMP3                                                    
  3. ; target platform: MenuetOS, x86 (IA-32), x86-64 achitectures          
  4. ; compiler:        flat assembler 1.64                                        
  5. ; version:         0.65
  6. ; last update:     5th September 2005                                          
  7. ; maintained by:   Sergey Kuzmin aka Wildwest                                
  8. ; e-mail:          kuzmin_serg@list.ru                                        
  9. ;******************************************************************************
  10. ; Summary:                                                                    
  11. ; initial reader for mp3's headers
  12. ; can read mostly needed parts from headers of almost all mp3 files
  13. ; can be used in tag editor, mp3 player or converter later
  14. ; License:  GPL & LGPL
  15. ;******************************************************************************
  16.  
  17. ;--------------------------------------------------------------------------------------
  18. ;HISTORY:
  19.  
  20. ;0.7:       MP3INFO                                            23/09/2018
  21.             Sergey Efremenkov aka theonlymirage
  22.             adopted app to use system f70 instead of old f58
  23.             Kiril Lipatov aka Leency make app to open with param, small UI update
  24.  
  25. ;0.65:      SuperMP3
  26.             Madis Kalme rewrited extract_bits (he used his Extracteax macro)
  27.             and decode_bitrate functions
  28.  
  29. ;0.64:      Xing header reading: correct time, bitrate and number of
  30.             frames for VBR files       
  31. ;0.62:      ID3v2 detecting and writing its version
  32. ;0.61:      Header search
  33. ;           Added 'Header found at' field
  34. ;           If file has no frames, error message is shown
  35. ;           Russian tag support (in windows-1251 encoding)
  36. ;          
  37. ;0.6:       SuperMP3 (not finished and its future in the dark)   19/08/2005
  38. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  39. ;Additions: Alexei Ershov aka ealex <e-al@yandex.ru>
  40. ;Features:  added checking of CRC bit;
  41. ;           improved frame_size calculation (thanks to Alexei Ershov for the formula)
  42. ;           added ID3v1 tag reading (except Genre field) by Alexei Ershov
  43. ;--------------------------------------------------------------------------------------
  44. ;0.5:       SuperMP3                                             17/08/2005
  45. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  46. ;Additions: Alexei Ershov aka ealex <e-al@yandex.ru>
  47. ;Features:  added checking of Padding bit;
  48. ;           Added open dialog and optimized macroses Text, Number, DrawLine by Alexei Ershov
  49. ;--------------------------------------------------------------------------------------
  50. ;0.4:       SuperMP3                                             05/08/2005
  51. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>
  52. ;Additions: Alexei Ershov aka ealex <e-al@yandex.ru>
  53. ;Features:  added Frame_size and Quantity_of_Frames;
  54. ;           optimized decode_samplerate and decode_bitrate routines by Alexei Ershov
  55. ;--------------------------------------------------------------------------------------
  56. ;0.3:       SuperMP3                                             25/04/2005            
  57. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>                                    
  58. ;Features:  added File_size and Duration (rough estimation), improved SampleRate, fixed BitRate
  59. ;--------------------------------------------------------------------------------------      
  60. ;0.2:       SuperMP3                                             21/04/2005            
  61. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>                                    
  62. ;Features:  added SampleRate and BitRate
  63. ;--------------------------------------------------------------------------------------
  64. ;0.1:       SuperMP3                                             20/04/2005            
  65. ;Author:    Sergey Kuzmin aka Wildwest <kuzmin_serg@list.ru>                                    
  66. ;Features:  able to detect MPEG Version, Layer, Channels
  67. ;----------------------------------------------------------------------------------------  
  68. ;Issues:  
  69. ; MP3 player needs work of several men during several months(approx. 10 men and 2-4 months, because it is ASM OS).
  70. ; If you want to listen a lot of mp3 in MenuetOS - make a bit of asm!        
  71. ;-----------------------------------------------------------------------------
  72. ;CLEAN mp3 - is mp3 file without any info before header. Open mp3 in HEX EDITOR and check it out.
  73.  
  74. ;Usually normal header's start looks like FFF3 or FFFB.
  75.  
  76. ;If you see TAG (4944 3303 = ID3.) or RIFF (5249 4646 = RIFF)
  77. ;or (0000 0000 - encoded by Lame codec or another shitty program) - it is bad,
  78. ;you must delete this piece until FFFx before testing. Happy testing!
  79.  
  80. ;Note - I test it only on several files (test.mp3
  81. ;included in this package) in Bochs and Qemu.
  82. ;For testing change name if the end of "supermp3.asm" - section
  83.  fileinfo:
  84.   dd 0, 0, 1, mp3_file, 0x1000
  85.   db "/RD/1/TEST.MP3",0
  86.  
  87. Package content:
  88. readme.txt - this file
  89. supermp3 - compiled exacutable file
  90. supermp3.asm - main file - build program's GUI
  91. MACROS.INC  - standard file with macroses
  92. MOS_UZIT.INC - macroses for interface, routines for extracting bits and decoding extracted bits
  93. ASCL.INC - macroses for interface and useful stuff
  94. test.mp3 - test file
  95.  
  96. Any comments by e-mail or on forums (http://meos.sysbin.com, http://forum.meos.ru, http://menuetos.fastbb.ru,
  97. http://menuet.2.forumer.com, http://board.flatassembler.net/forum.php?f=12) are appreciated.