PCM player using SCC (Development Foros MSX)MSX Resource Center            
                       
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 29 invitados y 1 miembro en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - PCM player using SCC

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 Siguiente página )
Autor

PCM player using SCC

manuel
msx guru
Mensajes: 3635
Publicado: Octubre 29 2007, 22:36   
Note: OPF is MSX-DOS2 compatible. Really!
ARTRAG
msx master
Mensajes: 1802
Publicado: Octubre 29 2007, 22:46   
yes, but only after you do
"set expert on"

I didn't know till tonight
NYYRIKKI
msx master
Mensajes: 1533
Publicado: Octubre 30 2007, 00:11   
@ARTRAG That might happen if you don't format your disk with MSX-DOS2... Maybe it's time to update COMMAND2.COM to 2.41
manuel
msx guru
Mensajes: 3635
Publicado: Octubre 30 2007, 11:15   
COMMAND 2.41 ROCKS!!
ARTRAG
msx master
Mensajes: 1802
Publicado: Octubre 30 2007, 12:33   
@dvick, news on the analysis of the samples ?
ARTRAG
msx master
Mensajes: 1802
Publicado: Octubre 30 2007, 18:39   
Quote:


...
Then I did a new replayer that is a one channel that resets the phase every 31.95 samples (to avoid getting out of sync) and then writes new samples in a way so they don't overlap with the played sample. The result was good (see the little demo in the post I'm soon about to make).

This one is using syncrhonized code with busy loops that are made to fit the period as well as possible, somewhat similar to the poliphase player but this one only uses one SCC channel.
...



This gives me a strange feeling about the poliphase approach,
in the poliphase the synchronization is given by VINT.

Try to follow the same steps of the replayer that worked....

Set the period of ch1 in such a way that VINT arrives every 31.95 samples
At each VINT you need to resets the phase of ch1 and then write new samples
in a way so they don't overlap with the played sample.

If the result was good above, it should be good even in this case ....
Or not ?




dvik
msx master
Mensajes: 1376
Publicado: Octubre 30 2007, 19:04   
Timing wise the two replayers are identical. Syncronizing to VINT or use a fixed length loop doesn't make a difference. Both resets the phase after 31.95 samples.

In the poliphase replayer the period is set based on VINT such that the reset happens every 31.95 samples

In the Leila K replayer I know the period and select the length of the busy loop so that the reset happens every 31.95 samples.

The only difference between the polyphase version and the Leila K replayer is that its updating four SCC channels instead of one and that the period is about 1/8 of the Leila K replayer (the latter has about 2x the sampling frequency).


Using a busy loop feels a bit more deterministic perhaps so I should try using a fixed size loop in the poliphase version and see if the result gets better. My first feeling was that the four channels may interfere with eachother, either while playing or when writing new sample data. I still hope its a timing issue that can be solved.


ARTRAG
msx master
Mensajes: 1802
Publicado: Octubre 30 2007, 19:32   
try one single channel first with one probe signal
than try two channels with two probe signals
should you need I sample for you,
send me the two roms (maybe less than 512K this time
dvik
msx master
Mensajes: 1376
Publicado: Octubre 30 2007, 19:38   
Quote:

try one single channel first with one probe signal


Isn't this what the first replayer in this thread did (before the poliphase one)? That one actually also had noise problems.

Also this is what I did with the leila k replayer. I simply added probing of ch4 and it added noise.
dvik
msx master
Mensajes: 1376
Publicado: Octubre 31 2007, 04:33   
sorry for being slow, our daughter has been a bit sick so I haven't had much time to create the test roms. But now they are ready. If you could load these and sample them it would be great. One is your triangle wave ARTRAG (but 8x the frequency) the second is my test signal as it should have been (also a triangle but called square in the zip )

http://www.bluemsx.com/demos/scctest.zip
ARTRAG
msx master
Mensajes: 1802
Publicado: Noviembre 10 2007, 16:25   
I've sampled the files and sent them.
let me know
ARTRAG
msx master
Mensajes: 1802
Publicado: Noviembre 11 2007, 11:07   
if you had the original wav files
i could guess to compare them
dvik
msx master
Mensajes: 1376
Publicado: Noviembre 11 2007, 21:00   
There are no original wav files (the data is generated with the little tool that you modified). I can try to generate real wav's from the raw data. I'm a bit busy atm but I'll do it as soon as possible.
ARTRAG
msx master
Mensajes: 1802
Publicado: Noviembre 11 2007, 21:19   
I've an RGB cable that outs separate RCA video and audio, so
I can plug the audio RCA out to my laptop mic in using a converter.
Let me know if you need other experiments.
ARTRAG
msx master
Mensajes: 1802
Publicado: Noviembre 27 2007, 13:15   
Any news ? this use of the SCC has a big potential,
dvik can i do something ?
(now I have a CF reader, a SCC flash with 512K and
an almost working TR)
 
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 Siguiente página )
 







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