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   |
|
|
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   |
|
|
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.
|
|
|
|
|