AY codec ?

This forum is about audio tools, including samplers, sound trackers, sound chip editors, how to do sound effects, etc...
Post Reply
mmu_man
Flying Officer
Posts: 215
Joined: Thu Sep 21, 2006 7:45 pm
Location: 26000 Valence, FRANCE
Contact:

AY codec ?

Post by mmu_man » Wed Oct 11, 2006 11:05 pm

I'm wondering if there is any AY codec around, that would create AY register dump files from raw audio.
I know there are some apps that play 4/5 bits PCM, but I think it could be possible to do things differently, with a codec similar to mp3 encoders...
It would FFT the signal, select the 3 biggest freqs (it's basically the job of an mp3 encoder to select the best frequencies) and the corresponding enveloppes and produce the closest register data flow. It would also likely be less intensive for playback.
But I'm not sure the result would be good enough.
Maybe I should have a try at hacking this in ffmpeg (along with a SID codec, that's quite similar). But I'm too tired atm.

mmu_man
Flying Officer
Posts: 215
Joined: Thu Sep 21, 2006 7:45 pm
Location: 26000 Valence, FRANCE
Contact:

Post by mmu_man » Thu Oct 12, 2006 9:12 am

Actually I reread the AY page on wikipedia and it mentions a "viterbi" encoder to generate PSG files (for MSX but maybe ORIC could play them too if it's not too cpu-intensive).

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests