[Coco] cocotape.exe project
Roger Taylor
operator at coco3.com
Mon Nov 17 22:06:12 EST 2008
Ok, some progress as of 11/17.
cocotape.exe sourcefile -o=test.wav
A test WAVE file is being created full of "silence" samples
($80). The file is loading in WinAmp okay. No issues.
A clicking sound WAVE file was also created and loads in WinAmp,
makes the pop sound okay, no issues.
8-bit, mono, 11025 hz, same as the casout.exe format which seems to
create quality tape WAVE files.
Now, the raw sample data inside of a 'casout.exe'-generated WAVE
files doesn't look at first like sine wave samples I'd expect. The
silence portions look as expected, filled with $80's, but I'm
wondering why the other samples aren't consistent.
For example, a very small portion of the very beginning of bedlam.wav
(created by casout.exe) is as follows.
This is a hex dump, 2 characters per 8-bit sample.
You would think that a digitally-generated stream of 1200hz and
2400hz sine waves would consist of the same bytes sequences for a
1200hz wave, and a 2400hz wave.
This doesn't appear to be the case with what's created from a .cas
file into a .wav file using casout.exe. The samples ARE 8-bit raw
samples, unsigned. That is, $80 represents 0 volts already. (scratching head)
A5EE8E1149B2EDF9CA7D31051351BCEC
671060C3F5F2BE6922041A64D7D74D10
7ECFFAEAAB5A17042976ECBB311E97DE
FAE199470F073894EEA51639A7E8FAD2
8938070F45AEEE7E1053BAF0F7C5742A
041659C7E758106DC7F9EEB6651B0421
69E3CB41138BD6FAE7A25214053083EE
B0252A9CE5FADB953E0C0A3CA1EE9412
45AFECF9CC803305124EB8ED6D105CC2
F4F3C16B24041962D3DB4F107ACDFAEB
AD5D18042772EBBF351A95DCFAE49B49
10063690EEA81935A4E7FAD58C3A080D
43ABEE831050B8EFF8C6772C041656C3
E95C1069C6F7F0B9661D041F67DFCF45
1287D4FAE8A55515042E7FEEB329269A
E3FADD96410D093A9DEE9A1341ACEAFA
CE833505114BB4EE721058C0F3F4C26E
2604185FCFDF521076CBF9ECB0601804
256DE9C3391694DAFAE59D4C1105348C
EEAB1D
--
Roger Taylor
http://www.wordofthedayonline.com
More information about the Coco
mailing list