Crystal clean PCM 8bit samples on the poor PSG (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 43 guests and 0 MSX friends online

You are an anonymous user.
 

MSX Forum


MSX Forum

Development - Crystal clean PCM 8bit samples on the poor PSG

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 Next Page )
Author

Crystal clean PCM 8bit samples on the poor PSG

AuroraMSX

msx master
Posts: 1249
Posted: January 26 2006, 10:05   
Quote:

But it would sound very good Almost like an Ipod. Only a bit heavier to carry arround.


Especially since you need 2 MSXs to be able play stereo
NYYRIKKI
msx master
Posts: 1511
Posted: January 26 2006, 10:32   
Quote:


The only unsolved problem is to find the initial state of the PSG
that in any case becomes irrelevant in 6-8 steps!!



Ok, I've been lost few months ago, but maybe you can get something out of this idea: Take few bytes from start of the sample. Make them negative and turn the sample around (first byte is last byte) Now use your algorithm to this new sample and use result as initial state.

Edit: Hmm... works only if sample is starts from 0-level. Not very usefull, eh...

ARTRAG
msx master
Posts: 1686
Posted: January 26 2006, 15:49   
I have found that my pcmenc implementation in matlab needs 42Mb of
free ram on my PC to optimize an input wav of about 6000 samples....

A wav file of 50 sec @44KHz would require the RAM of a NASA supercomputer!!!


Maybe before any public release of the encoder, the next setp should be
to move to Truncated Viterbi optimization.

ARTRAG
msx master
Posts: 1686
Posted: February 03 2006, 20:44   
To whom is interested in Viterbi optimization

http://www.brianjoseph.com/viterbi/workshop.htm

(you need Java)
EVPON
msx lover
Posts: 107
Posted: January 24 2007, 11:39   
First of all sorry if I ask a madness, I can only code in Basic.
It would be possible to use this PSG samples under Basic? Do
you plan make a Basic routine? I would like use PSG samples
with my Basic programs but only little samples for effects non for
run big samples of music. Long time ago I played Samurai
King Megazone of Compile (Megaz Monkey Do on the MSX
Generation). This game uses a lot of PSG samples for effects
and the game atmosphere is better. The game is made in Basic.

ARTRAG
msx master
Posts: 1686
Posted: January 24 2007, 12:14   
Well, everything can be done, but you need
1) a megarom for storing the samples
2) devolop a small interface for calling the code from basic and selecting the samples

As an option, on a 128Kram msx2, you could use 96K ram but this needs even more
devlopment to adapt the replayer to work with ram
EVPON
msx lover
Posts: 107
Posted: January 25 2007, 11:19   
Thank you for your answer. The Compile game, I commented yesterday,
works from disk and is made in Basic, is not a megarom. How Compile
made it? Storing in RAM of course... Basically my question was to know if you will plan make this small interface. it is not so easy I think...
ARTRAG
msx master
Posts: 1686
Posted: February 15 2007, 15:24   
No plans sorry.
BTW compile used a very draft compression (1bit/sample) so they do not have the storage problems you gat with pcmenc (that is aimed to high quality)
ARTRAG
msx master
Posts: 1686
Posted: February 16 2007, 21:20   
some samples:

before... (11KHz 8bit/sample)

http://ragozini.googlepages.com/handel3.wav


after (11KHz a lot of bits/sample)

http://ragozini.googlepages.com/LARGE16.ROM


manuel
msx guru
Posts: 3451
Posted: February 16 2007, 22:04   
ROCKZ I can't wait to try this in a MegaFlashROM!
Huey
msx professional
Posts: 586
Posted: February 16 2007, 22:57   
Awesome quality.
Been playing it at work just to annoy my colleages
dvik
msx master
Posts: 1312
Posted: February 16 2007, 23:09   
Yes it sounds very good ARTRAG, have you've been thinking on that non-fixed channel update viterbi, the one that picks the best channel at each update?
Vampier
msx addict
Posts: 496
Posted: February 17 2007, 06:58   
wow... even c-bios does it pretty good
ARTRAG
msx master
Posts: 1686
Posted: February 17 2007, 16:07   
@dvik
yes, but my spare time is for another project ATM.
I will go back on that issue as soon as I will be free.

dvik
msx master
Posts: 1312
Posted: February 17 2007, 19:50   
No rush ARTRAG. It will be interesting to hear if it can be even better. The results with the current encoder is quite amazing already.
 
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 Next Page )
 







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