This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12435 - ZX Spectrum .tap codec
Attached to Project:
Rockbox
Opened by George Manolaros (gmanol) - Friday, 09 December 2011, 15:34 GMT+2
Opened by George Manolaros (gmanol) - Friday, 09 December 2011, 15:34 GMT+2
|
DetailsThis patch adds a new codec that playbacks ZX Spectrum .tap files. Created against trunk (revision 31187)
|
This task depends upon
Edit: You should also insert AFMT_TAP after AFMT_KSS to avoid breaking older skins which depend on the codec order.
Edit: Btw, I downloaded 2 samples (see the attached files) and the result does not sound as intended. Can you please check?
@fg : I tried them all. Square, trapezoid, triangle and sine waves. Sine waves works best, trapezoid comes second then triangle and final square waves. Spectrum bit detection is triggered on the pulse edge, not level. My guess is that if the edge is very "steep" or very "flat", it might miss it. Square waves never worked for sansa clip+, it worked only with the simulator and only at 100% volume.
I created a new patch. Now floating point calculations are optional. When enabled, the codec prints out the precalculated tables code that can be copied directly into the source.