MP3 player for MSX (Hardware Foros MSX)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!           
                       
English Nederlands Español Português Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 118 invitados y 0 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Hardware - MP3 player for MSX

Ir a la página ( Página anterior 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 Siguiente página )
Autor

MP3 player for MSX

Sd-Snatcher
msx freak
Mensajes: 228
Publicado: Mayo 23 2007, 12:47   
I have it, this evening ill try it.
DD
msx user
Mensajes: 44
Publicado: Mayo 23 2007, 14:14   
Good to hear they are arrived!
doraemonppc
msx lover
Mensajes: 85
Publicado: Mayo 23 2007, 17:51   
Yobi, did you ship mine?
Thanks for that dream coming true!
Yobi
msx lover
Mensajes: 90
Publicado: Mayo 23 2007, 18:03   
What's you name?
doraemonppc
msx lover
Mensajes: 85
Publicado: Mayo 23 2007, 18:22   
Carles Bernardez
Sd-Snatcher
msx freak
Mensajes: 228
Publicado: Mayo 23 2007, 18:25   
It sounds awesome!!!!!


VBR 128-160-190-320
Sd-Snatcher
msx freak
Mensajes: 228
Publicado: Mayo 23 2007, 18:47   
Prodatron
msx master
Mensajes: 1088
Publicado: Mayo 23 2007, 20:25   
SymAmp already makes some music But there are a lot of plops, and it seems, that it skips parts. I guess I currently have problems with the ATMega buffer synchronisation. Hope I can fix it later tonight. As I don't use the interrupt methode, I have to test one Bit of the status register, maybe here is something wrong.
Regarding the CPU usage, it seems, that we really keep about 25% for 128kbit MP3s, that's very nice!
Yobi
msx lover
Mensajes: 90
Publicado: Mayo 23 2007, 22:03   
Carles, i did send it last Monday.


Prodatron, for ATMega details you can contact Dennis.
doraemonppc
msx lover
Mensajes: 85
Publicado: Mayo 23 2007, 22:13   
Thanks Yobi
DD
msx user
Mensajes: 44
Publicado: Mayo 24 2007, 09:22   
The default bufferlevel is set to 2, try 8 or so if you are sending small packages by entering:

OUT &H23,&H40
OUT &H22,&H08
OUT &H22,&H00
OUT &H23,&HC1
Prodatron
msx master
Mensajes: 1088
Publicado: Mayo 24 2007, 17:10   
@DD: Thanx for the hint, that should be the same how I already do it.

This is my current code for initialising the MP3 decoder.
As I always want to send 2KB data blocks to the decoder, I set the buffer warning level to 1536 (=6*256).
Do you see some bugs here?

m3mreg  ds 4

;### M3MINI -> Initialise the MP3 hardware
;### Output     CF=0 ok, CF=1 error, hardware not detected
m3mres  xor a
        out (#22),a     ;reset mp3 decoder
        ld b,a
m3mres1 djnz m3mres1
        ld a,#00        ;read MP3 register 0+1
        out (#23),a
        call m3mwai
        ld hl,m3mreg
        ld bc,#422
        push bc
        push hl
        inir
        pop hl
        res 6,(hl)      ;no interrupts
        ld a,(m3mreg+2)
        and #f0
        or 6            ;warn, if buffer is lower than 1536 bytes (= 3.5KB - 2KB)
        ld (m3mreg+2),a
        ld a,#40        ;write MP3 register 0+1
        out (#23),a
        pop bc
        call m3mwai
        otir            ;write to ATM
        ld a,#c0
        out (#23),a     ;write to MP3 encoder
        call m3mwai
        ld a,#00        ;go to audio mode
        out (#23),a
        or a            ;**currently no detection implemented**
        ret

m3mwai  in a,(#23)
        and 16
        jr nz,m3mwai
        ret


Btw, I wonder, why you do OUT &H23,&HC1
Shouldn't it be #c0? (as you want to write back register 0)
DD
msx user
Mensajes: 44
Publicado: Mayo 24 2007, 21:19   
When writing &HC1, you only update MP3 register 1. With the 4 OUT's in my previous post register 0 is not written.

I don't see any problems in your init routine, but try to give it more time to initialize after OUT &H22,0. In PLAYINFO you can see that OUT &H22,0 is given in the basic program, after this OUT the AtMega begins to upload the spectrum program to the VS1011, this takes time. To see if this really is the the problem you can give the OUT &H22,0 in basic or the assembler and execute your progam.

For these MP3 related functions (OUT &H22 and &H23) you can simulate a (hard)reset with OUT &H21,0.

Another way to check the buffer warning level is to read it back:

OUT &H23,&H01
? INP(&H22) 'Should be the number you entered
? INP(&H22)
spl
msx professional
Mensajes: 718
Publicado: Mayo 26 2007, 17:36   
Any news, Prodatron?
spl
msx professional
Mensajes: 718
Publicado: Mayo 26 2007, 19:12   
 
Ir a la página ( Página anterior 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 Siguiente página )
 







(c) 1994 - 2008 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation