PCM player using SCC (Development MSX Forum)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!              
              
English Nederlands Español Português Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 123 guests and 1 MSX friend online

You are an anonymous user.
 

MSX Forum


MSX Forum

Development - PCM player using SCC

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 Next Page )
Author

PCM player using SCC

manuel
msx guru
Posts: 3368
Posted: October 29 2007, 22:36   
Note: OPF is MSX-DOS2 compatible. Really!
ARTRAG
msx master
Posts: 1587
Posted: October 29 2007, 22:46   
yes, but only after you do
"set expert on"

I didn't know till tonight
NYYRIKKI
msx master
Posts: 1500
Posted: October 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
Posts: 3368
Posted: October 30 2007, 11:15   
COMMAND 2.41 ROCKS!!
ARTRAG
msx master
Posts: 1587
Posted: October 30 2007, 12:33   
@dvick, news on the analysis of the samples ?
ARTRAG
msx master
Posts: 1587
Posted: October 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
Posts: 1302
Posted: October 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
Posts: 1587
Posted: October 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
Posts: 1302
Posted: October 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
Posts: 1302
Posted: October 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
Posts: 1587
Posted: November 10 2007, 16:25   
I've sampled the files and sent them.
let me know
ARTRAG
msx master
Posts: 1587
Posted: November 11 2007, 11:07   
if you had the original wav files
i could guess to compare them
dvik
msx master
Posts: 1302
Posted: November 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
Posts: 1587
Posted: November 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
Posts: 1587
Posted: November 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)
 
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 Next Page )
 







(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.