On Tue, 10 Jul 2012, Lisias wrote:
> 32 bits.
Guess it should be library problem then. Perhaps redirection of
stdin/stdout, perhaps not, but should be easy to catch.
> I agree, but so something else should matters ( me included! :-P ).
Could you please drop me an email so we look into it? You'd get to test
the newer version that has rectangular waveform output and print options.
> I converted M.AIR using "my" eldplay and compared with the one I downloaded
> from
http://softjunk.org/sw/apple2/eld/.
>
> Well, my one uses 24 Megabytes, while yours, just 2M. It's funny, but I just
> though on doing this now. =]
Perfectly normal, since the website has MP3 files for bandwidth reasons.
They have misleading ".wav" in the middle of the name, but that's because
of batch conversion of:
M.xxx -> M.xxx.wav -> M.xxx.wav.mp3
Things done in a hurry.
> Perhaps we're dealing with some endianess problem? Your machine is i386?
Yes, i386. Talking about portability, I think:
- at least excite() is not 64-bit safe (the shift constant)
- it won't work on big-endian, because PCM data in WAV needs to be LE
- it should be alignment safe (no misaligned data accesses)
It is just a small toy program. I cheated shamelessly even on the WAV
header. :-)